aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-20 23:39:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-20 23:39:22 +0000
commit7f7d8b3fd7b811286acf6286143aab97239c432d (patch)
treebc866c34125b5eceaa4ba619d63ca7161b190da8
parenta5b09204067bc42cacacadc26840f7b15889a527 (diff)
downloadfetchmail-7f7d8b3fd7b811286acf6286143aab97239c432d.tar.gz
fetchmail-7f7d8b3fd7b811286acf6286143aab97239c432d.tar.bz2
fetchmail-7f7d8b3fd7b811286acf6286143aab97239c432d.zip
Chabge the spam-block default.
svn path=/trunk/; revision=2008
-rw-r--r--NEWS2
-rw-r--r--fetchmail.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4250357b..40bbc0b2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
fetchmail-4.5.4 ():
* Fixed processing of --antispam option.
+* Antispam default value is now the list [571, 550, 501] corresponding
+ to the sendmail, old exim, and new exim spam-block responses.
There are 265 people on fetchmail-friends and 249 on fetchmail-announce.
diff --git a/fetchmail.c b/fetchmail.c
index 6641cd4a..9edbeb5e 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -742,6 +742,8 @@ static int load_params(int argc, char **argv, int optind)
def_opts.smtp_socket = -1;
def_opts.smtpaddress = (char *)0;
save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 571;
+ save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 550;
+ save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 501;
def_opts.server.protocol = P_AUTO;
def_opts.server.timeout = CLIENT_TIMEOUT;