/etc/valiases - any way to use variables?
So I'm going through /etc/valiases and making sure each domain has something for postmaster@ and webmaster@ and abuse@ - and yes, I'm aware of the spam that will be received, but technically you're supposed to respond on those, so I'm going to make sure I'm compliant.
Meanwhile, that's several hundred files to edit. What I really want to do is to be able to paste something like:
postmaster@*: someemail@example.com
webmaster@*: someemail@example.com
abuse@*: someemail@example.com
That appears not to work, and I can't find anywhere if there might be a variable I might be able to use. Can anyone give advice on how to make this process easier? :)
-
Hello, You could develop a custom application that utilizes the following UAPI function to add forwarders: UAPI Functions - Email::add_forwarder - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
1 comment