THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
An easy way to use the ClamAV daemon with \[http://www.procmail.org/ procmail\] is to add this to your procmailrc file: |
No Format |
---|
:0wc | clamdscan - :0efw# Scan for viruses :0 VIRUS=|clamdscan --mbox --disable-summary --stdout - :0fw * VIRUS ?? ^.*: \/.* FOUND | formail -b -f -t -I "X-Clamav-status: Yes, $MATCH" :0Efw | formail -b -f -t -I "X-Clamav-status: yesNo" |
This will add "X-Clamav-status: yes" to anything message that's found to have a virus, or if clamdscan gives an error.. Since "clamdscan" uses the daemon, you'll need to enable Scan{{`Mail, Scan}}Archive and Stream
Save
To
`Disk in clamav.conf