Some time ago I wrote an article about qmail e-mail accounts setting.
Since that time I needed to specify multiple domains with same e-mail names, like:
– firstname.lastname@example.org to deliver mails to info_example user
– email@example.com to deliver mails to info_example1 user
– firstname.lastname@example.org to deliver mails to test_example user
This article describes how to set up such environment greatly.
Here is short explanation how to do it.
Add following lines to /var/qmail/control/virtualdomains
Add the following files to /var/qmail/alias/
.qmail-example-info with entry line info_example
.qmail-example1-info with entry line info_example1
.qmail-example-test with entry line test_example
restart qmail and it should work.