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> |