From e588fb0f217d4ab7d1bfe8a1d292b8f556cefcb8 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" Before reporting any bug, please read G3 for
@@ -36,245 +35,217 @@ at esr@thyrsus.com.
@@ -19,11 +18,11 @@ content="fetchmail, POP, POP2, POP3, IMAP, remote mail" />
Page
-To Site
Map
-$Date: 2002/07/30 13:26:48 $
+$Date: 2002/09/04 13:58:24 $
+
Frequently Asked Questions About Fetchmail
General questions:
-G1. What is fetchmail and why should I
-bother?
-G2. Where do I find the latest FAQ and fetchmail
-sources?
-G3. 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 behave like Outlook
-Express.
-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?
+G1. What is fetchmail and why should I bother?
+G2. Where do I find the latest FAQ and fetchmail sources?
+G3. 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 behave like Outlook Express.
+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.
+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.
-
+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?
+on my own machine?
C2. How can I arrange for a fetchmail daemon to get
-killed when I log out?
+killed when I log out?
C3. How do I know what interface and address to use
-with --interface?
+with --interface?
C4. How can I set up support for sendmail's anti-spam
-features?
+features?
C5. How can I poll some of my mailboxes more/less
-often than others?
+often than others?
C6. Fetchmail works OK started up manually, but not
-from an init script.
+from an init script.
C7. How can I forward mail to another
-host?.
+host?.
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?
-
+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?
+S1. How can I use fetchmail with qpopper?
S2. How can I use fetchmail with Microsoft
-Exchange?
+Exchange?
S3. How can I use fetchmail with Compuserve
-RPA?
+RPA?
S4. How can I use fetchmail with Demon Internet's
-SDPS?
+SDPS?
S5. How can I use fetchmail with usa.net's
-servers?
+servers?
S6. How can I use fetchmail with HP
-OpenMail?
+OpenMail?
S7. How can I use fetchmail with geocities POP3
-servers?
-S8. How can I use fetchmail with Hotmail?
-S9. How can I use fetchmail with MSN?
-S10. How can I use fetchmail with SpryNet?
-S11. How can I use fetchmail with FTGate?
-S12. How can I use fetchmail with MailMax?
+servers?
+S8. How can I use fetchmail with Hotmail?
+S9. How can I use fetchmail with MSN?
+S10. How can I use fetchmail with SpryNet?
+S11. How can I use fetchmail with FTGate?
+S12. How can I use fetchmail with MailMax?
S13. How can I use fetchmail with Novell
-GroupWise?
+GroupWise?
S14. How can I use fetchmail with
-InterChange?
-S15. How can I use fetchmail with GMX?
+InterChange?
+S15. How can I use fetchmail with GMX?
How to set up well-known security and authentication
methods:
-K1. How can I use fetchmail with SOCKS?
+K1. How can I use fetchmail with SOCKS?
K2. How can I use fetchmail with IPv6 and
-IPsec?
+IPsec?
K3. How can I get fetchmail to work with
-ssh?
+ssh?
K4. What do I have to do to use the IMAP-GSS
-protocol?
-K5. How can I use fetchmail with SSL?
+protocol?
+K5. How can I use fetchmail with SSL?
Runtime fatal errors:
R1. Fetchmail isn't working, and -v shows `SMTP
-connect failed' messages.
+connect failed' messages.
R2. When I try to configure an MDA, fetchmail doesn't
-work.
+work.
R3. Fetchmail dumps core when given an invalid rc
-file.
+file.
R4. Fetchmail dumps core in -V mode, but operates
-normally otherwise.
+normally otherwise.
R5. Running fetchmail in daemon mode doesn't
-work.
+work.
R6. Fetchmail randomly dies with socket
-errors.
+errors.
R7. Fetchmail running as root stopped working after
-an OS upgrade
+an OS upgrade
R8. Fetchmail is timing out after fetching certain
-messages but before deleting them
+messages but before deleting them
R9. Fetchmail is timing out during message
-fetches
-R10. Fetchmail is dying with SIGPIPE.
+fetches
+R10. Fetchmail is dying with SIGPIPE.
R11. My server is hanging up or emitting errors on
-CAPA.
+CAPA.
Hangs and lockups:
-H1. Fetchmail hangs when used with pppd.
+H1. Fetchmail hangs when used with pppd.
H2. Fetchmail hangs during the MAIL FROM
-exchange.
-H3. Fetchmail hangs while fetching mail.
+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.
+not getting any mail.
D2. All my mail seems to disappear after a dropped
-connection.
+connection.
D3. Mail that was being fetched when I interrupted my
-fetchmail seems to have been vanished.
+fetchmail seems to have been vanished.
Multidrop-mode problems:
M1. I've declared local names, but all my multidrop
-mail is going to root anyway.
+mail is going to root anyway.
M2. I can't seem to get fetchmail to route to a local
-domain properly.
+domain properly.
M3. I tried to run a mailing list using multidrop,
-and I have a mail loop!
+and I have a mail loop!
M4. My multidrop fetchmail seems to be having DNS
-problems.
+problems.
M5. I'm seeing long DNS delays before each message is
-processed.
+processed.
M6. How do I get multidrop mode to work with
-majordomo?
+majordomo?
M7. Multidrop mode isn't parsing envelope addresses
-from my Received headers as it should.
+from my Received headers as it should.
M8. Users are getting multiple copies of
-messages.
+messages.
Mangled mail:
X1. Spurious blank lines are appearing in the headers
-of fetched mail.
+of fetched mail.
X2. My mail client can't see a Subject
-line.
+line.
X3. Messages containing "From" at start of line are
-being split.
+being split.
X4. My mail is being mangled in a new and different
-way.
+way.
X5. Using POP3, retrievals seems to be fetching too
-much!
+much!
X6. My mail attachments are being dropped or
-mangled.
+mangled.
X7. Some mail attachments are hanging
-fetchmail.
+fetchmail.
X8. A spurious ) is being appended to my
-messages.
+messages.
Other problems:
O1. The --logfile option doesn't work if the logfile
-doesn't exist.
+doesn't exist.
O2. Every time I get a POP or IMAP message the header
-is dumped to all my terminal sessions.
+is dumped to all my terminal sessions.
O3. Does fetchmail reread its rc file every poll
-cycle?
+cycle?
O4. Why do deleted messages show up again when I take
-a line hit while downloading?
+a line hit while downloading?
O5. Why is fetched mail being logged with my name,
-not the real From address?
+not the real From address?
O6. I'm seeing long sendmail delays or hangs near the
-start of each poll cycle.
+start of each poll cycle.
O7. Why doesn't fetchmail deliver mail in date-sorted
-order?
+order?
O8. I'm using pppd. Why isn't my monitor option
-working?
+working?
O9. Why does fetchmail keep retrieving the same
-messages over and over?
+messages over and over?
O10. Why is the received date on all my messages the
-same?
+same?
Answers:
-
+
G1. What is fetchmail and why should I
bother?
@@ -306,7 +277,7 @@ License.
If you found this FAQ in the distribution, see the README for fetchmail's full feature list.
-If you're reading a non-HTML dump of this FAQ, you can find the paper on the Web with a search for that title.
-Finally, you can use SSL for complete end-to-end encryption if you have an SSL-enabled mailserver.
-The specific recipe for using fetchmail with a firewall is at K1
-(The same problem has been reported under HP-UX v10.20 and IRIX)
-protocol
'.
Do similarly for any `monitor
' or
`batchlimit
' options.
The lexical analyzer in 5.0.6 and beyond is smarter and assumes any token following "username" or "password" is a string.
-Upgrade to a 5.0.6 or later fetchmail, or put string quotes around your token.
-Some people start up and shut down fetchmail using the ppp-up and ppp-down scripts of pppd.
-smtphost
or
smtpname
option. See the manual page for details.
-qvirtual "mbox-userstr-"
' in your fetchmail config
file to strip the prefix from the local user name.
-someone@localhost
. Work around this with an
smtphost
or smtpaddress
.
-vbmailshield's SMTP interpreter is broken. It doesn't understand RSET.
+ +As a workaround, you can set batchlimit to 1 so RSET is never used.
+ +I'll provide the CD.
-Fix: Get an email provider that doesn't suck. The pop-up ads on Geocities are lame, you should boycott them anyway.
-You can't, yet. But gotmail might be what -you need.
+href="http://linux.cudeso.be/linuxdoc/gotmail.php">gotmail might +be what you need. -You can't. MSN uses something that looks like POP3, except the authentication part is nonstandard. And of course they don't @@ -1980,7 +1956,7 @@ authentication. It's possible this may enable fetchmail to talk to MSN; if so, somebody should report it so this FAQ can be corrected.
-fetchall
flag to ensure that it's recovered on the
next cycle.
-fetchall
option to force use of RETR and work around
this bug.
--ERR
tag) that confuses
fetchmail.
-Alan Schmitt has added a similar --with-socks5 option that may work better if you have a recent version of the SOCKS library.
-Now you don't have to worry about your password appearing in cleartext in your .fetchmailrc, or across the network.
-We have one report from a SunOS 4.1.4 user that trying to run @@ -2376,7 +2352,7 @@ child of PID 1). This is important when you start fetchmail interactively and than quit interactive shell. The line above makes sure fetchmail lives after that!
-Your POP3 server is broken. You can work around this with the declaration auth password in your .fetchmailrc.
-For more details consult the file /usr/share/sendmail-cf/README.
-Adding 'sendmail : 127.0.0.1' to /etc/hosts.allow could solve this problem.
-make sure that 'localuser' does exist and can receive mail.
-Solution: switch to an IMAP4 server.
-Occasionally these errors indicate the sort of header-parsing problem described in M7.
-If you use sendmail, you can check the list expansion with
sendmail -bv
.
mda
' option.
-Workaround: set the fetchall
option. Under POP3
this has the side effect of forcing RETR use.
There is no fix for this. The nuke mentioned in S2 looks more tempting all the time.
-No, but versions 5.2.2 and later will notice when you modify your rc file and restart, reading it.
-FEATURE(nodns)
.
help, and is a good idea for speeding up other services as well.
Switching to a faster MTA like qmail or exim might help.
-Re-ordering messages is a user-agent function, anyway.
-This is a design choice in your MTA, not fetchmail. It's taking the received date from the last Received header.
-Back to Fetchmail Home Page | To Site Map | -$Date: 2002/07/30 13:26:48 $ | +$Date: 2002/09/04 13:58:24 $ |