From 486ec5fc163d1d6d7d8b1f0023b3a137e060c6d7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Nov 1998 06:17:14 +0000 Subject: Bug fix for Ken Estes. svn path=/trunk/; revision=2212 --- sink.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sink.c') 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)); } -- cgit v1.2.3