On Sun, 2007-07-01 at 09:22 -0500, Guy Hulbert wrote: > On Sun, 2007-07-01 at 14:09 +0100, Joe Knall wrote: > > Hello, > > > > Postfix has a feature called DISCARD; to discard a message means to > > accept it regularly but deliver to /dev/null (eg. blacklisted senders). > > > > To implement this with qpsmtpd do I have to provide a custom hook_queue > > that does actually nothing but return OK? > > Am I missing something? > > Looking at qmail-queue, it looks to me as if the queue_hook has the > responsibility of accepting the message from the sender. If you don't
Sorry, I didn't look closely enough. I think you are right. It is reading from a buffer so the message must have been accepted already. The sender needs the OK when the message is written to the queue but you are planning to lie to it anyway. > let the sender send you the data, I suspect it may keep the message > queued and retry. > > > > > Thanks, Joe -- --gh
