diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-06-02 03:05:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-06-02 03:05:53 +0000 |
commit | b0338391d385f9be0d5b64565ca269c07a208baf (patch) | |
tree | 4c3719a0359968086e50977e907c7300742fc7ad /driver.c | |
parent | 3c591e354e5216a8c2dd149f020f82ecd29e9b69 (diff) | |
download | fetchmail-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |