Raiders is now Twix ;-) To avoid name collision I renamed my plugin announced in http://www.nntp.perl.org/group/perl.qpsmtpd/2007/08/msg7128.html
from *check_content_type* to *check_attachment* See http://dienstleistung-kultur.de/qpsmtpd/ *check_attachment* parses a MIME message into its components and compares the content types and attachment extensions of all parts with the contents of /etc/qpsmtpd/check_attachment. It returns OK, DENY or DECLINED on the first match, or DECLINED if there is no match. It is an extension to the module check_content_type by Peter J. Holzer - see http://www.hjp.at/projekte/qpsmtpd/check_content_type/ - so your old config rules can be copied and should work as well. Added are configurable messages for denied mails and a special config format for file extension. The creation of the check subroutine on startup might be a performance gain. Ernesto