Change default Mail Address ✉️ for all cPanel accounts

Here is how to mass change the “Default Mail Address” for all domains (existing accounts) in the server to a specific email address ([email protected]).

sed "s/^\*:.*/[email protected]/g" -i /etc/valiases/*
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.