Postfix configuration problem
Ok here's the thing I finly decided on Postfix for my MTA. So I set tryed to set it up via Webmin using this howto guide. Postfix is working and I can recive and send email via it, but I'm still not clear on a cuple of things. Curently as I understand it is working like this my user name is lets say "joe" and my domain si "something.com". So I enterd the domain into /etc/postfix/virtual like this:
and added this to /etc/aliases
and everything works ok any email sent to email@example.com gets to my mail box.
But I would like to have more than one domain set up. So I added the second domain "somethingelse.com" into /etc/postfix/virtual
and added /etc/aliases
joe: firstname.lastname@example.org, email@example.com
This also works.
But I can't seem to get firstname.lastname@example.org to be deliverd to user joe or email@example.com to get deliverd to user joe. And I would like to set up something lik this firstname.lastname@example.org to a user called jane.
so I tryed to add these to the /etc/aliases
joe: email@example.com, firstname.lastname@example.org, email@example.com
But it doesn't work. I'm not sure what I'm doing wrong or if I understand everything. So if someone would be so good to give me some pointers on how I sould set Postfix up, so that I could use more domains, and any email(firstname.lastname@example.org to user someone) to any user.
I tryed via Webmin and via SSH to configure things.
Thanks for the help..