OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: SASL authentication failure

From: Alejandro Facultad (alejandro_facultadyahoo.com.ar)
Date: Fri Apr 11 2008 - 14:10:05 CDT


mouss escribió:
> Alejandro Facultad wrote:
>> Dear all, I have configured a Postfix mail server with SASL
>> authentication in order to relay and authenticate against an Exchange
>> 2003 mail server. Below I put the main data in order to get help please:
>>
>> In main.cf:
>>

So this could be OK to authenticate against port TCP/25:

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
relayhost = 10.2.2.1

????

and
>
>
> this is not readable. a lot of <> thingies.... fix your mailer. anyway
>
>
>>
>> and I have also:
/etc/postfix/sasl_passwd:
[10.2.2.1] username:password

???

That's enough ????
>
> so that's server 10.2.2.1, port 587
>>
>> My mail.log show me this error:
>>
>> Apr 8 12:36:23 mail2 postfix/qmgr[31272]: 5A6E7BC04:
>> from=<matias1567.alayessa.com.ar>, size=1247, nrcpt=1 (queue active)
>>
>> Apr 8 12:36:23 mail2 postfix/smtpd[31346]: disconnect from
>> localhost[127.0.0.1]
>>
>> Apr 8 12:36:23 mail2 postfix/smtp[31275]: 5A6E7BC04:
>> to=<fernandoalayes.com>, relay=10.10.2.1[10.10.2.1]:25], delay=0.05,
>> del
>
> and that's server 10.10.2.1 port 25. really not the same thing.
>>
>> ays=0.05/0/0/0, dsn=5.7.3, status=bounced (host 10.10.2.1[10.10.2.1]
>> said: 530 5.7.3 Client was not authenticated (in reply to MAIL F
>>
>> ROM command))
>>
>> Apr 8 12:36:23 mail2 amavis[31087]: (31087-04) Passed CLEAN, LOCAL
>> [127.0.0.1] [127.0.0.1] <matias1567.alayessa.com.ar> ->
>> <fernando.lunaalayes.com>, Message-ID:
>> <1981.172.16.214.205.1207668978.squirrelmail2.alayessa.com.ar>,
>> mail_id: RgE6XUx2Grni, Hits: 1.373, queued_as: 5A6E
>>
>> 7BC04, 5101 ms
>>
>> Apr 8 12:36:23 mail2 postfix/smtp[31341]: 4314EBC03:
>> to=<fernando.lunaalayes.com>, relay=127.0.0.1[127.0.0.1]:10024],
>> delay=5.2, delays=0.
>>
>> 05/0/0.01/5.1, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=31087-04,
>> from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5A6E7BC04),
>>
>> Apr 8 12:36:23 mail2 postfix/qmgr[31272]: 4314EBC03: removed
>>
>> Apr 8 12:36:23 mail2 postfix/cleanup[31332]: 7039CBC03:
>> message-id=<20080408153623.7039CBC03mail.alayessa.com.ar>
>>
>> Apr 8 12:36:23 mail2 postfix/bounce[31277]: 5A6E7BC04: sender
>> non-delivery notification: 7039CBC03
>>
>> Special thanks
>
>
>