postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Mail is not getting delivered at all.

Re: Mail is not getting delivered at all.

From: Wietse Venema <wietse_at_nospam>
Date: Mon Oct 18 2010 - 12:21:21 GMT
To: Postfix users <postfix-users@postfix.org>

anant@isac.gov.in:
> One of the mail sent to mail.bhelrnd.co.in is not getting delivered at
> all. The following is the log extract. Do I need to set anything in
> our Postfix mailer to solve this issue?
>
> The sender of this mail says, he is able to exchange mails using GMail.
> -------------------------------------------------------------------------
> Oct 18 11:50:11 dnserns.isac.gov.in: postfix/smtp[676006]: 42C2310D3:
> to=<BBBBBBBB@bhelrnd.co.in>,
> relay=mail.bhelrnd.co.in[203.200.217.129]:25, delay=5456,
> delays=5446/0.03/10/0, dsn=4.4.2, status=deferred (lost connection
> with mail.bhelrnd.co.in[203.200.217.129] while performing the EHLO
> handshake)
> ---------------------------------------------------------------------

Wietse Venema:
> Are you sending mail through a local SMTP proxy/firewall?
> My Postfix box talks to this site without trouble.

anant@isac.gov.in:
> Yes, We have a CISCO PIX in between.

The CISCO PIX has a long history of mis-implementing SMTP.
If you want to be able to send mail without such screw-ups,
you need to turn off their smtp f*up feature.

You are also welcome to send a copy of this thread to your
CISCO representative, so they can get this fixed.

        Wietse

> Here is the logging from:
>
> # postconf -e debug_peer_list=203.200.217.129
> # postfix reload
> $ sendmail -bv postmaster@bhelrnd.co.in
>
> Oct 18 07:11:05 spike postfix/smtp[18247]: <
> mail.bhelrnd.co.in[203.200.217.129]:25: 220 mail.bhelrnd.co.in ESMTP
> server ready.
> Oct 18 07:11:05 spike postfix/smtp[18247]: >
> mail.bhelrnd.co.in[203.200.217.129]:25: EHLO spike.porcupine.org
> Oct 18 07:11:05 spike postfix/smtp[18247]: <
> mail.bhelrnd.co.in[203.200.217.129]:25: 502
> Oct 18 07:11:05 spike postfix/smtp[18247]: >
> mail.bhelrnd.co.in[203.200.217.129]:25: HELO spike.porcupine.org
> Oct 18 07:11:06 spike postfix/smtp[18247]: <
> mail.bhelrnd.co.in[203.200.217.129]:25: 250 mail.bhelrnd.co.in
> Hello, ASSP.nospam.
> Oct 18 07:11:06 spike postfix/smtp[18247]: >
> mail.bhelrnd.co.in[203.200.217.129]:25: MAIL
> FROM:<wietse@porcupine.org>
> Oct 18 07:11:06 spike postfix/smtp[18247]: <
> mail.bhelrnd.co.in[203.200.217.129]:25: 250 Sender OK - send RCPTs.
> Oct 18 07:11:06 spike postfix/smtp[18247]: >
> mail.bhelrnd.co.in[203.200.217.129]:25: RCPT
> TO:<postmaster@bhelrnd.co.in>
> Oct 18 07:11:06 spike postfix/smtp[18247]: <
> mail.bhelrnd.co.in[203.200.217.129]:25: 250 Recipient OK - send RCPT
> or DATA.
> [...and so on...]
>
> After the server replies to EHLO with "502", the Postfix SMTP client
> then sends HELO instead and the SMTP session proceeds as expected.
>
> Wietse