From b0338391d385f9be0d5b64565ca269c07a208baf Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 2 Jun 1997 03:05:53 +0000 Subject: Add exim 501 response. svn path=/trunk/; revision=1055 --- driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'driver.c') 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 -- cgit v1.2.3