Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disable webmail for account main username / password

Discussion in 'E-mail Discussion' started by jsmcm, Jun 28, 2012.

  1. jsmcm

    jsmcm Member

    Nov 15, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    I had a spammer register for hosting on my site and he used the main accounts username / password to log into webmail to send some spam.

    He did not create any emails through cpanel, he just used the account login.

    Is there anyway to disable people from using webmail with the account login? I do have "Mail authentication via domain owner password [?]" set to off, but that seems to do nothing for webmail?


  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello John,

    You could do the following for that account. First of all, do the following in WHM > Packages > Feature Manager, select the disabled list there (if it does not exist, in root SSH go to /var/cpanel/features and create the file disabled).

    In that disabled feature list, select Default Address Manager and uncheck it, then click "Save"

    The Default Address option will no longer appear in cPanel on accounts. Additionally, the default email address will not show up in cPanel > Email Accounts area.

    After that, go to cPanel > Account Level Filtering and setup a filter that if it goes to (where username is the cPanel username and is the server's hostname) it will discard (go to /dev/null).

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice