[pkg-fetchmail-maint] fetchmail: bad-headers accept breaks correct lmtp behavior

Matthias Andree matthias.andree at gmx.de
Sat Jun 29 09:30:32 UTC 2013


Am 27.06.2013 11:04, schrieb Pfannenschmid, P. (Binarus):

> Jun 27 01:11:17 spock fetchmail[8484]: Connection errors for this
> poll:#012name 0: connection to localhost:smtp [127.0.0.1/25] failed:
> Connection refused.#012name 1: connection to localhost:smtp
> [127.0.0.1/25] failed: Connection refused.
> 
> I am unsure if I get this right, but it seems that fetchmail wants to
> deliver via localhost:smtp instead of lmtp as soon as bad-header accept
> is used. The behavior is identical if --bad-headers is given on the
> command line. Since I am a noob, I am not sure if this is a bug or if I
> did something wrong.
> 
> So what do the experts think about that?

Peter,

I can't reproduce this.  I also cannot reproduce the exact situation
(because I am on Ubuntu 12.04 LTS and installing cyrus-imapd would nuke
my required dovecot-imapd), but I do not see any attempts to connect to
the SMTP port, fetchmail consistently connects to the LMTP UNIX socket.

Try

/etc/init.d/fetchmail debug-run

to dig out more information.  You may want to wait for and check the
second run (after one daemon interval has elapsed and fetchmail is
restarting).

I also suppose you are not providing the original fetchmailrc, but have
made up some data; and chances are that the original fetchmailrc is
being misparsed, while the one you show in this report are not.

Best regards
Matthias Andree



More information about the pkg-fetchmail-maint mailing list