pyclamav does not seem to work with the latest clamav. I am also running 0.95.1 and have had to disable it.
-Nathan Ben Kennedy wrote: > Hey all (+Gordon), > > Yesterday afternoon I updated to clamav 0.95.1 (from, I think, 0.94.2) > on my gentoo box. I've been running clamav via pythonfilter 1.6 for > quite some time, with success. > > After awhile I started to realize that essentially every inbound message > was now getting rejected, with messages like this in the log: > > May 19 18:15:20 minty courierd: newmsg,id=000DCB9B.4A132F76.000007B3: > dns; www1.opensrs.com ([::ffff:64.98.149.6]) > May 19 18:15:20 minty courierd: started,id=000DCB9B. > 4A132F76.000007B3,from=<for...@opensr > s.com>,module=esmtp,host=zygoat.ca,addr=<b...@zygoat.ca> > May 19 18:15:20 minty courierd: Waiting. shutdown time=none, wakeup > time=none, queuedelivering=1, inprogress=1 > May 19 18:15:28 minty courieresmtp: id=000DCB9B. > 4A132F76.000007B3,from=<for...@opensrs.com>,addr=<b...@zygoat.ca>: 554 > Null argument passed to function > May 19 18:15:28 minty courieresmtp: id=000DCB9B. > 4A132F76.000007B3,from=<for...@opensrs.com>,addr=<b...@zygoat.ca>,status: > failure > > Then, other messages like this gave solid evidence it was related to the > clamav upgrade: > > May 20 12:00:53 pesto courierfilter: LibClamAV Error: cl_free: engine == NULL > May 20 12:00:53 pesto courierfilter: LibClamAV Error: cl_load: engine == NULL > May 20 12:00:53 pesto courierfilter: pythonfilter clamav > reject,from=<doggiebox-boun...@lists. > zygoat.ca>,addr=<inper...@pnc.com.au>: 554 Null argument passed to function > May 20 12:00:53 pesto courierfilter: pythonfilter clamav > reject,from=<doggiebox-boun...@lists. > zygoat.ca>,addr=<xtophe...@blueyonder.co.uk>: 554 Null argument passed > to function > May 20 12:00:53 pesto courierfilter: pythonfilter clamav > reject,from=<doggiebox-boun...@lists. > zygoat.ca>,addr=<jpchx...@yahoo.co.jp>: 554 Null argument passed to function > May 20 12:00:53 pesto courierfilter: pythonfilter clamav > reject,from=<doggiebox-boun...@lists. > zygoat.ca>,addr=<paul...@pandora.be>: 554 Null argument passed to function > May 20 12:01:01 pesto courieresmtpd: error,relay=::ffff: > 127.0.0.1,from=<doggiebox-boun...@lists.zygoat.ca>: 554 Null argument > passed to function > > For now I hae worked around the issue by simply pulling 'clamav' out of > my pythonfilter.conf. Googling the message, remarkably, only gives a > hit on the clamav source, and no other reports of problems. > > Can anyone help point me in a direction to diagnose/fix this? Is it a > pythonfilter issue somehow? > > Mean time, I am going to parse my logs and prepare some reports on the > hundreds of legit messages that were apparently rejected outright > overnight... sigh. > > thanks, > > -ben > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > courier-users mailing list > courier-users@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users