Fetchmail.rc question

C.M. Brannon cmbrannon at cox.net
Tue Jan 29 16:32:28 EST 2008

dan Murphy <mweeby at verizon.net> writes:

> Does anyone know how a .fetchmail.rc file would be written to access 
> gmail?  I saw some discussion about that here last fall, but didn't take 
> note of it.

gmail uses pop3, so you'd use the same style of .fetchmailrc that you
use with any other pop3 provider.  gmail also supports pop3 over SSL /
TLS, and I use that instead of plain old unencrypted pop3.
You may also have to enable POP in your gmail settings page, if it isn't
already enabled.

Personally, I use getmail instead of fetchmail.  It's less
complicated, doesn't require an SMTP server, and is written in
python.  Fetchmail is written in C, and there are plenty of exploits
for it.  Here's a copy of my .getmailrc file:

===begin getmailrc===
delete = 1
type = SimplePOP3SSLRetriever
server = pop.gmail.com
username = cmbrannon79
password = VerySecretPassword
type = MDA_external
path = /usr/bin/procmail
arguments = ("-f", "%(sender)")
user = chrbran
===end getmailrc===

Most of this should be pretty self-explanatory.  The [destination]
section of the config file tells getmail to pass incoming messages to
procmail, delivering them to chrbran (which is the name of my user
This should all translate nicely to fetchmailrc syntax, if need be.

-- Chris

More information about the Speakup mailing list