From 4482579b645d64cf43f5da9b44b05ae0cdf34776 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 25 Dec 2001 04:55:14 +0000 Subject: Two new FAQ entries. svn path=/trunk/; revision=3568 --- fetchmail-FAQ.html | 121 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 90 insertions(+), 31 deletions(-) (limited to 'fetchmail-FAQ.html') diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index a03c1eb6..0af81125 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 2001/12/14 03:32:11 $ +$Date: 2001/12/25 04:55:14 $

Frequently Asked Questions About Fetchmail

@@ -106,15 +106,20 @@ IP address?
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 hangs when used with pppd.
-R7. Fetchmail randomly dies with socket errors.
-R8. Fetchmail running as root stopped working after an OS upgrade
-R9. Fetchmail is timing out after fetching certain +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
-R10. Fetchmail is timing out during message fetches
-R11. Fetchmail is dying with SIGPIPE.
+R9. Fetchmail is timing out during message fetches
+R10. Fetchmail is dying with SIGPIPE.
-

Disappearing mail

+

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.
@@ -646,14 +651,14 @@ on a 64-bit machine by then, you'll deserve to lose.

G14. Is there a way in fetchmail to support disconnected IMAP mode?

-No. Fetchmail is a mail transport agent, best understood as a protocol +

No. Fetchmail is a mail transport agent, best understood as a protocol gateway between POP3/IMAP servers and SMTP. Disconnected operation requires an elaborate interactive client. It's a very different problem.


G15. How will fetchmail perform under heavy loads?

-Fetchmail streams message bodies line-by-line; the most core it +

Fetchmail streams message bodies line-by-line; the most core it ever requires per message is enough memory to hold the RFC822 header, and that storage is freed when body processing begins. It is, accordingly, quite economical in its use of memory. @@ -673,14 +678,14 @@ latency).


B1. Make coughs and dies when building on FreeBSD.

-The vendor-supplied make on FreeBSD systems can only be used within +

The vendor-supplied make on FreeBSD systems can only be used within FreeBSD's "scope", e.g. the ports collection. Type "gmake" to run GNU make and better things will happen.


B2. Lex bombs out while building the fetchmail lexer.

-In the immortal words of Alan Cox the last time this came up: ``Take +

In the immortal words of Alan Cox the last time this came up: ``Take the Solaris lex and stick it up the backside of a passing Sun salesman, then install flex and use that. All @@ -2019,14 +2024,7 @@ interactive shell. The line above makes sure fetchmail lives after that!


-

R6. Fetchmail hangs when used with pppd.

- -Your problem may be with pppd's `demand' option. We have a report that -fetchmail doesn't play well with it, but works with pppd if `demand' -is turned off. We have no idea why this is. - -
-

R7. Fetchmail randomly dies with socket errors.

+

R6. Fetchmail randomly dies with socket errors.

Check the MTU value in your PPP interface reported by /sbin/ifconfig. If it's over 600, change it in your PPP @@ -2046,7 +2044,7 @@ name of one of the servers in the ring or to a corresponding IP address.
-

R8. Fetchmail running as root stopped working after an OS upgrade

+

R7. Fetchmail running as root stopped working after an OS upgrade

In RH 6.0, the HOME value in the boot-time root environment changed from /root to / as the result of a change in init. Move your @@ -2054,7 +2052,7 @@ from /root to / as the result of a change in init. Move your (Oddly, a similar problem has been reported from Debian systems.)
-

R9. Fetchmail is timing out after fetching certain +

R8. Fetchmail is timing out after fetching certain messages but before deleting them

There's a TCP/IP stalling problem under Redhat 6.0 (and possibly other @@ -2079,13 +2077,81 @@ restores normal behaviour. To do this, [execute]
-

R10. Fetchmail is timing out during message fetches

+

R9. Fetchmail is timing out during message fetches

This is probably a general networking issue. Sending a "RETR" command will cause the server to start sending large amounts of data, which means large packets. If your networking layer has a packet-fragmentation problem, that's where you'll see it. +
+

R10. Fetchmail is dying with SIGPIPE.

+ +This probably means you have an mda option. Your MDA is +croaking while being passed a message. Best fix is to remove the +mda option and pass mail to your port 25 SMTP listener. + +
+

H1. Fetchmail hangs when used with pppd.

+ +Your problem may be with pppd's `demand' option. We have a report that +fetchmail doesn't play well with it, but works with pppd if `demand' +is turned off. We have no idea why this is. + +
+

H2. Fetchmail hangs during the MAIL FROM exchange.

+ +

The symptom: 'fetchmail -v' retrieves mail fine, but appears to hang after +sending the MAIL FROM command + +

+SMTP> MAIL FROM: 
+
+ +

The hang is actually occuring when sendmail looks up a sender's +address in DNS. The problem isn't in fetchmail but in the +configuration of sendmail. You must enable the 'nodns' and +'nocanonify' features of sendmail. + +

Here was my fix for RedHat 7.2: + +

    +
  1. # cd /etc/mail +
  2. # cp sendmail.mc sendmail-mine.mc +
  3. Edit sendmail-mine.mc and add lines: +
    +   FEATURE(nodns)
    +   FEATURE(nocanonify)
    +
    +
  4. Build a new sendmail.cf +
    +   # m4 sendmail-mine.cf > /etc/sendmail.cf
    +
    +
  5. Restart sendmail. +
+ +

For more details consult the file /usr/share/sendmail-cf/README. + +


+

H3. Fetchmail hangs while fetching mail.

+ +

The symption: 'fetchmail -v' retrieves the first few messages, but +hangs returning: + +

+ fetchmail: SMTP< 550 5.0.0 Access denied
+ fetchmail: SMTP> RSET
+ fetchmail: SMTP< 250 2.0.0 Reset state
+ .......fetchmail:  flushed
+ fetchmail: POP3> DELE 1
+ fetchmail: POP3< +OK marked deleted
+
+ +

Check and see if you're allowing sendmail connections through TCP +wrappers. + +

Adding 'sendmail : ALL' to /etc/hosts.allow could solve this problem. +


D1. I think I've set up fetchmail correctly, but I'm not getting any mail.

@@ -2099,13 +2165,6 @@ should; see question C1.

Or you may not be connecting to the SMTP listener. Run fetchmail -v and see R1. -


-

R11. Fetchmail is dying with SIGPIPE.

- -This probably means you have an mda option. Your MDA is -croaking while being passed a message. Best fix is to remove the -mda option and pass mail to your port 25 SMTP listener. -

D2. All my mail seems to disappear after a dropped connection.

@@ -2929,7 +2988,7 @@ date from the last Received header.

Back to Fetchmail Home Page To Site Map -$Date: 2001/12/14 03:32:11 $ +$Date: 2001/12/25 04:55:14 $

Eric S. Raymond <esr@thyrsus.com>
-- cgit v1.2.3