fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail or POP3 server bug?

2001-11-19 20:39:33
Hello fetchmail friends :)

I have trouble fetching POP3 mail from our remote (hosted) mail server.
All details provided below. Basically the problems seems to be that the
remote server does not list messages beginning with 1, but fetchmail
will always start by sending "RETR 1", the mail server says no such
message, and that's the end. Is fetchmail wrong, or is the mail server
wrong? Or are there any fetchmail parameters I have not tried that can
make it work (-a and -F dont)?

The reason why the mail server start listing mails numbered higher than
1 is apparently that when mails are read through it's web interface they
are marked as read, and will not be listed by the LIST command. I also
suspect that mails become marked as read if the connection has been
dropped during fetching. But that happens rarely, therefore I have been
fetching our mail for a long time without problems, but suddenly they
have started apepearing, maybe the POP3 server has been reconfigured, I
dont know.

I have tried to bug the ISP but they of course just tell me to use a
stupid workaround, which is to use the web interface to delete the read
messages! When there are no read messages on the POP3 server, fetchmail
works fine, since the LIST command returns a list starting from 1.

Regards, and thanks for a great program!

Simon Lodal


==========
Machine data:
OS: linux-2.4.9. Once a SuSE-6.2 box, but almost all packages have been
updated from source by me.
Tools: gcc-2.95.2, make-3.79.


==========
'fetchmail -V' output (run as user netadm):
This is fetchmail release 5.9.4+NLS
Linux server3 2.4.9 #1 Fri Aug 17 17:01:04 CEST 2001 i686 unknown
Taking options from command line and /root/netadm/.fetchmailrc
Logfile is /var/log/fetchmail
Idfile is /root/netadm/.fetchids
Fetchmail will forward misaddressed multidrop messages to netadm.
Options for retrieving from 
simonl(_at_)mirrormind(_dot_)com@mail.mirrormind.com:
  True name of server is mail.mirrormind.com.
  Protocol is POP3.
  All available authentication methods will be tried.
  Server nonresponse timeout is 30 seconds.
  Default mailbox selected.
  All messages will be retrieved (--all on).
  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 enabled (forcecr on).
  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.
  No UIDs saved from this host.


==========
My .fetchmailrc:
set logfile /var/log/fetchmail
poll mail.mirrormind.com protocol POP3 timeout 30 user
"simonl(_at_)mirrormind(_dot_)com" pass "secret" fetchall forcecr to simonl

==========
Output of querying mail server with 'fetchmail -v -v':
fetchmail: 5.9.4 querying mail.mirrormind.com (protocol POP3) at Tue Nov
20 03:58:42 2001: poll started
fetchmail: POP3< +OK X1 NT-POP3 Server mail.digiweb2.dk (IMail 4.07
100680-3)
fetchmail: POP3> USER simonl(_at_)mirrormind(_dot_)com
fetchmail: POP3< +OK welcome
fetchmail: POP3> PASS *
fetchmail: POP3< +OK maildrop locked and ready
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1876 5805619
fetchmail: 1876 messages for simonl(_at_)mirrormind(_dot_)com at 
mail.digiweb2.dk
(5805619 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 1876 messages (5805619 octets)
fetchmail: POP3< 335 1153
fetchmail: POP3< 336 2494
fetchmail: POP3< 337 1152
fetchmail: POP3< 338 1153
fetchmail: POP3< 339 1153
fetchmail: POP3< 340 1153
[cut 1530 lines]
fetchmail: POP3< 1871 3412
fetchmail: POP3< 1872 4149
fetchmail: POP3< 1873 4018
fetchmail: POP3< 1874 32573
fetchmail: POP3< 1875 3713
fetchmail: POP3< 1876 4408
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< -ERR no such msg
fetchmail: no such msg
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP3 Server saying Good-Bye
fetchmail: client/server protocol error while fetching from
mail.mirrormind.com
fetchmail: 5.9.4 querying mail.mirrormind.com (protocol POP3) at Tue Nov
20 03:58:50 2001: poll completed
fetchmail: Query status=4 (PROTOCOL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 4
fetchmail: Deleting fetchids file.


==========
End.


<Prev in Thread] Current Thread [Next in Thread>