diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | fetchmail.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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; |