Bug#375504: Fix for greylistd bug #375504

2007-09-06 Thread Jason Cormie
I've implemented Steves fix (above) and am no longer getting "greylistd: Socket error: Broken pipe" in syslog adn the cpu has calmed down. cheers steve! -- Jason Cormie University of Abertay Dundee -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Conta

Bug#375504: Fix for greylistd bug #375504

2007-05-13 Thread Steven A. Reisman
Here's a quick fix for greylistd Debian bug #375504. The problem is that "expireKeys(now)" is performed every time a "check" is requested. "expireKeys" uses a brute force algorithm to age out the entries. This performs poorly with large lists and high query rates. Sockets time out and/or the num