On Thursday 15 October 2009 04:12:40 Aldisa Admin wrote:
> I deleted all the greylisting*.db files in
> /var/spool/courier/pythonfilter folder and this fixed the problem.
>
> Thank you, Milan.
>
> Abid
>

[ snip ]

Incidentally, the same error occurred on one of my mail servers couple of 
hours ago. What does 'file /var/spool/courier/pythonfilter/*' tell in your 
case?

file /var/spool/courier/pythonfilter/*
/var/spool/courier/pythonfilter/auto_whitelist.db:   Berkeley DB 1.85 (Hash, 
version 2, native byte-order)
/var/spool/courier/pythonfilter/correspondents.db: Berkeley DB 1.85 (Hash, 
version 2, native byte-order)

Milan

> >
> >> Oct 11 08:41:26 server courierfilter: Uncaught exception in "greylist"
> >> doFilter function:
> >> exceptions.KeyError:'b8963151215870c3169ffaa28721abbd' Oct 11 08:41:27
> >> server courierfilter: File
> >> "/usr/local/etc/courier/filters/active/pythonfilter", line 178, in
> >> processMessage
> >> Oct 11 08:41:27 server courierfilter: replyCode = i_filter[1](bodyFile,
> >> controlFileList)
> >> Oct 11 08:41:27 server courierfilter: File
> >> "/usr/local/lib/python2.4/site-packages/pythonfilter/greylist.py", line
> >> 131, in doFilter
> >> Oct 11 08:41:27 server courierfilter: _sendersNotPassed.purge()
> >> Oct 11 08:41:27 server courierfilter: File
> >> "/usr/local/lib/python2.4/site-packages/pythonfilter/TtlDb.py", line
> >> 109, in purge
> >> Oct 11 08:41:27 server courierfilter: if float(self.db[key]) < minVal:
> >
> > This indicates some corrugtion in db file. I see it occasionally with
> > comeagain module, too. I have no real fix, just workaround - delete
> > correspondents.db from /var/spool/courier/pythonfilter directory, which
> > (unfortunately) deletes history and restarts data collecting. In your
> > case, it would be greylist(something) file. You can try to rename it one
> > by one to see which file got corrupted. Then restart pythonfilter.
> >
> > Regards,
> > Milan
> >

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to