Re: [exim] exim sometimes requeues messages after local_scan…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tom Kistner
Date:  
À: Jack Bailey
CC: exim-users
Sujet: Re: [exim] exim sometimes requeues messages after local_scan()
Jack Bailey wrote:

> WAG: when local_scan() or its child processes send output to stderr,
> exim seems to ignore local_scan()'s return code. True? False? Maybe?


Exim closes fd's 0/1/2 (STDIN/OUT/ERR) on startup when not running in
debug mode. This means these handles get reused later on. FD 2 often
happens to be mapped to the SMTP socket.

This means that when linked libs spam STDERR, the output gets forwarded
to the sending host, which can't make sense of it and defers.

The return code of local_scan is irrelevant then. :)

/tom