Disable catch-all email on Cpanel Server

To disable catch-all email address for all sites hosted on Cpanel Server, run

sed -i 's/^\*: [^ ]*$/*: :fail: ADDRESS DOES NOT EXIST/g' /etc/valiases/*

Back to Cpanel Server

Comments

Leave a Reply

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