Postfix email forward

On an Ubuntu Server, i done following to setup email forwarding.

Install postfix

Edit /etc/postfix/main.cf, add following

Add

Create Virtual mailbox

Add

Create alias file, used for mail forwarding

Add

Wth above configuration, mail coming to admin@YOUR-DOMAIN_HERE.com will get forwarded to [email protected]. Email coming to user1@YOUR-DOMAIN_HERE.com get delivered to local mailbox folder.

Now run following commands to make hashmap

Restart postfix

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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