Re: How to drop an email and have global history

[email protected] (Matt Sergeant)
Newsgroups perl.qpsmtpd
Message-ID <alpine.DEB.2.01.1010281425150.14871@bodger>
On Thu, 28 Oct 2010, [email protected] 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).

Any chance the Message-Id is the same for all these emails?

> 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.

Matt.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.