This is a discussion on Re: Combining transport and aliases within the mailing.postfix.users forums, part of the Mail Servers and Related category; From: "Matt Fretwell" <mattf@bauchan.org> > Michael Nguyen wrote: [snip] > An access map with ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
From: "Matt Fretwell" <mattf@bauchan.org>
> Michael Nguyen wrote: [snip] > An access map with DISCARD? I don't think that this is what I'm looking for, but I could be wrong. Could you explain what you had in mind? > A transport entry with discard? What exact > scenario are you trying to cater for? Well, the scenarios I stated are the ones I want to support. The most common scenario is a customer email (user1@twentyten.org) comes in and that email must be sent to the proper SMTP server. This is done very easily using MySQL transport maps. It hasn't been that easy to integrate the other scenarios. Sometimes the email that comes in is an alias to another address and THAT address has the transport map. Sometimes the email that comes in just needs to be forwarded to another address (e.g. userx@hotmail.com). How should I set it up so that everything is done in the right order? Example: - Email comes in for user2@twentyten.org - transport map is checked -- user has no transport map - user table is checked. user2@twentyten.org maps to user1@twentyten.org - user1@twentyten.org should be sent to europe7.twentyten.org:2525 - mail is delivered It would also work if aliases were always checked first, then transport... Like I said, I can do each step of this individually, but I'm having trouble getting the whole thing to work (i.e, having the aliases get looked up properly and then having the transport maps looked up properly). Michael |
![]() |
| Thread Tools | |
| Display Modes | |
|
|