Jon wrote:
> Hi, Thanks for your reply.
> 
> Yes there are many ways. I forgott to mention that i want to use it with
> procmail.
> 
> I use spamassassin for spam filtering so that is covered.
> 
> How do I go about configuring clamav to work with procmail. In the links
> I sent it seemes they want to send it to "trashcan" whitch no longer is
> in the distribution of clamav. Any suggestions?

"trashcan" is the name of a user's mail folder.  It's usually named Trash (in
Thunderbird or "Deleted Items" in Outlook), I usually create this folder by
default when creating each user mailbox.  But the recomended option for infected
messages is to delete them.

You don't configure clamav to work with procmail, unless you are using clamdscan
wich used clamd, then you need to configure clamd.

Procmail works by processing a set of rules, you already know that, the one for
virus detection just sends all messages to a script, clamfilter.pl is one
possible script, you can then put another rule to see if the message was
infected (looking for the 'X-Virus-Found: yes' added by clamfilter.pl) and
delete it, for example.

> But I have to disagree about a system wide procmail. I use one and it is
> owned by root and is located in /etc/procmail and is applied to all
> messages comming in.

I've never seen this, but it's probably there for handling mail lists.
-- 
Ren� Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to