POP from gmail using fetchmail

Lynn David Newton lnewton at mvista.com
Thu Oct 6 11:24:31 MST 2005


Does anyone know the correct way to make POP3 retrieve
email from a gmail.com account using fetchmail?

BTW, I'm using SuSE 9.2.

I use the fetchmail daemon to retrieve email. Works
fine, always has.

fetchmail sends retrieved mail to be filtered by
procmail, which I then pick up and read using XEmacs
(the VM package). I don't use Thunderbird or one of the
more commonly used email clients. That should not be a
factor, because the problem has to do simply with
getting the mail from my account at gmail.com to here,
not with filtering and reading it.

A line like this is in my fetchmail configuration file

poll "pop.gmail.com" protocol POP3 : user "NOTMYREALGMAILUSERNAME" there with password "NOTMYREALPASSWORD" is "NOTMYREALLOCALUSERNAME" here ;

This follows exactly the model of the other lines I've
used for years that *do* work.

Upon restarting the fetchmail daemon, the log file
(/var/log/fetchmail) shows lines of this type:

fetchmail: timeout after 300 seconds waiting to connect to server pop.gmail.com.
fetchmail: socket error while fetching from pop.gmail.com

Yes, I have followed the instructions shown at:

https://gmail.google.com/support/bin/answer.py?answer=13273

And according to the instructions in

https://gmail.google.com/support/bin/answer.py?answer=13285

pop.gmail.com *is* the correct system to poll according
to that (unless I've misread it). Also, I can ping that
address.

I don't know what to do next, except probably to
disable that line for now, because if I'm polling every
60 seconds and they're taking 300 seconds to time out,
somewhere along the line there might be requests
stacking up.

Help!?? Thank you.

-- 
Lynn David Newton
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ 85282
Phone: 480-517-5047
Email: lnewton at mvista.com


More information about the PLUG-discuss mailing list