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
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