Re: smtp_printf() and smtp_fflush()

Marc MERLIN <[email protected]> Sun, 22 Apr 2007 20:44:21 -0700
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Sun, Apr 22, 2007 at 03:01:15PM +0200, Magnus Holmgren wrote:
> The comment to the teergrube code states that "we can't use exim's smtp_printf 
> because it doesn't return an error code if the write gets an EPIPE". Wasn't 
> smtp_fflush() available at the time or doesn't it work the way we want? I 
> note that the old local_scan.h in eximinc/ doesn't declare smtp_printf() 
> either, but both declares are present in the initial revision in Exim's CVS 
> (which doesn't go back too far).

Either smtp_fflush wasn't there, or I somehow missed it.

Either way, if you get smtp_fflush to do the right thing wrt to EPIPE and
the return code, I'm all for switching to it.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/

_______________________________________________
SA-Exim mailing list
[email protected]
http://lists.merlins.org/lists/listinfo/sa-exim
signature.asc (application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQCVAwUBRiwrlX4xUKZ2O+kBAQJx6QQAt0gZRS3H9vGKIzqEAKo8UqAHQi2ZrknE
oRxOXhUB3PgXH4iOyDdy/LVJ8irqetxZvLWWnGZNPTPYGPwWpcs0I4NqrFlzVZG/
1pLrQ8a2/igpNHpCvWneF7qcqTj/+gkA25a/7yjkWp3fo/Nno4M23G7LIe0OmZhh
UEp70X9UC+Q=
=W+NN
-----END PGP SIGNATURE-----