diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | fetchmail.c | 7 | ||||
-rw-r--r-- | fetchmail.man | 9 |
3 files changed, 6 insertions, 11 deletions
@@ -4,6 +4,7 @@ * Nerijus Baliunas's patch to support STARTTLS over IMAP. * More cleanups and minor bugfixes from Sunil Shetye. +* Default antispam-response list is now empty. fetchmail-5.9.14 (Fri Sep 6 05:03:25 EDT 2002), 21932 lines: diff --git a/fetchmail.c b/fetchmail.c index b01787db..74ccc4f4 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -894,13 +894,6 @@ static int load_params(int argc, char **argv, int optind) def_opts.smtp_socket = -1; def_opts.smtpaddress = (char *)0; def_opts.smtpname = (char *)0; -#define ANTISPAM(n) save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = (n) - ANTISPAM(571); /* sendmail */ - ANTISPAM(550); /* RFC2821 */ - ANTISPAM(501); /* old exim */ - ANTISPAM(554); /* Postfix */ -#undef ANTISPAM - def_opts.server.protocol = P_AUTO; def_opts.server.timeout = CLIENT_TIMEOUT; def_opts.server.esmtp_name = user; diff --git a/fetchmail.man b/fetchmail.man index ff8b44c7..a0b73707 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -1107,11 +1107,10 @@ The .I postfix MTA runs 554 as an antispam response. .PP -The +Return codes which .I fetchmail -code recognizes and discards the message on any of a list of responses -that defaults to [571, 550, 501, 554] but can be set with the `antispam' -option. This is one of the +treats as antispam responses and discards +the message can be set with the `antispam' option. This is one of the .I only three circumstance under which fetchmail ever discards mail (the others are the 552 and 553 errors described below, and the suppression of @@ -1124,6 +1123,8 @@ the message rejected immediately after the headers have been fetched, without reading the message body. Thus, you won't pay for downloading spam message bodies. .PP +By default, the list of antispam responses is empty. +.PP If the \fIspambounce\fR option is on, mail that is spam-blocked triggers an RFC1892 bounce message informing the originator that we do not accept mail from it. |