Re: Fetchmail doesn't fetch
Sam Rosenfeld said:
> My command of "fetchmail" yields an index of messages which hangs and
> then after it times out (300 sec), gives the reason for the error as
> "7". ?The manpage says this condition (fetchmail timing out) can occur
> "while waiting for the server."
> 1666 messages (21 seen) for sam at wdn.com.
> fetchmail: IMAP> A0005 FETCH 1:1666 RFC822.SIZE
> fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 2972)
> fetchmail: IMAP< * 2 FETCH (RFC822.SIZE 4961)
> SHORTENING because this list seems to have limited utility.
> fetchmail: IMAP< * 903 FETCH (RFC822.SIZE 2786)
> fetchmail: IMAP< * 904 FETCH (RFC822.SIZE 4089)
> fetchmail: IMAP< * 905 FETCH (RFC822.SIZE 2934)
> fetchmail: terminated with signal 2
> fetchmail: Deleting fetchids file.
Try using the '-B' option to fetchmail to limit the number of messages
retrieved in a single batch to some sane number like 300 or so. Looks
like the IMAP server on the other end is dying after delivering nearly
1000 messages to you.