clamassassin with call to clamav software corrupts mail

Richard E Miles r.godzilla at comcast.net
Thu Nov 18 00:46:51 UTC 2004


I found out that clamassassin does not cause duplicate mail messages because
even if I commented out the .procmailrc rule I still experienced the
duplicate mail messages. I have since updated clamassassin to version 2.2 and 
have modified my .procmailrc rules to reflect Alexander Dolloz
suggestions. I found out that the duplicate mail generation occurs if I
leave fetchmail running for an hour or more. I don't know why. I find if
I stop fetchmail after a lull in receiving messages that I don't experience
the duplicate mail messages. I am puzzled by this. I will once more show you
my .procmailrc file after I have made the corrections. If you see something
amiss please let me know.

####################################################################
#  Sample Procmail File "/home/rmiles/.procmail" #
######################################################
#       Do a "man procmail" for more examples
#
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=/var/spool/mail
DEFAULT=/var/spool/mail/rmiles
LOGFILE=/home/rmiles/MailBAG
DROPPRIVS=YES
#
#
:0 HB
* ^Content-Type.*image.*gif.*name.*\.gif
* ^Content-Disposition.*attachment.*filename.*\.gif
{
        :0
        /dev/null
}
# clamav rules
:0fw
| /usr/local/bin/clamassassin
:0:
* ^X-Virus-Status: Yes
#/dev/null
/home/rmiles/VIRUS

### spamassassin rule
:0fw
| /usr/bin/spamc
## SPAM
:0:
* X-Spam-Status: Yes,*
#/home/rmiles/spam
/dev/null
#$MAILDIR/spam



-- 
Richard E Miles
Federal Way WA.
registered linux user 46097




More information about the fedora-list mailing list