On 04/19/2013 03:17 PM, awingnut wrote:
On 4/19/2013 8:30 AM, Reindl Harald wrote:
Am 19.04.2013 14:25, schrieb awingnut:
I have a series of user names that need to be relayed through a server
other then the default. It is not clear from the documentation if wild
cards are allowed but it appears they are not
no and wildchars in case of mail are generally a bad idea
If that is true then I need to list each one individually.
However, I am also using generic mapping and again it is not
explained in the documentation which address needs to be in the
relay maps file, the local address vs. the translated
address. Can some please clarify? Thanks.
what additional mapping?
we are using "sender_dependent_relayhost_maps" to allow specific
senders which are not hosted on our server and rely them to
the customers MTA with the users login/password without
rewrite anything
Thanks for the reply. I kind of figured wildcards were out.
As to what other mapping, I'm talking about smpt_generic_maps. If the
local user name is [email protected] and it is mapped to
[email protected], which goes into the relayhosts file?
smtp_generic_maps is consulted by the postfix smtp(8) program, when
sending mail out.
sender_dependent_relayhost_maps is consulted when incoming mail is queued.
Ergo, you should match the original sender.
For an overview of the postfix mail system, see:
http://www.postfix.org/OVERVIEW.html
--
J.