Re: How to drop an email and have global history

2010-10-28 Thread David Nicol
On Thu, Oct 28, 2010 at 10:20 AM, wrote: > Matt Sergeant - m...@sergeant.org wrote: >>> I'm guessing memcached would be useful here or a sqlite db? >> >> Yes or some sort of db file like BDB, though lots of people seem to have >> reliability problems with those (myself included). >> > Ah ok. thi

Re: How to drop an email and have global history

2010-10-28 Thread Chris Lewis
On 10/28/2010 11:20 AM, qpsmtpdfrose.20.ftu...@spamgourmet.com wrote: Matt Sergeant - m...@sergeant.org wrote: You need a queue plugin (or hook) which pretends to deliver and returns OK, but basically does nothing. I currently have a plugin that has a hook_data_post. I presume I can put a ho

Re: How to drop an email and have global history

2010-10-28 Thread qpsmtpdfrose . 20 . ftumsh
Matt Sergeant - m...@sergeant.org wrote: On Thu, 28 Oct 2010, qpsmtpdfrose.20.ftu...@spamgourmet.com wrote: 1) Have some sort of data structure accessible to all qpsmtpd children that remembers if a particular error has already been received in the past N minutes. I'm guessing memcached would

Re: How to drop an email and have global history

2010-10-28 Thread Matt Sergeant
On Thu, 28 Oct 2010, qpsmtpdfrose.20.ftu...@spamgourmet.com wrote: 1) Have some sort of data structure accessible to all qpsmtpd children that remembers if a particular error has already been received in the past N minutes. I'm guessing memcached would be useful here or a sqlite db? Yes or s

How to drop an email and have global history

2010-10-28 Thread qpsmtpdfrose . 20 . ftumsh
Lo, Here's the problem: I have a few third party servers (openas2) that can generate an absolute blizzard of error emails. These errors tend to be repeats. eg can't connect to another server would generate the same error each time a connection attempt was made. I want to write a plugin takes th