diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sink.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -44,6 +44,8 @@ fetchmail 6.3.4 (not yet released): * tracepolls: add folder information if available. Reported by Terry Brown. * lexer: add %option noyywrap to avoid link errors about missing yywrap(). * a few more type fixes for report/snprintf, patch by Miloslav Trmac. +* bouncing: fetchmail would still send "General SMTP/ESMTP error." bounces + in spite of "no bouncemail" configuration. # CHANGES: * pidfile: there is a new command-line (--pidfile PATH) and global option for @@ -539,7 +539,8 @@ static int handle_smtp_report(struct query *ctl, struct msgblk *msg) /* bounce non-transient errors back to the sender */ if (smtperr >= 500 && smtperr <= 599) { - send_bouncemail(ctl, msg, XMIT_ACCEPT, + if (run.bouncemail) + send_bouncemail(ctl, msg, XMIT_ACCEPT, "General SMTP/ESMTP error.\r\n", 1, responses); free(responses[0]); |