I recently installed Webmin, Postfix, and Dovecot on a fresh Debian Wheezy system. Everything is working fine, except I'd like to know how I can configure Postfix to not only receive but also send mail from multiple domains.
I have one domain (the default) that sends and receives mail just fine. I have a system user named "joey", and mapped to him is joey@domain1.com
. I have another user named "joey.domain2" who has joey@domain2.com
mapped to him. I have no problems with receiving mail (I do most through Webmin) - receiving mail addressed to joey@domain2.com
will have it delivered to joey.domain2's mailbox just fine. However, when I reply to it, the address appears to the receiver (I test stuff on Gmail) as joey.domain2@domain1.com
.
How do I configure postfix so that I can send mail through other addresses rather than the default?