fetchmail-friends
[Top] [All Lists]

[fetchmail] Fetchmail 6.1.1 can't login to a server that 5.9.14 can handle?

2002-10-29 10:08:00
Hi there, I think I may have found a bug.

It seems like fetchmail 6.1.0 and 6.1.1 can't download mail from one of
the mail servers at my university. Fetchmail 5.9.14 works fine though, so
something weird is going on. KMail also has no problems with downloading
mail from this server.

Here are my system details:
Linux 2.4.19 (SourceMage GNU/Linux)
gcc 3.2 (fetchmail built from source)
Forwarding to Postfix 1.1.11 MTA
Command line options: -f /etc/fetchmailrc

Here's my /etc/fetchmailrc:

*** /etc/fetchmailrc **************************************************
set daemon 900
set syslog
set postmaster "root"
set bouncemail
set no spambounce
set properties ""

poll mail.csv.warwick.ac.uk
       user 'csvgu' there with password '*******' is 'gareth' here
***********************************************************************


Here's the output I get from fetchmail 6.1.1:

*** fetchmail 6.1.1 ***************************************************
root(_at_)willow:/home/gareth# fetchmail -V -f /etc/fetchmailrc
This is fetchmail release 6.1.1+SSL+NLS
Fallback MDA: (none)
Linux willow 2.4.19 #1 Mon Oct 28 17:52:06 GMT 2002 i686 unknown
Taking options from command line and /etc/fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to root.
Options for retrieving from 
csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:
  True name of server is mail.csv.warwick.ac.uk.
  Protocol is auto.
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: localhost (default)
  Single-drop mode: 1 local name(s) recognized.




root(_at_)willow:/home/gareth# fetchmail -v -v -f /etc/fetchmailrc
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol auto) at Tue 29
Oct 2002 16:49:09 GMT: poll started
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol IMAP) at Tue 29
Oct 2002 16:49:09 GMT: poll started
fetchmail: IMAP< * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS
AUTH=LOGIN] mail IMAP4rev1 2001.315 at Tue, 29 Oct 2002 16:55:18 +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 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
fetchmail: socket error while fetching from mail.csv.warwick.ac.uk
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol IMAP) at Tue 29
Oct 2002 16:49:10 GMT: poll completed
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol POP3) at Tue 29
Oct 2002 16:49:10 GMT: poll started
fetchmail: POP3< +OK POP3 mail v2001.78 server ready
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows:
fetchmail: POP3< TOP
fetchmail: POP3< LOGIN-DELAY 180
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< USER
fetchmail: POP3< SASL LOGIN
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK STLS completed
fetchmail: POP3> USER csvgu
fetchmail: POP3> PASS
fetchmail: Unknown login or authentication error on
csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk
fetchmail: socket error while fetching from mail.csv.warwick.ac.uk
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol POP3) at Tue 29
Oct 2002 16:49:13 GMT: poll completed
fetchmail: 6.1.1 querying mail.csv.warwick.ac.uk (protocol auto) at Tue 29
Oct 2002 16:49:13 GMT: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 2
fetchmail: Deleting fetchids file.
****************************************************************************


And here's the output from fetchmail 5.4.19:

*** fetchmail 5.9.14 *******************************************************
root(_at_)willow:/home/gareth# fetchmail -V -f /etc/fetchmailrc
This is fetchmail release 5.9.14+SSL+NLS
Fallback MDA: (none)
Linux willow 2.4.19 #1 Mon Oct 28 17:52:06 GMT 2002 i686 unknown
Taking options from command line and /etc/fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to root.
Options for retrieving from 
csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:
  True name of server is mail.csv.warwick.ac.uk.
  Protocol is auto.
  All available authentication methods will be tried.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: localhost (default)
  Recognized listener spam block responses are: 571 550 501 554
  Single-drop mode: 1 local name(s) recognized.




root(_at_)willow:/home/gareth# fetchmail -v -v -f /etc/fetchmailrc
fetchmail: 5.9.14 querying mail.csv.warwick.ac.uk (protocol auto) at Tue
29 Oct 2002 16:54:34 GMT: poll started
fetchmail: 5.9.14 querying mail.csv.warwick.ac.uk (protocol IMAP) at Tue
29 Oct 2002 16:54:34 GMT: poll started
fetchmail: IMAP< * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS
AUTH=LOGIN] mail IMAP4rev1 2001.315 at Tue, 29 Oct 2002 17:00:45 +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 "csvgu" ""
fetchmail: IMAP< A0002 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE
MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
MULTIAPPEND] User csvgu authenticated
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * 18 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 971809747] UID validity status
fetchmail: IMAP< * OK [UIDNEXT 3447] Predicted next UID
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted
\Draft \Seen)] Permanent flags
fetchmail: IMAP< A0003 OK [READ-WRITE] SELECT completed
fetchmail: 18 messages waiting after first poll
fetchmail: IMAP> A0004 EXPUNGE
fetchmail: IMAP< A0004 OK No messages deleted, so no update needed
fetchmail: 18 messages waiting after expunge
fetchmail: IMAP> A0005 SEARCH UNSEEN
fetchmail: IMAP< * SEARCH
fetchmail: IMAP< A0005 OK SEARCH completed
18 messages (18 seen) for csvgu at mail.csv.warwick.ac.uk.
fetchmail: IMAP> A0006 FETCH 1:18 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 5979)
fetchmail: IMAP< * 2 FETCH (RFC822.SIZE 4670)
fetchmail: IMAP< * 3 FETCH (RFC822.SIZE 3590)
fetchmail: IMAP< * 4 FETCH (RFC822.SIZE 2383)
fetchmail: IMAP< * 5 FETCH (RFC822.SIZE 2362)
fetchmail: IMAP< * 6 FETCH (RFC822.SIZE 3710)
fetchmail: IMAP< * 7 FETCH (RFC822.SIZE 2544)
fetchmail: IMAP< * 8 FETCH (RFC822.SIZE 4197)
fetchmail: IMAP< * 9 FETCH (RFC822.SIZE 2625)
fetchmail: IMAP< * 10 FETCH (RFC822.SIZE 4348)
fetchmail: IMAP< * 11 FETCH (RFC822.SIZE 3127)
fetchmail: IMAP< * 12 FETCH (RFC822.SIZE 13363)
fetchmail: IMAP< * 13 FETCH (RFC822.SIZE 1591)
fetchmail: IMAP< * 14 FETCH (RFC822.SIZE 1651)
fetchmail: IMAP< * 15 FETCH (RFC822.SIZE 1668)
fetchmail: IMAP< * 16 FETCH (RFC822.SIZE 1682)
fetchmail: IMAP< * 17 FETCH (RFC822.SIZE 1702)
fetchmail: IMAP< * 18 FETCH (RFC822.SIZE 3365)
fetchmail: IMAP< A0006 OK FETCH completed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:1 
(5979 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:2 
(4670 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:3 
(3590 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:4 
(2383 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:5 
(2362 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:6 
(3710 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:7 
(2544 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:8 
(4197 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:9 
(2625 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:10 
(4348 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:11 
(3127 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:12 
(13363 octets) not
flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:13 
(1591 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:14 
(1651 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:15 
(1668 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:16 
(1682 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:17 
(1702 octets) not flushed
skipping message csvgu(_at_)mail(_dot_)csv(_dot_)warwick(_dot_)ac(_dot_)uk:18 
(3365 octets) not flushed
fetchmail: IMAP> A0007 LOGOUT
fetchmail: IMAP< * BYE pansy IMAP4rev1 server terminating connection
fetchmail: IMAP< A0007 OK LOGOUT completed
fetchmail: 5.9.14 querying mail.csv.warwick.ac.uk (protocol IMAP) at Tue
29 Oct 2002 16:54:38 GMT: poll completed
fetchmail: 5.9.14 querying mail.csv.warwick.ac.uk (protocol auto) at Tue
29 Oct 2002 16:54:38 GMT: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Query status=1 (NOMAIL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 1
fetchmail: Deleting fetchids file.
**************************************************************************



I commented out the "set daemon 900" and "set syslog" options in my
/etc/fetchmailrc file for the purposes of producing these transcripts. As
you can see fetchmail 5.9.14 is having no trouble with this server while
6.1.1 falls down. I've tested 6.1.0 (although I haven't included a
transcript) and that doesn't work either, so that must be the version
where this bug was introduced.

I hope this is sufficient information for you to fix this problem. If you
need anything else I'll be happy to help :)

Cheers,
Gareth


<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] Fetchmail 6.1.1 can't login to a server that 5.9.14 can handle?, Gareth Clay <=