Mass Change Default (Catch All) Addresses

Mass Change Default (Catch All) Addresses
1.83 (36.67%) 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: –

http://thecpaneladmin.com/files/changedefaultaddr.sh.txt

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.

Ref: http://forums.cpanel.net/f5/force-default-mail-address-all-accounts-158722.html

Don't be selfish, share!Tweet about this on TwitterShare on RedditShare on TumblrBuffer this pageDigg thisShare on FacebookFlattr the authorEmail this to someoneShare on Google+Pin on PinterestPrint this pageShare on LinkedInShare on StumbleUpon

3 Comments

  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 1.com, 2.com, 3.com, and 4.com all go to Mikey@1.com 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