OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Deferred Mails not leaving queue after delivery

From: Wietse Venema (wietseporcupine.org)
Date: Thu May 01 2003 - 15:35:47 CDT


John Farnsworth:
> Greetings,
> I recently upgraded from 1.1.10 to 2.0.9 and had a little bug with
> one of my filter pipes which caused emails to be deferred, unfortunately,
> at the same time postfix also continued on and delivered the message, so I
> got one deferral into the queue along with one delivered copy. Maillog is

That's what you get with a buggy external command. Postfix expects
the command to deliver an exit status as defined in
/usr/include/sysexits.h.

Some status codes request that mail is placed back into the queue.
However, if the external command returns a "try again" status AND
the external command delivers the mail, then you will get multiple
deliveries.

        Wietse