OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Postfix on OS X and SASL: Working, but getting relay access denied

From: mouss (mlist.onlyfree.fr)
Date: Sun Jun 24 2007 - 17:43:33 CDT


James Lay wrote:
> Here we go mouss..thank you. Not sure WHAT'S going on...but here's the
> relay attempt plus an error from a test from Outlook Express. This test
> runs fine internally, but not external.
>
> Jun 24 08:02:54 mail postfix/smtpd[29419]: connect from
> 207-114-232-2.static.twtelecom.net[207.114.232.2]
>
> Jun 24 08:02:55 mail postfix/smtpd[29419]: NOQUEUE: reject: RCPT from
> 207-114-232-2.static.twtelecom.net[207.114.232.2]: 554
> <James.Layvineyardboise.org>: Relay access denied;
> from=<jlayslave-tothe-box.net> to=<James.Layvineyardboise.org> proto=ESMTP
> helo=<vcfstaffjl1>
>
> Jun 24 08:02:58 mail postfix/smtpd[29419]: disconnect from
> 207-114-232-2.static.twtelecom.net[207.114.232.2]
>
>

as you see, there is no trace of a successful authentication.

you must
1- add
    broken_sasl_auth_clients = yes
2- make sure you have sasl 'login' module.

Note that outlook is using port 465. so do not disable the setting above
for smtps.

>
> The message could not be sent because one of the recipients was rejected by
> the server. The rejected e-mail address was 'digiangelgmail.com'. Subject
> 'Test', Account: 'mail.slave-tothe-box.net', Server:
> 'mail.slave-tothe-box.net', Protocol: SMTP, Server Response: '554
> <digiangelgmail.com>: Relay access denied', Port: 465, Secure(SSL): Yes,
> Server Error: 554, Error Number: 0x800CCC79
>
>
>
>
>