| Home | Documentation | Mailinglist | Download | License |
check_basicheaders_rfc - checks headers From and Date, assures non-empty body
Rejects messages that do not have a From or Date header or are completely empty.
Rejects messages that do not have a wellformed Date header according to RFC2822.
Can also reject messages where the date in the Date header is more than some number of the days in the past or future.
It is an extension to the module check_basicheaders by Jim Winstead Jr.
In the main configuration file check_basicheaders_rfc should
replace the entry check_basicheaders
e.g.
#check_basicheaders 14 check_basicheaders_rfc 14
Takes one optional parameter, the number of days in the future or past beyond which to reject messages. (The default is to not reject messages based on the date.)
If the optional parameter is not a number, qpsmtpd won't start.
check_basicheaders_rfc requires the Perl module Date::Parse.
The module relies on Date::Parse::str2time returning undef for a malformed date.
data_post
None known yet.
Thanks to Ask Bjoern Hansen for qpsmtpd.
And Jim Winstead Jr. for the original plugin.
(c) Ernesto 2007, ernest@dienstleistung-kultur.de
http://dienstleistung-kultur.de/qpsmtpd/
As per the qpsmtpd license.