|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
morganstanley.com)
Date: Mon Apr 14 2008 - 17:58:15 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Apr 14, 2008 at 05:42:36PM -0500, /dev/rob0 wrote:
> I was discussing my header check rule today which rejects "mail from
> the past" (obviously invalid Date: header.) It was lame and boring, so
> I was challenged to make a poem of it. Here is the result:
>
> /^Date: .* (19[0-9][0-9]|200[0-7])/ 501 5.5.2
Neither 501, nor 5.5.2 are the correct response codes for header checks.
Use "554 5.7.1" or "554 5.6.0".
http://tools.ietf.org/html/rfc2821
http://tools.ietf.org/html/rfc3463
The "554 5.7.1" is more easily written as "REJECT".
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]