Attached a minimal patch for clamav plugin which should take care of
this. Tested and working on Oneiric, the error message is gone and the
mail gets scanned and flagged correctly.

Fri Aug 19 20:28:19 2011 utest-oos32[5831]: clamscan results: 
Eicar-Test-Signature 
Fri Aug 19 20:28:19 2011 utest-oos32[5831]: Virus(es) found: 
Eicar-Test-Signature 
Fri Aug 19 20:28:19 2011 utest-oos32[5831]: 552 Virus Found: 
Eicar-Test-Signature 
Fri Aug 19 20:28:19 2011 utest-oos32[5831]: dispatching QUIT

I did attach the patch but I think this might/should be resolved in some
other way. Looking at the clamav plugin code there is a back_compat flag
which adds some deprecated options when using clamav < 0.80. Maybe
something like this should be used here also.

(Note: nobody should use any older version of clamav and anything less
than clamav 0.97 should be thrown out)

** Patch added: "clamav.diff"
   
https://bugs.launchpad.net/ubuntu/+source/qpsmtpd/+bug/829649/+attachment/2292530/+files/clamav.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/829649

Title:
  qpsmtp + clamscan plugin combo broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qpsmtpd/+bug/829649/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to