From ffd4d8da8bef2a273f8d3030067f8f1947b648fb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 12 Jul 2001 07:22:24 +0000 Subject: Ready to ship. svn path=/trunk/; revision=3417 --- sink.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index e8d39eee..7d4a6aab 100644 --- a/sink.c +++ b/sink.c @@ -696,8 +696,12 @@ int open_sink(struct query *ctl, struct msgblk *msg, char errbuf[POPBUFSIZE]; int res; - if ((res = handle_smtp_report(ctl, msg))==PS_REFUSED) - return(PS_REFUSED); + /* + * Do *not* interpret a PS_REFUSED here as a directive + * to break out of the address loop. We want to go through + * and process the rest of the RCPT TO addresses. + */ + handle_smtp_report(ctl, msg); #ifdef HAVE_SNPRINTF snprintf(errbuf, sizeof(errbuf), "%s: %s", -- cgit v1.2.3