diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-17 22:10:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-17 22:10:57 +0000 |
commit | 5fd829f0e1478c57c076c05af4109e565d5eb9ca (patch) | |
tree | b35587006ae77a8d6c9950026a94cc925f4d800e | |
parent | cd64466ffcb4a506f7d022135ef6611c36c05ceb (diff) | |
download | fetchmail-5fd829f0e1478c57c076c05af4109e565d5eb9ca.tar.gz fetchmail-5fd829f0e1478c57c076c05af4109e565d5eb9ca.tar.bz2 fetchmail-5fd829f0e1478c57c076c05af4109e565d5eb9ca.zip |
Better antispam at last.
svn path=/trunk/; revision=1020
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | driver.c | 17 |
3 files changed, 15 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 86957e72..4d14389d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3,7 +3,7 @@ # If you're running QNX, we can't assume a working autoconf. # So just uncomment all the lines marked QNX. -VERS=3.9.4 +VERS=3.9.5 # Ultrix 2.2 make doesn't expand the value of VPATH. srcdir = @srcdir@ @@ -30,6 +30,10 @@ pl 3.9.5 (): sendmails with the 'E' option on. * Enable forcecr to work on the \r\n header terminator line. * Multiple-folder support for POP2 and IMAP. +* Under IMAP, bodies of messages refused by SMTP's 571 response are no longer + fetched. + +There are 249 people on the fetchmail-friends list. pl 3.9.4 (Wed May 14 12:27:22 EDT 1997): * Fixed a compilation glitch for systems like SunOS & others without atexit(3). @@ -1523,17 +1523,16 @@ const struct method *proto; /* protocol method table */ goto cleanUp; set_timeout(ctl->server.timeout); - /* + /* * If we're using IMAP4 or something else that * can fetch headers separately from bodies, - * it's time to request the body now. This fetch - * may be skipped if we got an anti-spam or - * other error response from SMTP. + * it's time to request the body now. This + * fetch may be skipped if we got an anti-spam + * or other PS_REFUSED error response during + * read_headers. */ if (protocol->fetch_body && !suppress_forward) { - int ok; - if ((ok = (protocol->trail)(sock, ctl, num))) goto cleanUp; set_timeout(ctl->server.timeout); @@ -1543,7 +1542,11 @@ const struct method *proto; /* protocol method table */ } /* process the body now */ - ok = readbody(sock, ctl,TRUE,len,protocol->delimited); + ok = readbody(sock, + ctl, + !suppress_forward, + len, + protocol->delimited); if (ok == PS_TRANSIENT) suppress_delete = TRUE; else if (ok) |