I set up Postfix to run locally and receive emails to myusername@localhost.

How do I add other addresses (e.g. test1@localhost, test@localhost etc) which would work as aliases for myusername@localhost so that when an email comes to one of these addresses, it gets into the myusername@localhost inbox?

I read quite a lot of postfix documentation but it is confusing because I am not sure what I should use: aliases, virtual domains, virtual users or else.


Locally, use the /etc/aliases file (which is self documented on popular distributions).

Then run


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.