On Wed, 2002-11-13 at 17:42, Gareth Clay wrote:
As for using the Warwick groupwise server, that fails for me using
fetchmail 6.1.2 for the same reason. Fetchmail is trying to use TLS and
for some reason (botched Warwick implementation?) can't.
Is there any any news on a patch to provide something for fetchmail to
fall back on if it can't use it's first choice of protocol? I read earlier
in the thread that one was being worked on.
Cheers,
Gareth
Ok, strange things going on here. I downloaded the latest fetchmail
(6.1.2), and built it:
[mike(_at_)relativity downloads]$ tar xfz fetchmail-6.1.2.tar.gz
[mike(_at_)relativity downloads]$ cd fetchmail-6.1.2
[mike(_at_)relativity fetchmail-6.1.2]$ ./configure
[mike(_at_)relativity fetchmail-6.1.2]$ make
[mike(_at_)relativity fetchmail-6.1.2]$ ./fetchmail -c -v -v
My ~/.fetchmailrc:
set postmaster "mike"
set bouncemail
set no spambounce
set properties ""
poll mail.csv.warwick.ac.uk
user 'esubad' there with password 'xxx' is 'mike' here
fetchmail: 6.1.2 querying mail.csv.warwick.ac.uk (protocol auto) at Wed
13 Nov 2002 19:08:45 GMT: poll started
fetchmail: 6.1.2 querying mail.csv.warwick.ac.uk (protocol IMAP) at Wed
13 Nov 2002 19:08:45 GMT: poll started
fetchmail: IMAP< * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS
AUTH=LOGIN] mail IMAP4rev1 2001.315 at Wed, 13 Nov 2002 19:04:04 +0000
(GMT)
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
LOGIN-REFERRALS STARTTLS AUTH=LOGIN
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "esubad" ""
fetchmail: IMAP< A0002 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE
MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
MULTIAPPEND] User esubad authenticated
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 EXAMINE "INBOX"
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1] UID validity status
fetchmail: IMAP< * OK [UIDNEXT 1] Predicted next UID
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
fetchmail: IMAP< * OK [PERMANENTFLAGS ()] Permanent flags
fetchmail: IMAP< A0003 OK [READ-ONLY] EXAMINE completed
fetchmail: 0 messages waiting after first poll
fetchmail: No mail for esubad at mail.csv.warwick.ac.uk
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< * BYE pansy IMAP4rev1 server terminating connection
fetchmail: IMAP< A0004 OK LOGOUT completed
fetchmail: 6.1.2 querying mail.csv.warwick.ac.uk (protocol IMAP) at Wed
13 Nov 2002 19:08:45 GMT: poll completed
fetchmail: 6.1.2 querying mail.csv.warwick.ac.uk (protocol auto) at Wed
13 Nov 2002 19:08:45 GMT: poll completed
fetchmail: normal termination, status 1
For some reason, mine didn't bother trying to use TLS, whereas Gareth's
did:
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK STARTTLS completed
fetchmail: IMAP> A0003 LOGIN "csvgu" ""
fetchmail: IMAP> A0004 *
fetchmail: Unknown login or authentication error on
csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk
...as opposed to...
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "esubad" ""
fetchmail: IMAP< A0002 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE
MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
MULTIAPPEND] User esubad authenticated
Anyone got any clues as to this? How did you get your fetchmail binary,
Gareth?
Cheers,
Mike.