It is not a "mystery" it seems to be a bug in deliver.c near
line 5765 ( transport_write_message ).
The problem happens only when return_size_limit > 0.
With return_size_limit = 200 I get the following results:
Sending a mail with a body length of 1 byte I get the right return
message.
Sending a mail with a body length of 200 bytes I get the wrong return
message.
Sending a mail with a body length of 1680 bytes I get the right return
message.
I have teste it with
#!/bin/csh
/opt/bin/exim bla <<END
1
END
with bla not routable.
__
Klaus Dreher
Max Planck Institut
fuer molekulare Physiologie
Otto Hahn Strasse 11
D 44227 Dortmund
Tel. +49 (0)231 133 2671
Fax: +49 (0)231 133 1006
Mail: klaus.dreher@???
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 11/13/02, 5:55:30 PM, schrieb Philip Hazel <ph10@???> zum
Thema Re: [Exim] Incorrect message quoting:
> On Wed, 13 Nov 2002 Klaus.Dreher@??? wrote:
> > I have the same effects on Exim 4.10. The return message toggles between
> > the right return message ( some output from Exim + the original message )
> > and only some output from exim. No problems reported in the log,
> > no problems seen with exim -d always sending the same mail.
> > Coordinates: exim 4.10 + exiscan 4.10-16 on SUN Solaris 8.
> Well, at least that confirms that nothing has been changed. :-)
> I don't *think* exiscan is relevant because scanning should have taken
> place long before delivery.
> I will note this as a "mystery" for the moment.
> --
> Philip Hazel University of Cambridge Computing Service,
> ph10@??? Cambridge, England. Phone: +44 1223 334714.
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##