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