Frequently Asked Questions About Fetchmail
Support? Bug reports? Please read G3 for what information is required to get your problem
solved as quickly as possible.
Note that this FAQ is occasionally updated from the Git repository
and speaks in the past tense ("since") about a fetchmail release that is
not yet available. Please try a release candidate for that version in
case you need the new option.
If you have a question or answer you think ought to be added to
this FAQ list, file it to one of the trackers at our SourceForge.net
project site or post to one of the fetchmail mailing lists (see
below).
Contents
Detailed Contents
G. General problems
B. Build-time problems
F. Fetchmail configuration file grammar questions
C. Configuration questions
T. How to make fetchmail play nice with various MTAs
S. How to make fetchmail work with various servers
I. How to fetchmail work with specific ISPs
K. How to set up well-known security and authentication
R. Runtime fatal errors
H. Hangs and lockups
D. Disappearing mail
M. Multidrop-mode problems
X. Mangled mail
O. Other problems
Detailed Contents
General problems
G1. What is fetchmail and why should I bother?
G2. Where do I find the latest FAQ and fetchmail sources?
G3. Something doesn't work/I think I've found a bug. Will you fix it?
G4. I have this idea for a neat feature. Will you add it?
G5. I want to make fetchmail remove kept mail after some days.
G6. Is there a mailing list for exchanging tips?
G7. So, what's this I hear about a fetchmail paper?
G8. What is the best server to use with fetchmail?
G9. What is the best mail program to use with fetchmail?
G10. How can I avoid sending my password en clair?
G11. Is any special configuration needed to use a dynamic IP address?
G12. Is any special configuration needed to use firewalls?
G13. Is any special configuration needed to send mail?
G14. Is fetchmail Y2K-compliant?
G15. Is there a way in fetchmail to support disconnected IMAP mode?
G16. How will fetchmail perform under heavy loads?
Build-time problems
B1. Make coughs and dies when building on FreeBSD.
B2. Lex bombs out while building the fetchmail lexer.
B3. I get link failures when I try to build fetchmail.
B4. I get build failures in the intl directory.
Fetchmail configuration file grammar questions
F1. Why does my old .fetchmailrc no longer work?
F2. The .fetchmailrc parser won't accept my all-numeric user name.
F3. The .fetchmailrc parser won't accept my host or username beginning with 'no'.
F4. I'm getting a 'parse error' message I don't understand.
Configuration questions
C1. Why do I need a .fetchmailrc when running as root
on my own machine?
C2. How can I arrange for a fetchmail daemon to get
killed when I log out?
C3. How do I know what interface and address to use
with --interface?
C4. How can I set up support for sendmail's anti-spam
features?
C5. How can I poll some of my mailboxes more/less
often than others?
C6. Fetchmail works OK started up manually, but not
from an init script.
C7. How can I forward mail to another
host?
C8. Why is "NOMAIL" an error?/I frequently get messages
from cron!
How to make fetchmail play nice with various MTAs
T1. How can I use fetchmail with sendmail?
T2. How can I use fetchmail with qmail?
T3. How can I use fetchmail with exim?
T4. How can I use fetchmail with smail?
T5. How can I use fetchmail with SCO's MMDF?
T6. How can I use fetchmail with Lotus Notes?
T7. How can I use fetchmail with Courier IMAP?
T8. How can I use fetchmail with vbmailshield?
How to make fetchmail work with various servers
S1. How can I use fetchmail with qpopper?
S2. How can I use fetchmail with Microsoft Exchange?
S3. How can I use fetchmail with HP OpenMail?
S4. How can I use fetchmail with Novell GroupWise?
S5. How can I use fetchmail with InterChange?
S6. How can I use fetchmail with MailMax?
S7. How can I use fetchmail with FTGate?
How to fetchmail work with specific ISPs
I1. How can I use fetchmail with Compuserve RPA?
I2. How can I use fetchmail with Demon Internet's SDPS?
I3. How can I use fetchmail with usa.net's servers?
I4. How can I use fetchmail with geocities POP3 servers?
I5. How can I use fetchmail with Hotmail or Lycos Webmail?
I6. How can I use fetchmail with MSN?
I7. How can I use fetchmail with SpryNet?
I8. How can I use fetchmail with comcast.net or other
Maillennium servers?
I9. How can I use fetchmail with GMail/Google Mail?
How to set up well-known security and authentication
methods
K1. How can I use fetchmail with SOCKS?
K2. How can I use fetchmail with IPv6 and IPsec?
K3. How can I get fetchmail to work with ssh?
K4. What do I have to do to use the IMAP-GSS protocol?
K5. How can I use fetchmail with SSL?
K6. How can I tell fetchmail not to try TLS if the server
advertises it? Why does fetchmail use SSL even though not configured?
Runtime fatal errors
R1. Fetchmail isn't working, and -v shows 'SMTP
connect failed' messages.
R2. When I try to configure an MDA, fetchmail doesn't
work.
R3. Fetchmail dumps core when given an invalid rc
file.
R4. Fetchmail dumps core in -V mode, but operates
normally otherwise.
R5. Running fetchmail in daemon mode doesn't
work.
R6. Fetchmail randomly dies with socket errors.
R7. Fetchmail running as root stopped working after
an OS upgrade
R8. Fetchmail is timing out after fetching certain
messages but before deleting them
R9. Fetchmail is timing out during message fetches
R10. Fetchmail is dying with SIGPIPE.
R11. My server is hanging or emitting errors on CAPA.
R12. Fetchmail isn't working and reports getaddrinfo
errors.
R13. What does "Interrupted system call" mean?
R14. Since upgrading fetchmail/OpenSSL, I can no longer connect!
R15. Help, I'm getting Authorization failure!
Hangs and lockups
H1. Fetchmail hangs when used with pppd.
H2. Fetchmail hangs during the MAIL FROM
exchange.
H3. Fetchmail hangs while fetching mail.
Disappearing mail
D1. I think I've set up fetchmail correctly, but I'm
not getting any mail.
D2. All my mail seems to disappear after a dropped
connection.
D3. Mail that was being fetched when I interrupted my
fetchmail seems to have been vanished.
Multidrop-mode problems
M0. What about multidrop, anyways?
M1. I've declared local names, but all my multidrop
mail is going to root anyway.
M2. I can't seem to get fetchmail to route to a local
domain properly.
M3. I tried to run a mailing list using multidrop,
and I have a mail loop!
M4. My multidrop fetchmail seems to be having DNS
problems.
M5. I'm seeing long DNS delays before each message is
processed.
M6. How do I get multidrop mode to work with
majordomo?
M7. Multidrop mode isn't parsing envelope addresses
from my Received headers as it should.
M8. Users are getting multiple copies of
messages.
Mangled mail
X1. Spurious blank lines are appearing in the headers
of fetched mail.
X2. My mail client can't see a Subject
line.
X3. Messages containing "From" at start of line are
being split.
X4. My mail is being mangled in a new and different
way.
X5. Using POP3, retrievals seems to be fetching too
much!
X6. My mail attachments are being dropped or
mangled.
X7. Some mail attachments are hanging
fetchmail.
X8. A spurious ) is being appended to my
messages.
X9. Missing "Content-Transfer-Encoding" header
with Domino IMAP
X10. Fetchmail delivers partial messages
Other problems
O1. The --logfile option doesn't work if the logfile
doesn't exist.
O2. Every time I get a POP or IMAP message the header
is dumped to all my terminal sessions.
O3. Does fetchmail reread its rc file every poll
cycle?
O4. Why do deleted messages show up again when I take
a line hit while downloading?
O5. Why is fetched mail being logged with my name,
not the real From address?
O6. I'm seeing long sendmail delays or hangs near the
start of each poll cycle.
O7. Why doesn't fetchmail deliver mail in date-sorted
order?
O8. I'm using pppd. Why isn't my monitor option
working?
O9. Why does fetchmail keep retrieving the same
messages over and over?
O10. Why is the received date on all my messages the
same?
O11. I keep getting messages that say "Repoll
immediately" in my logs.
O12. Fetchmail no longer expunges mail on a 451 SMTP response.
O13. I want timestamp information in my fetchmail logs.
O14. Fetchmail no longer deletes oversized mails with
--flush.
O15. Fetchmail always retains the first message in the
mailbox.
O16. Why is the Fetchmail FAQ only available in
ISO-216 A4 format? How do I get the FAQ in Letter
format?
O17. Linux logs "TCP(fetchmail:...): Application bug, race
in MSG_PEEK."
General problems
Fetchmail is a one-stop solution to the remote mail retrieval
problem for Unix machines, quite useful to anyone with an
intermittent or dynamic-IP connection to a remote mailserver, SLIP or
PPP dialup, or leased line when SMTP isn't desired. Fetchmail can
collect mail using any variant of POP or IMAP and forwards to a the
local SMTP (via TCP socket) or LMTP (via TCP or Unix socket) listener or
into an MDA program, enabling all the normal
forwarding/filtering/aliasing mechanisms that would apply to local mail
or mail arriving via a full-time TCP/IP connection.
Fetchmail is not a toy or a coder's learning exercise, but an
industrial-strength tool capable of transparently handling every
retrieval demand from those of a simple single-user ISP connection
up to mail retrieval and rerouting for an entire client domain.
Fetchmail is easy to configure, unobtrusive in operation, powerful,
feature-rich, and well documented.
Fetchmail is Open Source
Software. The openness of the sources enables you to review and
customize the code, and contribute your changes.
A former fetchmail maintainer once claimed that Open Source software
were the strongest quality assurance, but the current maintainers do not
believe that open source alone is a criterion for quality – the remotely exploitable POP3
vulnerability (CVE-2005-2335) lingered undiscove