Allow mail unscanned from localhost.

Rabie van der Merwe rabie at CT.DDSECURITY.CO.ZA
Thu Mar 17 12:08:50 GMT 2005


Thanx too all, it works, herewith all the changes that where required for
MailScanner 4.39. Also to make this more foolproof, one could add a
'AND From: quarantine at mydomain.com' to the 'From: 127.0.0.1' (or
whatever the email address is of the sender of the quarantine proccess
and should do this if you have users on the local box who send mail.
Changes to MailScanner.conf:
Virus Scanning = %rules-dir%/virus.scan.rules
Dangerous Content Scanning = %rules-dir%/dangerous.content.scan.rules
Filename Rules = %rules-dir%/filename.rules
Filetype Rules = %rules-dir%/filetype.rules
Spam Checks = %rules-dir%/spam.check.rules

Files:
virus.scan.rules:
From:   127.0.0.1       no
FromOrTo:       default yes

dangerous.content.scan.rules:
From:   127.0.0.1       no
FromOrTo:       default yes

spam.check.rules
From:   127.0.0.1       no
FromOrTo:       default yes

filename.rules
From:   127.0.0.1       /etc/MailScanner/filename.rules.allowall.conf
FromOrTo:       default /etc/MailScanner/filename.rules.conf

filetype.rules:
From:   127.0.0.1       /etc/MailScanner/filetype.rules.allowall.conf
FromOrTo:       default /etc/MailScanner/filetype.rules.conf

filename.rules.allowall.conf:
allow   .*      -       -

filetype.rules.allowall.conf:
allow   .*      -       -

Regards
Rabie

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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