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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

disable main email account

Discussion in 'E-mail Discussions' started by cyberspirit, Nov 25, 2003.

  1. cyberspirit

    cyberspirit BANNED

    Jun 27, 2003
    Likes Received:
    Trophy Points:
    Is there a way to disable or block the main email account in cpanel?
    Most people create accounts and do not really care what their username or login is. So the main email account is mostly not used anyway but spamers still send stuff randomly there.
    So I am looking for a way to block all mail to the main users email account or blackhole it because the account is not really used.
    Any ideas?
  2. acenetryan

    acenetryan Well-Known Member

    Aug 21, 2005
    Likes Received:
    Trophy Points:
    pico /etc/valiases/domainname.tld

    (obviously domainname.tld should be the domain name you wish to disable the default account for)

    It will probably look like this:

    *: username

    put this in place of it:

    *: :fail: No Such User Here

    You can also go into WHM->Tweak Settings and set Default Catch All/Default address behaviour to "fail" for new accounts. This effectively disables the default account. Not sure how to get it to stop showing in the client's cpanel, period.

Share This Page