On 3/5/2015 7:25 PM, Keegan Giles wrote:
> Hello,
> 
> I am having an issue where Postfix does not attempt to authenticate
> to the relay I am using, even though the settings appear to be
> correct. When I look in the maillog, I see *"530 Authentication is
> required before sending"*, and when I run a packet trace, I don't
> see Postfix ever using AUTH PLAIN.* *Are there any other tools I can
> run to give me an idea of why Postfix is not Here is the output of
> postconf -n. Relay name and domain are sanitized for Privacy. Note
> that I have been able to successfully authenticate manually with the
> username/password stored in /etc/postfix/sasl/passwd, and that it is
> trying to send to the correct relay that is in that file.

If there is no mention of sasl in the logs, that usually means the
host you list in sasl_password_maps doesn't match what postfix is
connecting to.

>     relayhost = AAAA.AAA.AA.AAA:25
>     smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd

The host listed in /etc/postfix/sasl/password must match the
relayhost string verbatim.
AAAA.AAA.AA.AAA:25  user:password

Often the relayhost needs to be enclosed in brackets to disable MX
lookups. Double check to be sure the correct IP is being used.  If
you do use brackets in the relayhost setting, remember they must
also be included in the sasl password map.
relayhost = [A.B.C.D]:25
[A.B.C.D]:25  user:passsword

>     smtp_use_tls = no

Really? Using AUTH PLAIN over an unencrypted connection?  Does the
server even offer AUTH without TLS?  How did you test?

> smtpd_tls_loglevel = 2

Not related to your problem, but this should be 0 or 1.




  -- Noel Jones

Reply via email to