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 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.
Any chance the Message-Id is the same for all these emails?
No, they're all different.
2) How to quietly drop an email. ie just forget I received it. I
don't want to send an error back to the originator, nor do I wish to
deliver it to the intended recipient.
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 hook_queue in the same plugin. Is there some sort of notes mechanism
for communicating between hooks, like AxKit2?
John