View previous topic :: View next topic |
Author |
Message |
NewBlackDak Guru
Joined: 02 Nov 2003 Posts: 512 Location: Utah County, UT
|
Posted: Wed Oct 27, 2004 10:29 pm Post subject: Help with Postfix address mapping |
|
|
I have Postfix setup with virtual domains, and it works fine for all the virtual domains. There's a problem though.
My domain names: mydomain.org, mydomain.com
All mail to user@mydomain.org or user@mydomain.com is accepted as long as there is a user in the DB.
Any mail to user@mail.mydomain.org, user@email.mydomain.org, user@mail.mydomain.com, or user@email.mydomain.com gets rejected.
Is there anyway to make postfix map these without adding a mail.mydomain.org domain, and aliasing all addresses?
EG
when it sees user@email.mydomain.com it's converted to user@mydomain.com, and then tries to deliver it. _________________ Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy |
|
Back to top |
|
|
NewBlackDak Guru
Joined: 02 Nov 2003 Posts: 512 Location: Utah County, UT
|
Posted: Fri Oct 29, 2004 12:04 am Post subject: |
|
|
Figured it out.
main.cf now has:
virtual_mailbox_domains =
mydomain.com,
mydomain.org,
mail.mydomain.com,
mail.mydomain.org,
email.mydomain.com,
email.mydomain.org
I also added these virtual domains with no mailboxes, and 1 alias apiece.
*@mail.mydomain.com = *@mydomain.com
*@mail.mydomain.org = *@mydomain.org
*@email.mydomain.com = *@mydomain.com
*@email.mydomain.org = *@mydomain.org
I'm unsure at this point wether I actually needed the virtual domains, or just an entry in the alias table. It is working fine now though, so I'll leave it alone. _________________ Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|