From nobody Sat Sep 4 15:38:19 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 71C2117A9148 for ; Sat, 4 Sep 2021 15:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H1zMb2RcGz3qmh for ; Sat, 4 Sep 2021 15:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3010F1A7C7 for ; Sat, 4 Sep 2021 15:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 184FcJhn028830 for ; Sat, 4 Sep 2021 15:38:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 184FcJBi028829 for ports-bugs@FreeBSD.org; Sat, 4 Sep 2021 15:38:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258207] mail/fetchmail does not restart properly with "service -R" Date: Sat, 04 Sep 2021 15:38:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258207 --- Comment #4 from ml@netfence.it --- (In reply to Corey Halpin from comment #3) > so that `fetchmail` will be able to find and use idfiles when fetching ov= er > POP3 I've got the problem with IMAP too. > If I'm correctly understanding what is happening on your system you shoul= d be > seeing "Cannot open fetchids file ... for writing" errors in your logs. Actually (but not on all the installations) I see: fetchmail: lstat: /root/.fetchids: Permission denied So my interpretation is that it actually cannot *read* /root (which is corr= ect as I have 700 permissions for root and fetchmail starts at nobody). > If you are seeing those errors, then I believe the correct fix is to add > `fetchmail_home=3D/var/run/fetchmail` after line 167 and to add `export > FETCHMAILHOME=3D$fetchmail_home` after line 187 in the rc script. Can you= try > that and report back please? I tried this on a box where I'm using a system wide config (with POP3) and = it doesn't help: that's because calls to fetchmail_dump_config will still fail (and will display the above message). It works, however, if I put the second command as line 172. In the next week I'll try to distribute this patch to as many systems as possible to see if it works with different configurations (e.g. IMAP with multiple users). Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=