Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with Postfix address mapping
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Wed Oct 27, 2004 10:29 pm    Post subject: Help with Postfix address mapping Reply with quote

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
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Fri Oct 29, 2004 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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