aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-06-02 03:05:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-06-02 03:05:53 +0000
commitb0338391d385f9be0d5b64565ca269c07a208baf (patch)
tree4c3719a0359968086e50977e907c7300742fc7ad /driver.c
parent3c591e354e5216a8c2dd149f020f82ecd29e9b69 (diff)
downloadfetchmail-b0338391d385f9be0d5b64565ca269c07a208baf.tar.gz
fetchmail-b0338391d385f9be0d5b64565ca269c07a208baf.tar.bz2
fetchmail-b0338391d385f9be0d5b64565ca269c07a208baf.zip
Add exim 501 response.
svn path=/trunk/; revision=1055
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index b469e4e5..14700a52 100644
--- a/driver.c
+++ b/driver.c
@@ -808,7 +808,7 @@ char *realname; /* real name of host */
{
int smtperr = atoi(smtp_response);
- if (smtperr >= 400 && smtperr != 571)
+ if (smtperr >= 400 && smtperr != 571 || smtperr != 501)
error(0, -1, "SMTP error: %s", smtp_response);
/*
@@ -823,7 +823,8 @@ char *realname; /* real name of host */
switch (smtperr)
{
- case 571: /* unsolicited email refused */
+ case 571: /* unsolicited email refused */
+ case 501: /* exim's antispam response (temporary) */
/*
* SMTP listener explicitly refuses to deliver
* mail coming from this address, probably due