From: Christian E. <bla...@gm...> - 2007-03-26 12:38:07
|
Hello, When polling, fetchmail gives the following warning after the first message: Trying to connect to ::1/25...connection failed. fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. Trying to connect to 127.0.0.1/25...connected. I believe this is due to the ipv6 loopback interface in my /etc/hosts: $ cat /etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost krille.blacktrash.org ::1 localhost krille.blacktrash.org 255.255.255.255 broadcasthost Otherwise everything is working fine, I just wanted to know whether there's an "innocent" way to get rid of this warning? $ fetchmail -V This is fetchmail release 6.3.8-rc2+SSL. Copyright (C) 2002, 2003 Eric S. Raymond Copyright (C) 2004 Matthias Andree, Eric S. Raymond, Rob F. Funk, Graham Wilson Copyright (C) 2005-2006 Sunil Shetye Copyright (C) 2005-2007 Matthias Andree Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For details, please see the file COPYING in the source or documentation directory. Fallback MDA: (none) Darwin krille.blacktrash.org 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc Taking options from command line and /Users/chris/.fetchmailrc Idfile is /Users/chris/.fetchids Fetchmail will show progress dots even in logfiles. Fetchmail will forward misaddressed multidrop messages to chris. Options for retrieving from *******@pop.gmx.net: True name of server is pop.gmx.net. Protocol is POP3 (forcing UIDL use). Password authentication will be forced. SSL encrypted sessions enabled. SSL key fingerprint (checked against the server key): ************* Server nonresponse timeout is 60 seconds. Default mailbox selected. All messages will be retrieved (--all on). Fetched messages will not be kept on the server (--keep off). Old messages will not be flushed before message retrieval (--flush off). Oversized messages will not be flushed before message retrieval (--limitflush off). Rewrite of server-local addresses is enabled (--norewrite off). Carriage-return stripping is enabled (stripcr on). Carriage-return forcing is disabled (forcecr off). Interpretation of Content-Transfer-Encoding is enabled (pass8bits off). MIME decoding is disabled (mimedecode off). Idle after poll is disabled (idle off). Nonempty Status lines will be kept (dropstatus off) Delivered-To lines will be kept (dropdelivered off) Fetch message size limit is 100 (--fetchsizelimit 100). Do binary search of UIDs during 3 out of 4 polls (--fastuidl 4). Messages will be SMTP-forwarded to: localhost (default) Single-drop mode: 1 local name recognized. No UIDs saved from this host. TIA c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> |
From: Rob M. <rob...@gm...> - 2007-03-26 16:50:15
|
On 3/26/07, Christian Ebert <bla...@gm...> wrote: > Hello, > > When polling, fetchmail gives the following warning after the > first message: > > Trying to connect to ::1/25...connection failed. > fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. > Trying to connect to 127.0.0.1/25...connected. <---SNIP---> > Otherwise everything is working fine, I just wanted to know > whether there's an "innocent" way to get rid of this warning? 1) Have your mail server listen on IPv6 loopback 2) Disable IPv6 on your host 3) Edit your /etc/hosts and comment out the IPv6 loopback I don't believe there is any way in fetchmail to tell it not to use IPv6. I think your only option is to either ensure that your SMTP server listens on IPv6 or disable IPv6 (or at least the lookup), with the first being the cleanest approach IMO. You could also simply specify the smtphost as 127.0.0.1. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |
From: Christian E. <bla...@gm...> - 2007-03-26 17:17:22
|
* Rob MacGregor on Monday, March 26, 2007 at 14:48:22 +0000: > On 3/26/07, Christian Ebert <bla...@gm...> wrote: >> When polling, fetchmail gives the following warning after the >> first message: >> >> Trying to connect to ::1/25...connection failed. >> fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. >> Trying to connect to 127.0.0.1/25...connected. > <---SNIP---> >> Otherwise everything is working fine, I just wanted to know >> whether there's an "innocent" way to get rid of this warning? > > 1) Have your mail server listen on IPv6 loopback > 2) Disable IPv6 on your host > 3) Edit your /etc/hosts and comment out the IPv6 loopback > > I don't believe there is any way in fetchmail to tell it not to use > IPv6. I think your only option is to either ensure that your SMTP > server listens on IPv6 or disable IPv6 (or at least the lookup), with > the first being the cleanest approach IMO. I'd have to upgrade postfix then; might do that some day. > You could also simply specify the smtphost as 127.0.0.1. I exprimented with that, but then, judging from the log, the mails were dispatched to my relayserver (by postfix?), bounced there due to missing envelope, and were lost (luckily only test mails). Might be because my postfix setup is a bit complicated as I am using ClamSmtpd. So I guess I'll just tolerate the warnings until I upgrade postfix. Thanks for answering. c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> |
From: Peter P. <ro...@ri...> - 2007-03-26 17:42:01
|
On Mon, Mar 26, 2007 at 06:16:51PM +0300, Peter Pentchev wrote: > On Mon, Mar 26, 2007 at 02:48:22PM +0000, Rob MacGregor wrote: > > On 3/26/07, Christian Ebert <bla...@gm...> wrote: > > > Hello, > > > > > > When polling, fetchmail gives the following warning after the > > > first message: > > > > > > Trying to connect to ::1/25...connection failed. > > > fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. > > > Trying to connect to 127.0.0.1/25...connected. > > <---SNIP---> > > > Otherwise everything is working fine, I just wanted to know > > > whether there's an "innocent" way to get rid of this warning? > > > > 1) Have your mail server listen on IPv6 loopback > > 2) Disable IPv6 on your host > > 3) Edit your /etc/hosts and comment out the IPv6 loopback > > > > I don't believe there is any way in fetchmail to tell it not to use > > IPv6. I think your only option is to either ensure that your SMTP > > server listens on IPv6 or disable IPv6 (or at least the lookup), with > > the first being the cleanest approach IMO. > > > > You could also simply specify the smtphost as 127.0.0.1. > ...resending my own reply, since the berlios server seems to dislike multipart/signed messages containing a text/plain part and an application/pgp-signature part: > And, of course, > > 4) Edit your /etc/hosts, add another alias for 127.0.0.1 and specify that > as fetchmail's smtphost. G'luck, Peter -- Peter Pentchev ro...@ri... ro...@cn... ro...@Fr... PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence would be seven words long if it were six words shorter. |
From: Rob F. <rf...@fu...> - 2007-03-26 17:56:33
|
Peter Pentchev wrote: > since the berlios server seems to dislike > multipart/signed messages containing a text/plain part and > an application/pgp-signature part: I've just fixed that. -- ==============================| "A microscope locked in on one point Rob Funk <rf...@fu...> |Never sees what kind of room that it's in" http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind" |
From: Christian E. <bla...@gm...> - 2007-03-26 19:05:00
|
* Peter Pentchev on Monday, March 26, 2007 at 18:40:08 +0300: > On Mon, Mar 26, 2007 at 06:16:51PM +0300, Peter Pentchev wrote: >> On Mon, Mar 26, 2007 at 02:48:22PM +0000, Rob MacGregor wrote: >>> On 3/26/07, Christian Ebert <bla...@gm...> wrote: >>>> Trying to connect to ::1/25...connection failed. >>>> fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. >>>> Trying to connect to 127.0.0.1/25...connected. >>> <---SNIP---> >>> >>> 1) Have your mail server listen on IPv6 loopback >>> 2) Disable IPv6 on your host >>> 3) Edit your /etc/hosts and comment out the IPv6 loopback >>> >>> I don't believe there is any way in fetchmail to tell it not to use >>> IPv6. I think your only option is to either ensure that your SMTP >>> server listens on IPv6 or disable IPv6 (or at least the lookup), with >>> the first being the cleanest approach IMO. >>> >>> You could also simply specify the smtphost as 127.0.0.1. >> >> And, of course, >> >> 4) Edit your /etc/hosts, add another alias for 127.0.0.1 and specify that >> as fetchmail's smtphost. Then I also loose mail, with specifying a port as well. Might be due to some postfix config, or to Apple's /etc/hostconfig: $ cat /etc/hostconfig ## # /etc/hostconfig ## # This file is maintained by the system control panels ## # Network configuration HOSTNAME=krille.blacktrash.org ROUTER=-AUTOMATIC- # Services AFPSERVER=-NO- AUTHSERVER=-NO- AUTOMOUNT=-YES- CUPS=-YES- IPFORWARDING=-NO- IPV6=-YES- MAILSERVER=-YES- NETINFOSERVER=-AUTOMATIC- NFSLOCKS=-AUTOMATIC- NISDOMAIN=-NO- RPCSERVER=-AUTOMATIC- TIMESYNC=-YES- QTSSERVER=-NO- WEBSERVER=-YES- SMBSERVER=-NO- DNSSERVER=-NO- COREDUMPS=-NO- VPNSERVER=-NO- CRASHREPORTER=-YES- ARDAGENT=-NO- Probably I could unset ipv6 there, but I'd prefer not to. Probably the best bet is to upgrade postfix -- once I find the time. Thanks for the advice though. c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> |
From: Christian E. <bla...@gm...> - 2007-03-28 14:30:40
|
* Peter Pentchev on Monday, March 26, 2007 at 18:40:08 +0300: > On Mon, Mar 26, 2007 at 06:16:51PM +0300, Peter Pentchev wrote: >> On Mon, Mar 26, 2007 at 02:48:22PM +0000, Rob MacGregor wrote: >>> 1) Have your mail server listen on IPv6 loopback >>> 2) Disable IPv6 on your host >>> 3) Edit your /etc/hosts and comment out the IPv6 loopback >>> >>> I don't believe there is any way in fetchmail to tell it not to use >>> IPv6. I think your only option is to either ensure that your SMTP >>> server listens on IPv6 or disable IPv6 (or at least the lookup), with >>> the first being the cleanest approach IMO. >>> >>> You could also simply specify the smtphost as 127.0.0.1. Potentially dangerous with postfix -- if, like me you don't know the parameters you'd have to change there ;) >> And, of course, >> >> 4) Edit your /etc/hosts, add another alias for 127.0.0.1 and specify that >> as fetchmail's smtphost. That's what I'm doing now, and also added the alias to postfix' $mydestination. Thanks. c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> |