From 4a6962daa4232d404e9caf2708fe4126ae04e300 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 21 May 2001 16:46:44 +0000 Subject: Backout code that inhibited bounces. svn path=/trunk/; revision=3318 --- sink.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sink.c b/sink.c index 5759a876..0f1d4f3a 100644 --- a/sink.c +++ b/sink.c @@ -662,8 +662,22 @@ int open_sink(struct query *ctl, struct msgblk *msg, char errbuf[POPBUFSIZE]; int res; +#ifdef __UNUSED__ + /* + * I don't remember how this got in here, but it doesn't + * work. The obvious symptom is that no bounce message + * is sent for a nonexistent user. Less obviously + * Forwarding to postmaster also does not work. The body is + * discarded. + * + * If a mail is sent to one valid and one invalid + * user, the mail does not go to the valid user + * also as the body is discarded after calling + * RSET! + */ if ((res = handle_smtp_report(ctl, msg))==PS_REFUSED) return(PS_REFUSED); +#endif /* __UNUSED__ */ strcpy(errbuf, idp->id); strcat(errbuf, ": "); -- cgit v1.2.3