After a while, the filter hangs my mail server.  The first time this 
happened, I thought it may be problems with installing the new over the 
old.  So, I stopped the pythonfilter, deleted /var/state/pythonfilter 
directory, deleted /usr/bin/pythonfilter, removed the symbolic link and 
deleted the /etc/pythonfilter.conf file.  Then I made sure courier was 
stopped and all processes dead (including any hung pythonfilter 
processes).  Then I did a clean install of 0.13.  Still not working.  
I'm getting the following in my maillog:

Dec 19 14:08:13 driftwood courierfilter: Uncaught exception in 
"greylist" doFilter function: exceptions.AttributeError:TtlDb instance 
has no attribute '__delitem__'
Dec 19 14:08:13 driftwood courierfilter: File 
"/etc/courier/filters/active/pythonfilter", line 180, in processMessage
Dec 19 14:08:13 driftwood courierfilter: replyCode = 
i_filter[1](bodyFile, controlFileList)
Dec 19 14:08:13 driftwood courierfilter: File 
"/usr/lib/python2.3/site-packages/pythonfilter/greylist.py", line 183, 
in doFilter
Dec 19 14:08:13 driftwood courierfilter: del(_sendersNotPassed[cdigest])

I am only using auto_whitelist, whitelist, whitelist_auth and greylist.

I was running for a week or so with 0.11 and did not see any issues.  
Any ideas?

-Nathan

Gordon Messmer wrote:
> User testing turned up bugs.  Imagine that.
>
> http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/
>
> Release 0.13 corrects a typo in the dbm cleanup, fixes AUTH detection 
> for whitelist modules, and uses clamav's scanfile() to do virus 
> scanning.  The last fix should be much faster than parsing the message 
> in python, and scanning each part.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to