Article View: demon.ip.developers
Article #546Re: Correct SMTP reply to bouce UCE?
From: Tom Wheeley
Date: Wed, 02 Apr 1997 00:00
Date: Wed, 02 Apr 1997 00:00
33 lines
1959 bytes
1959 bytes
In article <333abfa1.2280046@news.demon.co.uk>
andrew@REMOVE-THIS.plinth.demon.co.uk "Andrew Clarke" writes:
> Sorry for the slight cross-post...
>
> I've quickly knocked together a little utility which works in
> conjunction with Alex Chapman's Rexx scripts for OS/2 to bounce spam
> email based on the MAIL FROM: command.
>
> Looking over RFC 821 I see there are basically two error responses to
> this 500 and 501, neither of which seem to fit the bill.
If you allow the category `failure' you can have 552 as well.
>
> At the moment I'm sending a 501 with a comment to the effect that
> email from that host is banned as a matter of local policy.
>
> However, I seem to remember reading somewhere that there was a
> specific reply to cover this, but I can't find it in 821 or 1123. It
> shouldn't matter too much but I'd like to use the correct reply if it
> exists.
I would agree that a 55z code is the most appropriate reading rfc821,
(Appendix E). This gives you the choice of 550-554. I would actually go
for 550 due to the comment `Eg mailbox not found, no access'
^^^^^^^^^
553 seems reserved for syntax errors (which could also be 501...)
Or you could just give the stony failure code: 554 Transaction failed
--
:sb)
Technical Details
Message-ID:
<859947983snz@tsys.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<333abfa1.2280046@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,b0af67d698369aa5 X-Google-Attributes: gid10bb05,public X-Google-Thread: 104dc3,b0af67d698369aa5 X-Google-Attributes: gid104dc3,public From: tomw@tsys.demon.co.uk (Tom Wheeley) Subject: Re: Correct SMTP reply to bouce UCE? Date: 1997/04/02 Message-ID: <859947983snz@tsys.demon.co.uk> X-Deja-AN: 230014980 References: <333abfa1.2280046@news.demon.co.uk> X-Mail2News-User: tomw@tsys.demon.co.uk X-Mail2News-Path: tsys.demon.co.uk Organization: Adventures and Diving Reply-To: tw104@york.ac.uk Newsgroups: demon.ip.developers,demon.ip.support.os2