This is what I am using:

--- clamav.rc ---
:0
CLAMAV=|/usr/bin/clamdscan --mbox --disable-summary --stdout  -

:0
* CLAMAV ?? .*: \/.* FOUND
{
  :0 fhw
  | /usr/bin/formail -a "X-ClamAV: ${MATCH}"
}
#:0E fhw
#| /usr/bin/formail -a "X-ClamAV: clean"
----

I didn't want to add a header to clean messages so I commented out the else case.

Linux 2.4
procmail v3.22
ClamAV 0.70

Brian

On May 13, 2004, at 10:50 AM, Kenneth Andresen wrote:

Hello all,

I am in a position where I can't add milter to sendmail due to having
Redhat Enterprise ES2.1 server and thus loose support on sendmail by
recompiling it...

I do believe however that it should be possible to avoid a milter by
means of a procmail receipt.

Anyone who have a tried and tested receipt, or have suggestions for how
to accomplish this?


In advance thanks!




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users




------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to