On Wednesday 14 October 2009 04:47:33 Aldisa Admin wrote:
> Hello All,
>
> My greylisting filter has suddenly stopped working.  I have not touched
> the server for several months, and the problem seems to have appeared on
> its own two days ago.  Realized something was wrong as volume of spam
> messages suddenly went significantly higher.
>
> Here is what the log shows when the problem started:
>

[ snip ]

> Oct 11 08:41:24 server courieresmtpd: started,ip=[114.116.64.16]
> 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:
> Oct 11 08:41:27 server courierd: newmsg,id=0024A80A.4AD1D276.0000802B:
> dns; OJNISRSHTR ([114.116.64.16])
> Oct 11 08:41:27 server courierd:
> started,id=0024A80A.4AD1D276.0000802B,from=<[email protected]>,module=local,
>host=abid!!1003!1003!/var/vmail/aldisa/abid!!,addr=<abid> Oct 11 08:41:27
> server courierd: Waiting.  shutdown time=none, wakeup time=none,
> queuedelivering=1, inprogress=1
>

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