Mass Change Default (Catch All) Addresses

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 If you have any advice for this or a tutorial it would be very much appreciated. Thank you.

Leave a Reply

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

Log in