#1029815 fetchmail: logfile option ignored since version 6.4.33-2

Package:
fetchmail
Source:
fetchmail
Description:
SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
Submitter:
Date:
2023-02-05 16:48:04 UTC
Severity:
normal
#1029815#5
Date:
2023-01-28 04:20:20 UTC
From:
To:
Dear Maintainer,

=================================================================================================
Until version 6.4.33-2, it was possible to keep fetchmail output (-v -v)
in a user-specified logfile with these lines below in .fetchmailrc:
    set logfile /var/tmp/fetchmail.log

This no longer works and syslog says logfile is ignored due to nodetach option:
    fetchmail[1014123]: The nodetach option is in effect, ignoring logfile option.

This was not the case before 6.4.33-2 and the specified logfile was
populated everytime fetchmail was called, using the same, unchanged .fetchmailrc.
There seems to be no way to override this behavior and
keep verbose fetchmail output in a user-specified logfile.

fetchmail -V
    This is fetchmail release 6.4.35+GSS+NTLM+SDPS+SSL-SSLv2-SSLv3+NLS+KRB5.
    Compiled with SSL library 0x30000070 "OpenSSL 3.0.7 1 Nov 2022"
    Run-time uses SSL library 0x30000070 "OpenSSL 3.0.7 1 Nov 2022"
    OpenSSL: OPENSSLDIR: "/usr/lib/ssl"
    Engines: ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-3"

    Copyright (C) 2002, 2003 Eric S. Raymond
    Copyright (C) 2004 Matthias Andree, Eric S. Raymond,
                       Robert M. Funk, Graham Wilson
    Copyright (C) 2005 - 2012 Sunil Shetye
    Copyright (C) 2005 - 2023 Matthias Andree
    Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you
    are welcome to redistribute it under certain conditions. For details,
    please see the file COPYING in the source or documentation directory.
    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit. (http://www.openssl.org/)

    Fallback MDA: (none)
    Linux LOCAL 6.1.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.4-1 (2023-01-07) x86_64 GNU/Linux
    Taking options from command line and /home/ME/.fetchmailrc
    Poll interval is 330 seconds
    Logfile is /var/tmp/fetchmail.log <<<<<<<<<<<<<
    Idfile is /home/ME/.fetchids
    Fetchmail will forward misaddressed multidrop messages to ME.
    Options for retrieving from ME@MAIL ...

=================================================================================================

#1029815#10
Date:
2023-02-03 15:20:30 UTC
From:
To:
After upgrading to the new fetchmail 6.4.36-1, the problem has been fixed without any change at all to my .fetchmailrc.
This bug can now be closed.
thanks,--jack

#1029815#15
Date:
2023-02-05 16:44:19 UTC
From:
To:

thanks,--jack

    On Friday, February 3, 2023 at 10:20:36 AM EST, js jb <em2jacks@yahoo.com> wrote:

 After upgrading to the new fetchmail 6.4.36-1, the problem has been fixed without any change at all to my .fetchmailrc.
This bug can now be closed.
thanks,--jack