From 1c3ec2a3d554fc8a0730f45626be753ed27f09c2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 18 Oct 2002 11:03:01 +0000 Subject: [PATCH 1/1] Minor bug fixes. svn path=/trunk/; revision=3736 --- NEWS | 6 ++++++ conf.c | 2 +- fetchmail-FAQ.html | 25 +++++++++++++++++++------ fetchmail.man | 2 +- imap.c | 1 + 5 files changed, 28 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 7e080500..ab004d13 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,12 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) * OTP fix patches from Stanislav Brabec +* fix patch for writing antispam capability correctly in conf.c. +* Fix patches for Debian bugs #162571, #156592. +* Correction to manpage re -b and qmail. +* Patch to dusable use of STLS if auth passwd is specified. +* Fix specfile generation to handle SSL correctly. +* New Danish, Turkish, and Catalan translation files. fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines: diff --git a/conf.c b/conf.c index 4681523f..889a5116 100644 --- a/conf.c +++ b/conf.c @@ -396,7 +396,7 @@ void dump_config(struct runctl *runp, struct query *querylist) indent('\0'); fprintf(stdout, "'antispam':'"); if (!ctl->antispam) - fputs("'\n", stdout); + fputs("',\n", stdout); else { for (idp = ctl->antispam; idp; idp = idp->next) diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 0bdea96c..99725961 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -16,7 +16,7 @@ content="Frequently asked questions about fetchmail."/> Page To Site Map -$Date: 2002/10/18 10:20:44 $ +$Date: 2002/10/18 11:03:00 $ @@ -196,8 +196,7 @@ mangled.
X7. Some mail attachments are hanging fetchmail.
X8. A spurious ) is being appended to my -messages.
- +messages.

Other problems:

@@ -221,7 +220,9 @@ working?
messages over and over?
O10. Why is the received date on all my messages the same?
- +O11. I keep getting messages that say "Repoll +immediately" in my logs.
+

Answers:

@@ -1918,7 +1919,8 @@ Geocities are lame, you should boycott them anyway.

S8. How can I use fetchmail with Hotmail?

You can't, yet. But gotmail might +href="http://linux.cudeso.be/linuxdoc/gotmail.php">gotmail or +HotWayDaemon might be what you need.


@@ -3419,6 +3421,17 @@ messages the same?

This is a design choice in your MTA, not fetchmail. It's taking the received date from the last Received header.

+
+O11. I keep getting messages that say "Repoll +immediately" in my logs.
+ +

This is your server barfing on the CAPA probe that fetchmail sends.

+If you run fetchmail in daemon mode (say "set daemon 600"), you will +get the message only once per run.

+ +

If you set an authentication method explicitly (say, with +auth password), you will never get the message.

+
@@ -3426,7 +3439,7 @@ the received date from the last Received header.

Page - +
To Site Map$Date: 2002/10/18 10:20:44 $$Date: 2002/10/18 11:03:00 $
diff --git a/fetchmail.man b/fetchmail.man index 17f7c48f..064a7c58 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -466,7 +466,7 @@ listener before the connection is deliberately torn down and rebuilt overrides any limits set in your run control file. While \fBsendmail\fR(8) normally initiates delivery of a message immediately after receiving the message terminator, some SMTP listeners are not so -prompt. MTAs like \fIqmail\fR(8) and \fIsmail\fR(8) may wait till the +prompt. MTAs like \fIsmail\fR(8) may wait till the delivery socket is shut down to deliver. This may produce annoying delays when \fIfetchmail\fR is processing very large batches. Setting the batch limit to some nonzero size will prevent these delays. This diff --git a/imap.c b/imap.c index 9005fbf9..08aa4c80 100644 --- a/imap.c +++ b/imap.c @@ -358,6 +358,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) #ifdef SSL_ENABLE if ((ctl->server.authenticate == A_ANY) + && !ctl->use_ssl && strstr(capabilities, "STARTTLS")) { char *realhost; -- 2.43.2