Quick email forwarder in Shell

I’m always create new forwarding emails for different websites – helps me track down if and when their email list is hacked… To save logging into cPanel or WHM, I’ve created a little script to quickly add new forwarding emails.

Edit the settings to fit your domain and email setup. For multiple destinations, just use “, ” to separate the email addresses.

To make your special new email address, simply call the script with the alias as the only argument.

Let me know what you think!

Leave a Reply

Your email address will not be published. Required fields are marked *