Re: [exim-dev] Pipe transport and 64kB limit due to wrong (?…

Página Inicial
Delete this message
Reply to this message
Autor: Christoph Schulz
Data:  
Para: Phil Pennock
CC: exim-dev
Assunto: Re: [exim-dev] Pipe transport and 64kB limit due to wrong (?) SIGPIPE handling
Hello again!

Phil Pennock schrieb am Sun, 24 Jun 2012 03:28:12 -0700:

> I might be wrong, but at this point I suspect that this is the invoked
> script assuming the old, broken, behaviour of Exim and breaking with the
> fixed behaviour. That's unfortunate, if true.


Ah, I now seem to have understood the comments in
http://bugs.exim.org/show_bug.cgi?id=968. If in the line

tee "${EMAIL_FILE_RAW}" | e2sformat > "${EMAIL_FILE}"

the function "e2sformat" exits prematurely without processing all
input (which is indeed the case), AND if SIGPIPE is set to SIG_DFL,
"tee" will exit, too, resulting in too short an output. OK, I see it's
my fault.

Thank you for the information. You live and learn ;-)


Regards,

Christoph