mailscanner virus scanning rule doesnt work

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

In MailScanner.Conf i put directive to use default rule file :
Virus Scanning = %rules-dir%/scan.messages.virus.rules

This file contains 10. That is prefix of mailserver that send mail to mailscanner, no other clients are sending mail to this mailscanner at now !
/etc/MailScanner/rules/scan.messages.virus.rules
From: 10. no
FromOrTo: default yes

In this way mailscanner must bypass scanning of email of myserver that is 10.1.1.126
(I tried also "From: 10.1.1.126 no" and I tried also fixed path rule file)

I put clamd to log also clean files and tail to see message working :
/etc/clamd.d/scan.conf
LogClean yes
[root@EFA42 ~]# tail -f /var/log/clamd.scan
/var/spool/MailScanner/incoming/22415/4DDzJb4tmszlfdyn/nmsg-22415-15.txt: OK
/var/spool/MailScanner/incoming/22415/4DDzJb4tmszlfdyn.header: OK
/var/spool/MailScanner/incoming/22415/4DDzJb4tmszlfdyn/nmsg-22415-16.txt: OK
/var/spool/MailScanner/incoming/22415/4DDzJb4tmszlfdyn/nwinmail.dat: OK
Etc etc

As you can see clamd scan incoming mail from 10.1.1.126 ignoiring rule file directives same as putting directly "Virus Scanning = Yes" in MailScanner.Conf
If i put "Virus Scanning = No" clamd bypass correctly every message



Nicola Piazzi
Sistemi Informativi
[Nuova immagine bitmap]
COMET s.p.a.
Via Michelino, 105 - 40127 Bologna - Italia
Tel.  +39 051.6079.293
Cell. +39 347.5027273
www.comet.it<http://www.comet.it>
www.gruppocomet.it<http://www.gruppocomet.it>



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
image001.png (image/png, 6 KB) - not displayed
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.