clamassassin with call to clamav software corrupts mail messages

Alexander Dalloz ad+lists at uni-x.org
Tue Nov 16 01:01:00 UTC 2004


Am Di, den 16.11.2004 schrieb Richard E Miles um 1:06:

> Since I updated from FC2 to FC3 the clamassassin and clamav software is causing
> my mail messages to be duplicated many times. I didn't know wheather this was
> caused by fetchmail, sendmail, spamassassin or clamav clamassin software. So I
> decided to disable calls to these packages from my .procmailrc rules. (Not
> fetchmail or sendmail of course). I started with clamassassin first. After
> commenting out the rules in the .procmailrc file for clammassin I found that
> this behaviour stopped.

Did you manually write your .procmailrc within this and the previous
mail about the same topic or is it a copy & paste? I ask because both
contain procmail syntax faults. Your Friday mail - why didn't you
continue that thread? - contained:

####################################################################
#  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
#
#
:0 HB
* ^Content-Type.*image.*gif.*name.*\.gif
* ^Content-Disposition.*attachment.*filename.*\.gif
{
        :0
        /dev/null
}
:0fw
| /usr/local/bin/clamassassin
:
^^^ The lock instruction in a single line?
:0:
* ^X/dev/null
^^^ big questionmark

DROPPRIVS=YES

### spamassassin rule
:0fw
| /usr/bin/spamc
## SPAM
:0:
*X-Spam-Status: Yes,*
^^^ space missing between "*" and "X-Spam-Status"; ",*" should mean
what? it is wrong syntax

#/home/rmiles/spam
/dev/null
^^^ comment on blindly deleting: don't
#$MAILDIR/spam_Virus-Status: Yes


> Does anyone have a clamassassin rule from .procmailrc setup that is working
> correctly in FC3? Is anayone else having these types of problems using
> clamav software in FC3? It would be nice to know if it's just my setup or is
> anyone else is having these problems. Here is a listing of my .procmailrc file
> after I commented out the clamassin rule.
> 
> ####################################################################
> #  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
> #
> #
> :0 HB
> * ^Content-Type.*image.*gif.*name.*\.gif
> * ^Content-Disposition.*attachment.*filename.*\.gif
> {
>         :0
>         /dev/null
> }
> # clamav rules
> # 11/15/04 Tempoarily commented out to see if this is causing multiple mails.
> #:0fw
> #| /usr/local/bin/clamassassin
> #:#:0:
^^^ questionmark for the first ":"
> #* ^X_Virus-Status: Yes
^^^ underscore
> #/dev/null
> #DROPPRIVS=YES
^^^ 1 action on match only, set DROPPRIVS at top of .procmailrc
> ### spamassassin rule
> :0fw
> | /usr/bin/spamc
> ## SPAM
> :0:
> *X-Spam-Status: Yes,*
^^^ wrong syntax, see comment above
> #/home/rmiles/spam
> /dev/null
> #$MAILDIR/spam

> Richard E Miles

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 02:00:50 up 26 days, 23:40, load average: 0.09, 0.23, 0.23 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20041116/664bf60d/attachment-0002.bin 


More information about the users mailing list