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