[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mail not bounced after a 5xx error
On Mon, Apr 14, 2003 at 04:33:10PM +0200, wilbert.schapendonk@nld.mci.com wrote:
> Hi,
>
> We are running Zmailer 2.99.56-pre4 #1 from CVS and are experiencing a
> problem where zmailer leaves mail in the queue when the remote server
> issues a 5xx error after the 'MAIL FROM' command and an additional 5xx
> error when zmailer continues with a 'RCPT TO' command.
This is weird, since past couple months there has been no changes
in the smtp TA processing logic -- since version 1.262, or since
26-Jun-2002.
> The session goes like this:
>
> 220 mail.exampledomain.com ESMTP Sendmail 8.12.8/8.12.6; Mon, 14 Apr 2003 11:31:54 +0200 (CEST)
> EHLO fallback.exampledomain.com
> 250-mail.exampledomain.com Hello fallback.exampledomain.com, pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-DELIVERBY
> 250 HELP
> MAIL From:<junk@spammerdomain.com> BODY=8BITMIME SIZE=381
> RCPT To:<user@exampledomain.com>
> DATA
> 550 5.0.0 <junk@spammerdomain.com>... Go away, we don't want you here
> 503 5.0.0 Need MAIL before RCPT
> 503 5.0.0 Need MAIL command
> RSET
>
> This mail would stay in the queue with 'stat=deferred ->> 503 5.0.0 Need
> MAIL before RCPT' and zmailer will try to deliver it using the same
> sequence of commands until the mail expires.
I simulated this with explicitely created blocked source address,
and a generic scratchpad target address:
...
220 vger.kernel.org ZMailer Server 2.99.56-pre4 #1 ESMTP+IDENT ready at Mon, 14 Apr 2003 14:28:54 -0400
EHLO mail.zmailer.org
250-vger.kernel.org Hello mail.zmailer.org
250-SIZE 0
250-8BITMIME
250-PIPELINING
250-ENHANCEDSTATUSCODES
250-DSN
250-ETRN
250 HELP
MAIL From:<me-spammer@zmailer.org> BODY=8BITMIME SIZE=271
RCPT To:<nobody@vger.kernel.org> NOTIFY=FAILURE
DATA
553 5.7.1 For MAIL FROM address <me-spammer@zmailer.org> policy analysis reported: Your domain is not liked source for email
550 5.7.1 Access denied by the policy analysis functions by earlier rejection
503 5.5.2 Waiting for MAIL command
smtp_sync() did yield code 69/UNAVAILABLE (rcptstates = 0x2440)
.. timeout ? smtp_sync() rc = 69
scheduler done processing 258556-7246
Weird... Code should be equivalent whatever version you are running,
to be exact.
Perhaps this is data dependent, somehow.
> Is there a way to get these messages bounced after the first delivery
> attempt?
>
> Thanks,
>
> Wilbert
--
/Matti Aarnio <mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi