diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | driver.c | 4 | ||||
-rw-r--r-- | fetchmail.h | 6 | ||||
-rw-r--r-- | sink.c | 2 |
4 files changed, 9 insertions, 8 deletions
@@ -5,8 +5,9 @@ fetchmail-4.7.0 (): * Rob Funk's old-message-check optimization. * Fix an error in the logic for detecting when all connections are wedged. * Unwedge connections on wakeup. +* Fix Ken Estes's LMTP coredump error. -There are 244 people on fetchmail-friends and 315 on fetchmail-announce. +There are 243 people on fetchmail-friends and 322 on fetchmail-announce. fetchmail-4.6.9 (Tue Dec 1 14:46:19 EST 1998): * Better RFC822 conformance in fetchmail trace headers. @@ -36,7 +37,7 @@ There are 247 people on fetchmail-friends and 309 on fetchmail-announce. fetchmail-4.6.7 (Sat Nov 21 13:59:47 EST 1998): * Gerald Britton's patches to enable Hesiod support. * Postmaster option fix from Bill Metzenthen <billm@melbpc.org.au>. -* Socks library support forom Guiseppe Guerini. +* Socks library support from Guiseppe Guerini. * Notification mail is now sent to the user on 20 consecutive timeouts. There are 247 people on fetchmail-friends and 308 on fetchmail-announce. @@ -1010,13 +1010,13 @@ static int readheaders(int sock, strcat(errhd, _("SMTP listener rejected local recipient addresses: ")); errlen = strlen(errhd); for (idp = msgblk.recipients; idp; idp = idp->next) - if (idp->val.status.mark == XMIT_ANTISPAM) + if (idp->val.status.mark == XMIT_RCPTBAD) errlen += strlen(idp->id) + 2; xalloca(errmsg, char *, errlen+3); (void) strcpy(errmsg, errhd); for (idp = msgblk.recipients; idp; idp = idp->next) - if (idp->val.status.mark == XMIT_ANTISPAM) + if (idp->val.status.mark == XMIT_RCPTBAD) { strcat(errmsg, idp->id); if (idp->next) diff --git a/fetchmail.h b/fetchmail.h index f3522c51..b7a048b6 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -370,9 +370,9 @@ int gen_transact (); extern int phase; /* mark values for name lists */ -#define XMIT_ACCEPT 1 -#define XMIT_REJECT 2 -#define XMIT_ANTISPAM 3 +#define XMIT_ACCEPT 1 /* accepted; matches local domain or name */ +#define XMIT_REJECT 2 /* rejected; no match */ +#define XMIT_RCPTBAD 3 /* SMTP listener rejected the name */ /* sink.c: forwarding */ int stuffline(struct query *, char *); @@ -687,7 +687,7 @@ int open_sink(struct query *ctl, struct msgblk *msg, else { (*bad_addresses)++; - idp->val.status.mark = XMIT_ANTISPAM; + idp->val.status.mark = XMIT_RCPTBAD; error(0, 0, _("%cMTP listener doesn't like recipient address `%s'"), ctl->listener, addr); |