[Dovecot] mail.err

Karsten Bräckelmann guenther at rudersport.de
Wed Dec 8 00:25:37 EET 2010

On Tue, 2010-12-07 at 16:58 -0500, Charles Marcus wrote:
> On 2010-12-07 4:45 PM, Paul Cartwright wrote:
> > I keep getting this error, and I have no clue where it comes from. I
> > have no localhost in my fetchmailrc file, all I have in main.cf is:
> > mydestination = paulandcilla.homelinux.org, localhost
> And you think this is dovecot related because... ?


> > Dec  7 16:00:38 paulandcilla fetchmail[16761]: connection to
> > localhost:smtp [::1/25] failed: Connection refused.

Even though this *really* is not related to dovecot at all, while we're
here, I might as well try to help nonetheless -- failing with an IPv6
address does look familiar. I don't recall the log messages, since I
mostly debugged with fetchmail directly.

The below fetchmailrc settings, including the comment, are directly
scraped from a machine I set up for a friend a while ago...

  smtpaddress localhost

# Need the smtp settings above, to get rid of some warnings due to trying the
# IPv6 localhost address first.  Or to inject IPv6 addresses in the Received
# headers, if enabled in postfix.
# In short: Do use IPv4, but still append localhost rather than the bare IP as
# the domain, when submitting via SMTP locally. *sigh*

char *t="\10pse\0r\0dtu\0. at ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

More information about the dovecot mailing list