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: John Farnsworth (sidarkness.nu)
Date: Thu May 01 2003 - 16:41:15 CDT


The bug was that it could not execute the external command though, so
there's no way it was the culprit of the message delivery, atleast not in
so far as I could see?

On Thu, 1 May 2003, Wietse Venema wrote:

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