Home

| Home | Documentation | Mailinglist | Download | License |

qpsmtpd - Plugin check_basicheaders_rfc Documentation


NAME

check_basicheaders_rfc - checks headers From and Date, assures non-empty body

go top


VERSION 2007.1

go top


DESCRIPTION

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.

go top


CONFIGURATION

/etc/qpsmtpd/plugins

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.

go top


REQUIREMENTS

check_basicheaders_rfc requires the Perl module Date::Parse.

The module relies on Date::Parse::str2time returning undef for a malformed date.

go top


HOOKS

data_post

go top


BUGS

None known yet.

go top


CREDITS

Thanks to Ask Bjoern Hansen for qpsmtpd.

http://smtpd.develooper.com/

And Jim Winstead Jr. for the original plugin.

go top


COPYRIGHT

(c) Ernesto 2007, ernest@dienstleistung-kultur.de

http://dienstleistung-kultur.de/qpsmtpd/

go top


LICENCE

As per the qpsmtpd license.

go top


This is a service of dienstleistung-kultur.de            Mailsystem QPSMTPD            Comments to Ernesto at ernesto@dienstleistung-kultur.de            Impressum