aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c7
-rw-r--r--fetchmail.man3
2 files changed, 8 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 233a36d1..37fe3e1c 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1300,7 +1300,12 @@ static void terminate_poll(int sig)
for (ctl = querylist; ctl; ctl = ctl->next)
if (ctl->smtp_socket != -1)
{
- SMTP_quit(ctl->smtp_socket);
+ /*
+ * Don't send QUIT for ODMR case because we're acting
+ * as a proxy between the SMTP server and client.
+ */
+ if (ctl->server.protocol != P_ODMR)
+ SMTP_quit(ctl->smtp_socket);
SockClose(ctl->smtp_socket);
ctl->smtp_socket = -1;
}
diff --git a/fetchmail.man b/fetchmail.man
index 0e84e134..55528305 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -954,7 +954,8 @@ option (keyword: set postmaster) specifies the last-resort username to
which multidrop mail is to be forwarded if no matching local recipient
can be found. Normally this is just the user who invoked fetchmail.
If the invoking user is root, then the default of this option is
-the user `postmaster'.
+the user `postmaster'. Setting postmaster to the empty string causes
+such mail to be discarded.
.PP
The
.B --nobounce