On Thu, 2005-05-12 at 05:55 -0500, [EMAIL PROTECTED] wrote:
>  
> With that said, I would like to find a way of integrating this with qmail to 
> scan all incoming and outgoing emails.  
> My problem is that I also do not want to disturb or mess up the pre-installed 
> qmail configuration preventing a person
> from using Plesk for management in the future.  I know that the pre-installed 
> configuration of qmail has some means
> of shelling out and testing the emails for spam because spam assassin is also 
> installed, but I do not know where to start to look for this.  I was 
> wondering is anyone here has installed ClamAV on a dedicated 1and1.com system 
> where qmail was pre-installed with success, and if not, if there are any 
> other ways of scanning emails without having to install or configure the 
> qmail-scanner tool?
>  

Probably the easiest and cleanest way would be to use OdeiaVir:
http://odeiavir.sourceforge.net/

It interfaces to qmail through dot-qmail files, either via the alias
user or via virtual or real users - it depends on your set up really.

You can optionally use ripmime to process email, or use the clamAV built
in email parser (recommended).

You can also use either clamscan or clamdscan.

A new config section for clam would be:

begin_av
        name            ClamAV
        program         /usr/local/bin/clamdscan
        retval_virus    1
        switches        "--disable-summary"
        before_name     ": "
        after_name      " FOUND"
        needs_ripmime   no
end_av

And then add an entry in the dot-qmail file, before the delivery line,
something like:

|/usr/bin/odeiavir -av 8

(where 8 indicates which virus scanner definition to use in the config
file)

Anyway, if you want to try it but need some help, get back to me.

-trog

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to