SMTP sender-dependent authentication per host?

2010-05-29 Thread Rich Wales
I'm running Postfix 2.6.5. Is there any way to specify that sender-dependent SASL password data should be used only when talking to one specific relay host? Depending on the destination of a message, I need to use two different relay hosts (defined in transport_maps). One of these relays demands

Re: SMTP sender-dependent authentication per host?

2010-05-30 Thread Wietse Venema
Rich Wales: [ Charset UTF-8 unsupported, converting... ] > I'm running Postfix 2.6.5. > > Is there any way to specify that sender-dependent SASL password data > should be used only when talking to one specific relay host? The SASL info is per relay host - Postfix isn't going to send the same pass

Re: SMTP sender-dependent authentication per host?

2010-05-30 Thread Rich Wales
I had thought / hoped this might be a straightforward question that would require only a pointer to the right place in the documentation (and not need a full-fledged problem report). Sorry I was mistaken. I'm attaching my output from "postconf -n", my "transport" file, and my "sasl_password" file

Re: SMTP sender-dependent authentication per host?

2010-05-31 Thread Wietse Venema
Rich Wales: > Now, here's my problem. I want to be able to do special handling of > mail to a subdomain (sandals.richw.org). Mail for this subdomain > should be relayed via its own server (sandals.richw.org, as shown in > my "transport" file) -- and this alternate relay host should *not* > requir

Re: SMTP sender-dependent authentication per host?

2010-05-31 Thread Rich Wales
> If sandals.richw.org should not require SASL authentication, then > you should not turn on SASL authentication on sandals.richw.org. Ah. Indeed, I had inadvertently enabled SASL authentication in the Sandals SMTP server (smtpd_sasl_auth_enable = yes in that server's Postfix configuration). Thi

Re: SMTP sender-dependent authentication per host?

2010-05-31 Thread Wietse Venema
Rich Wales: > > If sandals.richw.org should not require SASL authentication, then > > you should not turn on SASL authentication on sandals.richw.org. > > Ah. Indeed, I had inadvertently enabled SASL authentication in the > Sandals SMTP server (smtpd_sasl_auth_enable = yes in that server's > Post

Re: SMTP sender-dependent authentication per host?

2010-05-31 Thread Rich Wales
> You're supposed to use sender-dependent AUTHENTICATION in combination > with sender-dependent RELAYHOST. Otherwise, it makes no sense. I was trying to describe a situation in which a site might have to deal with two separate relay hosts . . . where the choice of relay is dependent on the destin

Re: SMTP sender-dependent authentication per host?

2010-05-31 Thread Wietse Venema
Rich Wales: > > You're supposed to use sender-dependent AUTHENTICATION in combination > > with sender-dependent RELAYHOST. Otherwise, it makes no sense. > > I was trying to describe a situation in which a site might have to deal > with two separate relay hosts . . . That makes absolutely no sense