Disable catch-all email on Cpanel Server

Written by Yujin Boby

Edit in WordPress

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