fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmail bug -> fetchmailconf unable to parse configdump if antispam is not set

2002-10-26 16:04:07

Mandrake Linux 9.0 (stock install, with latest updates)

Fetchmail release 6.1.0+RPA+NTLM+SDPS+SSL+NLS

Fallback MDA: (none)

Linux simon.localdomain 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686
unknown unknown GNU/Linux

Fetchmailconf version 1.43


Bug: fetchmailconf runs fine and makes the first .fetchmailrc

But on trying to rerun to amend configuration it dies:

"Can't read configuration output of fetchmail --configdump."


I traced this to an inability to execfile(tmpfile) about line 2042 of
fetchmailconf if the
output of configdump includes:

 'antispam':''

 in the user section, which it does if "listener spam-block codes" has not
been
set.

Workaround 1: always set a value for listener spam-block codes

Workaround 2: recover an existing .fetchmailrc by manually adding an
'antispam' entry to .fetchmailrc

--
Simon Child



<Prev in Thread] Current Thread [Next in Thread>