sendmail Mailscanner and queue groups
am 10.03.2005 13:40:33 von Alky GregorionHi. I am using sendmail 8.12.11 + MailScanner. I am trying to set up some
queue
groups, in particular the following:
1. The default queue group, which has all its messages scanned for viruses.
2. A noscan queue group, in which no messages are scanned.
Here is my approach (inside sendmail.mc):
define(`QUEUE_DIR', '/var/spool/q.*')dnl
QUEUE_GROUP(`scangroup', `P=/var/spool/mqueue/q.in, r=1, F=f')dnl
QUEUE_GROUP(`noscangroup', `P=/var/spool/mqueue/q.out, r=1, F=f')dnl
FEATURE(`queuegroup', `scangroup')dnl
Also I have the following directories:
/var/spool/mqueue/q.in
/var/spool/mqueue/q.out
/var/spool/mqueue is a symbolic link to q.out
And sendmail is run with 2 instances, with the following commands:
sendmail -bd -ODeliveryMode=queueonly &
sendmail -q1h &
The above two queues are also configured inside MailScanner.conf.
However it does not work as expected. Every message is scanned, even if
scanning
is disabled for a particular recipient, inside the access DB as follows:
QGRP:recipient@mydomain.com noscangroup
Any help would be appreciated.
Thanks