From 8fd5a218113c39471797e537541bfc6227a37885 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 14 Sep 1997 19:28:01 +0000 Subject: Works with Microsoft Exchange. svn path=/trunk/; revision=1337 --- driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 7a8bf2d9..80a5d3f0 100644 --- a/driver.c +++ b/driver.c @@ -435,6 +435,9 @@ static int smtp_open(struct query *ctl) } } + if (outlevel >= O_VERBOSE && ctl->smtp_socket != -1) + error(0, 0, "forwarding to SMTP port on %s", ctl->smtphost); + return(ctl->smtp_socket); } @@ -526,7 +529,7 @@ int num; /* index of message */ headers = received_for = NULL; from_offs = ctt_offs = env_offs = -1; oldlen = 0; - for (remaining = len; remaining > 0; remaining -= linelen) + for (remaining = len; remaining > 0 || protocol->delimited; remaining -= linelen) { char *line; -- cgit v1.2.3