Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    BANNED
    Join Date
    Jun 2003
    Posts
    293

    Default disable main email account

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    192

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 11-25-2009, 07:33 AM
  2. Disable email for Main Account
    By GoWilkes in forum E-mail Discussions
    Replies: 1
    Last Post: 07-05-2007, 05:19 AM
  3. main email account
    By Maggie in forum E-mail Discussions
    Replies: 12
    Last Post: 06-10-2004, 07:51 AM
  4. Main Account - stop the eMail.
    By omoriginals in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-31-2004, 07:27 AM
  5. main email Account
    By ServerIntelligence in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 02-18-2004, 09:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube