Tech Support > Operating Systems > Linux / Variants > Why isn't fetchmail fetching?
Why isn't fetchmail fetching?
Posted by Tristan Miller on March 4th, 2004


Greetings.

Fetchmail has been working nicely for me for several months now. However,
now it's now downloading my mail any more. I haven't changed any
configuration files or installed new software. (I am *sure* of this
because it stopped doing it while I was on vacation and away from my
computer!) Perhaps the mail server has been changed somehow?

Here's what fetchmail outputs when I call it in client mode with the
verbose switches (and with the -a flag for good measure):

fetchmail: 6.2.3 querying mail.nothingisreal.com (protocol POP3) at Thu 04
Mar 2004 05:20:44 PM CET: poll started
fetchmail: POP3< +OK POP3 MegaPOP v1.40 2002/04/01 server ready
<efd3000076574740@mail.megamailservers.com>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Invalid command, try one of: USER name, PASS string,
APOP name digest, QUIT
fetchmail: Invalid command, try one of: USER name, PASS string, APOP name
digest, QUIT
fetchmail: POP3> USER psychonaut@nothingisreal.com
fetchmail: POP3< +OK psychonaut@nothingisreal.com selected
fetchmail: POP3> PASS
fetchmail: POP3< +OK Congratulations!
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 533 29769740
533 messages for psychonaut@nothingisreal.com at mail.nothingisreal.com
(29769740 octets).
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Hasta la Vista, (clean as a baby)
fetchmail: 6.2.3 querying mail.nothingisreal.com (protocol POP3) at Thu 04
Mar 2004 05:21:00 PM CET: poll completed

OK, so apparently it sees that there are 533 messages waiting; why doesn't
it download them (even with the -a switch)?

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you

Posted by Rinaldi J. Montessi on March 4th, 2004


On Thu, 04 Mar 2004 17:27:10 +0100, Tristan Miller wrote:
Have you checked your logs? Granted 533 is a huge number, but I've noticed
fetchmail not to retrieve a corrupted message. It's usually reported in the
logs, though.

You might try telnetting to your POP server and correcting the error.

Rinaldi
--
"I like your game but we have to change the rules."

Posted by Sandro Mangovski on March 4th, 2004


Why don't you paste us your .fetchmailrc file?

--
Sandro Mangovski
<Fish:#linux>@irc.idolnet.org
PGP Key:
QOTD: Let others keep their reputation. You keep their money.

Posted by Robert Nichols on March 5th, 2004


In article <1850777.Qk8Gekav17@ID-187157.News.Individual.NET>,
Tristan Miller <psychonaut@nothingisreal.com> wrote:
:Greetings.
:
:Fetchmail has been working nicely for me for several months now. However,
:now it's now downloading my mail any more. I haven't changed any
:configuration files or installed new software. (I am *sure* of this
:because it stopped doing it while I was on vacation and away from my
:computer!) Perhaps the mail server has been changed somehow?
:
:Here's what fetchmail outputs when I call it in client mode with the
:verbose switches (and with the -a flag for good measure):
:
:fetchmail: 6.2.3 querying mail.nothingisreal.com (protocol POP3) at Thu 04
:Mar 2004 05:20:44 PM CET: poll started
:fetchmail: POP3< +OK POP3 MegaPOP v1.40 2002/04/01 server ready
:<efd3000076574740@mail.megamailservers.com>
:fetchmail: POP3> CAPA
:fetchmail: POP3< -ERR Invalid command, try one of: USER name, PASS string,
:APOP name digest, QUIT
:fetchmail: Invalid command, try one of: USER name, PASS string, APOP name
:digest, QUIT
:fetchmail: POP3> USER psychonaut@nothingisreal.com
:fetchmail: POP3< +OK psychonaut@nothingisreal.com selected
:fetchmail: POP3> PASS
:fetchmail: POP3< +OK Congratulations!
:fetchmail: selecting or re-polling default folder
:fetchmail: POP3> STAT
:fetchmail: POP3< +OK 533 29769740
:533 messages for psychonaut@nothingisreal.com at mail.nothingisreal.com
29769740 octets).
:fetchmail: POP3> QUIT
:fetchmail: POP3< +OK Hasta la Vista, (clean as a baby)
:fetchmail: 6.2.3 querying mail.nothingisreal.com (protocol POP3) at Thu 04
:Mar 2004 05:21:00 PM CET: poll completed
:
:OK, so apparently it sees that there are 533 messages waiting; why doesn't
:it download them (even with the -a switch)?

Fetchmail is acting like you gave it a -c (--check) flag. The CAPA
error should be harmless. Fetchmail is trying a capability query that
your server doesn't support, but it's interesting that my version of
fetchmail (6.2.0+IMAP-GSS+NTLM+SSL+INET6+NLS) QUITs and immediately
reconnects when it sees that response.

--
Bob Nichols AT interaccess.com I am "rnichols"

Posted by those who know me have no need of my name on March 5th, 2004


in comp.mail.misc i read:
a -c trumps/disables a -a (and several other options) -- make sure it's not
being specified.

if fetchmail does this it is a flaw, it might not contact the same server
the second time and while the capabilities should be compatible there is
no guarantee (and after all, that's why fetchmail is bothering with it).

--
a signature

Posted by Robert Nichols on March 6th, 2004


In article <m1ishietkl.gnus@usa.net>,
those who know me have no need of my name <not-a-real-address@usa.net> wrote:
:in comp.mail.misc i read:
:
:>The CAPA error should be harmless. Fetchmail is trying a capability query
:>that your server doesn't support, but it's interesting that my version of
:>fetchmail (6.2.0+IMAP-GSS+NTLM+SSL+INET6+NLS) QUITs and immediately
:>reconnects when it sees that response.
:
:if fetchmail does this it is a flaw, it might not contact the same server
:the second time and while the capabilities should be compatible there is
:no guarantee (and after all, that's why fetchmail is bothering with it).

It seems harmless enough to me. When fetchmail reconnects it does not
attempt a CAPA command, and presumably just uses some basic set of
capabilities -- no doubt the same ones it would have used if it stayed
connected after the error response to its initial CAPA query, and
probably the same ones used by older versions of fetchmail that never
attempted a CAPA query at all. Whatever. Since it's working quite
well for me, I'm not inclined to pursue the matter further.

--
Bob Nichols AT interaccess.com I am "rnichols"

Posted by Tristan Miller on March 6th, 2004


Greetings.

In article <slrnc4eok6.6cc.rinaldi@Senior.Envision>, Rinaldi J. Montessi
wrote:
That was it -- a corrupted message. (Something about the size of the
message not matching that which was expected.) Once this message was
deleted, fetchmail started working normally again.

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you


Similar Posts