Quote Originally Posted by erichill
Rob,

Please would you tell me how to use this script in Evolution? Tools - filter - pipe to prgram - ????

What next and what should I use for "returns"??

Thank you

Eric
Hi Eric,
sorry about taking so long to get back to you (I don't come here very often).

Anyway ... here's the info in case you still need it :-
---------------------------------------------------

If you have Knoppix installed it will already have Kmail (and with it the script kmail_clamav.sh)
if not then apt-get kmail.
You will also need to install clamav (and clamav-freshclam for auto updates).

1) Go to Evolution's inbox

2) Select <Filters..> from the Tools menu

3) And create an incoming Filter rule called AV-Check


4) Set-up the AV-Check rule like this :


5) Then create another filter rule (see #3) called AV-Found and set-up like this :


That's pretty much it. Just make sure they are the first two rules (move to top of Filter list if necessary).
Note: If you're using any IMAP mail accounts .. don't forget to tick the Apply Filters option :


It should now check all incoming mail and move the infected ones to the "Quarantine" folder.

If you want to check mail you have received in the past. Then select all the messages (inbox or whatever). Right-click on the selected messages and use the <Apply Filters> option.
Warning: It make take a long time if you have a lot of messages .......

Ironically - the Quarantined emails I've had are faked Microsoft support or security announcements.

Re: what should I use for "returns"?
I'm not sure what you mean? Outgoing attachments? (downloaded zip and exe files?)

If you want a nice frontend to scanning files, updating the virus databases, integration into konqueror's "Action" menu etc. try KlamAV
(the guys at Mepislovers have packed it up as a deb here: http://mepislovers.com/modules/mydow...p?cid=3&lid=45 )

Hope this helps If you find I've left something out or can't get it running feel free to PM me.)

Cheers
rob