Deep test virus scan rule that doesnt work

Nicola Piazzi via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>

[In the MailScanner.conf i put Virus Scanning directive so it use a fixed path file so i am sure that is not wrong]
vi /etc/MailScanner/MailScanner.conf
Virus Scanning = /mio/mio.rule

[In the file i put only negate scan by default]
vi /mio/mio.rule
FromOrTo: Default No

[chmod dir and file to ensure access]
chmod 777 /mio;chmod 777 /mio/mio.rule

[restart mailscanner]
systemctl stop mailscanner;sleep 2;systemctl start mailscanner

[but clamd still scan incoming mail]
# tail -f /var/log/clamd.scan
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nimage003.png: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nimage002.png: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nimage006.jpg: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nimage004.png: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nimage005.png: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY.header: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nmsg-9751-4.txt: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nmsg-9751-6.txt: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY/nmsg-9751-5.html: OK
/var/spool/MailScanner/incoming/9751/4DFPPX5htrzlfcMY.message: OK
/var/spool/MailScanner/incoming/9751/4DFPPb6C85zlfdyp/nmsg-9751-7.txt: OK


[The only way to stop clamd scan email is to put "Virus Scanning = No" in MailScanner.conf, Using a rule is the same of "Virus Scanning = Yes", it doesnt watch rule contants]



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.