*check_basicheaders_rfc*

Checks headers From and Date, assures non-empty body.

Check Basic Headers RFC is based on the plugin check_basicheaders
by Jim Winstead Jr.

It is extended with my policy to die on startup due to config errors and
it returns DENY for a malformed date.

The module requires the Perl module Date::Parse and relies on
Date::Parse::str2time returning undef for a malformed date.

Motivation:
I received spam mails with malformed date headers, which went through
the original plugin, because it returns only DECLINED, if the result of
Date::Parse::str2time is undef - e.g.:

Date: Mon, 11 Sep 2028 25:16:04 +0900
Date:  , 33 Aug 2007 -04:43:52 -0500
Date: Mon, 34 Aug 2007 18:49:17 +0200
Date: Tue, 35 Aug 2007 25:57:08 +0900
Date: Wed, 36 Aug 2007 22:57:25 +0000

See http://dienstleistung-kultur.de/qpsmtpd/check_basicheaders_rfc.shtml

Sincerely,

Ernesto

Reply via email to