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 communication error

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Mon Jan 08 2007 - 10:22:22 CST


On Monday 08 January 2007 17:13, Markus Schlup wrote:

> Postfix communication error (names/addresses anonymized)
>
> I have a customer which had a non-delivery report from his mail server when
sending an email to an address in our domain.
> I don't understand what is happening here because the receiving server (our
server) says (according to the Diagnostic-Code in the delivery report): "250
Ok", but it obviously does not receive/process the message (see relevant logs
from our server below). And the sending server correctly reports "Action:
failed".
>
> - What may be the problem here?

"250 OK" is the wrong answer to the DATA-Command. This should
be "354 ...". "250" at this place means the Datatransmission is out of sync.
Normal a Intelligent Router which tries to inspect the SMTP-Traffic is the
cause.

> - What could I do to debug the problem?

Suppress Pipelinig with
 
http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keyword_address_maps

for this Host for example.
 
> Sending server: Postfix
> Receiving server: Postfix 2.2.5 on Solaris 10
>
> Thank you for any help.
> Regards,
> Markus
>
> -mail to
user-----------------------------------------------------------------------------
> This is the Postfix program at host server.sender.ch.
>
> I'm sorry to have to inform you that your message could not be
> be delivered to one or more recipients. It's attached below.
> ...
> ------------------------------------------------------------------------------------------
>
> -delivery
report--------------------------------------------------------------------------
> Reporting-MTA: dns; server.sender.ch
> X-Postfix-Queue-ID: C6FB3BC30
> X-Postfix-Sender: rfc822; user1sender.ch
> Arrival-Date: Mon, 8 Jan 2007 09:12:37 +0100 (CET)
>
> Final-Recipient: rfc822; user2receiver.ch
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host srv.receiver.ch[1.1.1.1] said: 250
> Ok (in reply to DATA command)
> ------------------------------------------------------------------------------------------
>
> -logfile receiving
server-----------------------------------------------------------------
> Jan 8 09:12:38 srv postfix/smtpd[28063]: [ID 197553 mail.info] connect from
adsl-2-2-fixip.provider.ch[2.2.2.2]
> Jan 8 09:12:39 srv postfix/smtpd[28063]: [ID 197553 mail.info] 215CA28D:
client=adsl-2-2-fixip.provider.ch[2.2.2.2]
> Jan 8 09:12:39 srv postfix/smtpd[28063]: [ID 197553 mail.info] lost
connection after DATA from adsl-2-2-fixip.provider.ch[2.2.2.2]
> Jan 8 09:12:39 srv postfix/smtpd[28063]: [ID 197553 mail.info] disconnect
from adsl-2-2-fixip.provider.ch[2.2.2.2]
> ------------------------------------------------------------------------------------------
>

--
        Andreas