diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-05-21 16:46:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-05-21 16:46:44 +0000 |
commit | 4a6962daa4232d404e9caf2708fe4126ae04e300 (patch) | |
tree | 0da1e5d9cb2d037681e14b3da662d2bc1daf8689 | |
parent | 31ab5ebe1eb914d3707af9901ddf1f9330ad7d98 (diff) | |
download | fetchmail-4a6962daa4232d404e9caf2708fe4126ae04e300.tar.gz fetchmail-4a6962daa4232d404e9caf2708fe4126ae04e300.tar.bz2 fetchmail-4a6962daa4232d404e9caf2708fe4126ae04e300.zip |
Backout code that inhibited bounces.
svn path=/trunk/; revision=3318
-rw-r--r-- | sink.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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, ": "); |