aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-01-31 05:45:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-01-31 05:45:05 +0000
commit42a5271a91208b49b2440bcd5a6367e6bc4f00e4 (patch)
treeec785060a8c421cc31c2e6516ee5779dd5138cbe /sink.c
parent609231042254dd5e1cc5f9071dfd972ee6856396 (diff)
downloadfetchmail-42a5271a91208b49b2440bcd5a6367e6bc4f00e4.tar.gz
fetchmail-42a5271a91208b49b2440bcd5a6367e6bc4f00e4.tar.bz2
fetchmail-42a5271a91208b49b2440bcd5a6367e6bc4f00e4.zip
Before trying to clean up closes.
svn path=/trunk/; revision=2722
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sink.c b/sink.c
index e3cb4a8f..3a001f7a 100644
--- a/sink.c
+++ b/sink.c
@@ -500,7 +500,8 @@ int open_sink(struct query *ctl, struct msgblk *msg,
else if (ctl->mimemsg & MSG_IS_7BIT)
fputs(" BODY=7BIT", sinkfp);
- fprintf(sinkfp, " SIZE=%d\r\n", msg->reallen);
+ /* exim's BSMTP processor does not handle SIZE */
+ /* fprintf(sinkfp, " SIZE=%d\r\n", msg->reallen); */
/*
* RFC 1123 requires that the domain name part of the
@@ -866,7 +867,7 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward)
else if (ctl->bsmtp)
{
/* implicit disk-full check here... */
- fputs("..\r\n", sinkfp);
+ fputs(".\r\n", sinkfp);
if (strcmp(ctl->bsmtp, "-"))
fclose(sinkfp);
if (ferror(sinkfp))