OT (Sort of) header_checks
Julian Field
MailScanner at ecs.soton.ac.uk
Thu Dec 29 16:50:04 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. ]
I would add it above the MailScanner line, as it appears to reject a
load of messages. Then hopefully only messages failing this test will be
passed to MailScanner.
I'm no expert Postfix user though, so I would double check it by hand
with a few test messages.
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
>
>
> Thanks,
> --
> Rodney Green
> --
> "Cross country skiing is great if you live in a small country."
>
> - Steven Wright
>
>
>
> Honor the Fallen <http://www.militarycity.com/valor/honor.html>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 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!*
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
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