From b4d7ece582604895694ea538e8aa52acb41315fe Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 4 Apr 2006 12:15:16 +0000 Subject: set no bouncemail now also prevents 'General SMTP/ESMTP error.' bounces. svn path=/branches/BRANCH_6-3/; revision=4780 --- sink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index c4a26f6b..274729e9 100644 --- a/sink.c +++ b/sink.c @@ -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]); -- cgit v1.2.3