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 with an option -d or –delete command to remove an existing forwarder.

Please let me know what you think!

One thought on “Quick email forwarder in Shell”

Leave a Reply

Your email address will not be published.