Kieran Egan schreef:
LOGFILE=procmail.log
LOGABSTRACT=all
VERBOSE=yes
I would top that with
SHELL=/bin/sh
:0fBHw:clam.lock
* ^Content\-(?:Disposition|Transfer-Encoding|Type)\:
(?:attachment|base64|multipart)
| /usr/local/bin/clamassassin
:0fBHw:clam.lock
* ^begin [0-9]+
| /usr/local/bin/clamassassin
Your regexes are not right (procmail does not handle PCRE).
These two can be compressed to:
:0fw:clam
* 9876543210^0 HB ?? \
^Content-(Disposition|Transfer-Encoding|Type):[ ]\
(attachment|base64|multipart)
* 9876543210^0 B ?? ^begin[ ][0-9]+[ ]
| /usr/local/bin/clamassassin
:0:
* ^X-Virus-Status: Yes
mail/quarantine
What is mail/quarantine, a folder or a file? If a folder, I think you
can take off the locking (MH-type delivery). If you want quarantine to
be a Maildir, add a slash to it in the recipe (and definetely remove the
locking).
For which user is this run?
Do you see any "Dropped F off From line" in your log?
--
Groet, Ruud
____________________________________________________________
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