Mass Change Default (Catch All) Addresses

1.8/5 - (6 votes)

I wrote this nice one-liner for a user in the cPanel forums asking how to change all their current default addresses to :fail: –

Before you do anything like this, you should back up /etc/valiases. Keep in mind also that you can change the default address for new accounts in WHM > Tweak Settings.



  1. Pingback: Mass Change Catchall - cPanel Forums

  2. Joe M Reply

    Thank you for your great article, however I am looking for something that can bulk change the default/catch all email address to an single actual eMail address. Like if unrouted mail for,,, and all go to [email protected] If you have any advice for this or a tutorial it would be very much appreciated. Thank you.

  3. yondermann Reply

    I’ve got several subdomains created for a main domain like this:
    I also have emails created for each subdomain:
    [email protected]
    [email protected]
    [email protected]
    I’d like to set each email as a default address for each subdomain without manually going through the process in cPanel one by one. Is there a script or easy way to achieve that?

Leave a Reply

Your email address will not be published. Required fields are marked *

Log in