OT (Sort of) header_checks

Drew Marshall drew at THEMARSHALLS.CO.UK
Thu Dec 29 18:52:52 GMT 2005

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On Thu, December 29, 2005 15:45, Rodney Green wrote:
>  Hello,
>  I would like to add a line to my header_checks file for Postfix.
> MailScanner has the line /^Received:/ HOLD
>  Is it okay to add the following to the header_checks? Should I add it
> above or below the MailScanner line?
>  /^content-(type|disposition):.*name[[:space:]]*=.*\.(exe|vbs|wmf|bat|scr|pif|com)/
>                REJECT Bad attachment file name extension: $2

As the checks are done a 'first match basis, above the mailscanner one is
certainly where this should be put.


In line with our policy, this message has 
been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list