summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qmail-send.94
-rw-r--r--qmail-send.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/qmail-send.9 b/qmail-send.9
index e5be479..3f01376 100644
--- a/qmail-send.9
+++ b/qmail-send.9
@@ -117,6 +117,10 @@ notice to
117(If that bounces, 117(If that bounces,
118.B qmail-send 118.B qmail-send
119gives up.) 119gives up.)
120As a special case, if the first line of
121.IR doublebounceto
122is blank (contains a single linefeed), qmail-send will not queue
123the double-bounce at all.
120.TP 5 124.TP 5
121.I envnoathost 125.I envnoathost
122Presumed domain name for addresses without @ signs. 126Presumed domain name for addresses without @ signs.
diff --git a/qmail-send.c b/qmail-send.c
index 685b08c..0baed66 100644
--- a/qmail-send.c
+++ b/qmail-send.c
@@ -690,6 +690,8 @@ unsigned long id;
690 } 690 }
691 if (str_equal(sender.s,"#@[]")) 691 if (str_equal(sender.s,"#@[]"))
692 log3("triple bounce: discarding ",fn2.s,"\n"); 692 log3("triple bounce: discarding ",fn2.s,"\n");
693 else if (!*sender.s && *doublebounceto.s == '@')
694 log3("double bounce: discarding ",fn2.s,"\n");
693 else 695 else
694 { 696 {
695 if (qmail_open(&qqt) == -1) 697 if (qmail_open(&qqt) == -1)