procmail
[Top] [All Lists]

pipe through clamav problem

2006-02-25 15:25:16

Hello Dear Users

I try for a long time to filter my incoming mails through clamav, but I
don't understand why it don't funktion.

the idea is, a recipe, that scan the mail for virus and, if , set a
headerline and move the mail to a special mailbox to watch and delete
after.

All other filters are ok, but this filter don't work, eighter it catch
all messages to 995-virus or none. I test it with eicar testvirus...

I don't know the exactly recipe to do my wish.

here is a dump from my .procmailrc


        :0 fhw
        * ? formail -b | /usr/bin/clamscan --stdout --quiet -
        {
                :0 fhw
                | formail -i "X-Filtered: by ${HOST}, recipe: ${FILENAME}-0010 
(ClamAV)"
                
                :0
                995-viruses/
        }

my system:
Linux Debian testing, procmail 3.22, 

Thanks for all help!
Raphael

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>