"Reuven M. Lerner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> After installing qpsmtpd 0.27.1 on my server, I decided that it was also
> time to install clamav, and remove incoming and outgoing viruses from my
> system.  But for reasons that are beyond me, clamav fails to discover
> the viruses when invoked via the qpsmtpd plugin.

What I have found is that if spamassassin is called before clamav plugin
then most of the time the file being scanned isn't being detected as a mail
file.  Spamassassin adds its X-Spam-Status, X-Spam-Checked-By headers to the
top of the email and scanning fails to parse the message.  If I removed
these to lines (makes the top line start with Received:) then scanning works
just fine.

In order to make things work successfully for me I had to reverse the order
of clamav and spamassassin.

-Shad


Reply via email to