I use Linode to host my domains. I had a need to have an official looking email, and found this post by Jesse Lau. However he is missing a crucial line which I found in this Linode forum post:
virtual_alias_domains = ducklington.org
So the entire correct recipe is:
- Install postfix
apt-get update apt-get upgrade
apt-get install postfix
- /etc/postfix/main.cf download and edit
virtual_alias_domains = ducklington.org
virtual_alias_maps = hash:/etc/postfix/virtual
- /etc/postfix/virtual
jim@ducklington.org jim@gmail.com ted@ducklington.org ted@gmail.com
-
postmap /etc/postfix/virtual to build database
-
/etc/init.d/postfix reload
Some of the chat from the helpful people in the Linode IRC channel may prove of use: