diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-04-04 12:15:16 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-04-04 12:15:16 +0000 |
commit | b4d7ece582604895694ea538e8aa52acb41315fe (patch) | |
tree | 9dadc302760170f81c3dbb73fd877745f4599f2b /sink.c | |
parent | 619c30c07f0fdd204504590e3b6cfc371fa6bbcb (diff) | |
download | fetchmail-b4d7ece582604895694ea538e8aa52acb41315fe.tar.gz fetchmail-b4d7ece582604895694ea538e8aa52acb41315fe.tar.bz2 fetchmail-b4d7ece582604895694ea538e8aa52acb41315fe.zip |
set no bouncemail now also prevents 'General SMTP/ESMTP error.' bounces.
svn path=/branches/BRANCH_6-3/; revision=4780
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]); |