aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-26 06:17:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-26 06:17:14 +0000
commit486ec5fc163d1d6d7d8b1f0023b3a137e060c6d7 (patch)
treeba7499d40097ef5cbc57c0867d1308ce9ad9e1bc /sink.c
parent75bfb06dd232324e427d6ba8ec0cd342945e6231 (diff)
downloadfetchmail-486ec5fc163d1d6d7d8b1f0023b3a137e060c6d7.tar.gz
fetchmail-486ec5fc163d1d6d7d8b1f0023b3a137e060c6d7.tar.bz2
fetchmail-486ec5fc163d1d6d7d8b1f0023b3a137e060c6d7.zip
Bug fix for Ken Estes.
svn path=/trunk/; revision=2212
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sink.c b/sink.c
index d21a10b3..ad9b0240 100644
--- a/sink.c
+++ b/sink.c
@@ -862,8 +862,16 @@ int open_warning_by_mail(struct query *ctl)
struct msgblk msg = {NULL, NULL, "FETCHMAIL-DAEMON", 0};
if (!MULTIDROP(ctl))
+ {
msg.recipients = ctl->localnames;
+ /*
+ * Ick. This could get us in trouble someday, but
+ * it's necessary in order to fool open_sink().
+ */
+ msg.recipients->val.status.mark = XMIT_ACCEPT;
+ }
+
return(open_sink(ctl, &msg, &good, &bad));
}