From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E649115800A for ; Sat, 29 Jul 2023 11:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C56CE0B67; Sat, 29 Jul 2023 11:20:55 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6991E0AE3 for ; Sat, 29 Jul 2023 11:20:54 +0000 (UTC) Received: from host81-132-12-205.range81-132.btcentralplus.com ([81.132.12.205] helo=[192.168.1.99]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1qPi0D-0009sm-7X for gentoo-user@lists.gentoo.org; Sat, 29 Jul 2023 12:20:53 +0100 Message-ID: <76dffd3b-ebbd-f8a1-5d5e-bfa3e0c5bdac@youngman.org.uk> Date: Sat, 29 Jul 2023 12:20:53 +0100 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [gentoo-user] Email clients Content-Language: en-GB To: gentoo-user@lists.gentoo.org References: <2313990.ElGaqSPkdT@wstn> <20230728193702.34c49410@raph.localdomain> <1905666e-d3a2-0720-d85c-ddd7a2a7336d@youngman.org.uk> <86wmyj10td.fsf@gentoo.org> From: Wols Lists In-Reply-To: <86wmyj10td.fsf@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 43347f2b-88f4-43ce-ace5-9f7dcf1e61ae X-Archives-Hash: 08e94cd31e75873c55d0c5b1e888c1f8 On 29/07/2023 11:13, Arsen Arsenović wrote: > Wols Lists writes: > >> On 29/07/2023 03:37, Bryan Gardiner wrote: >>> User of Claws with a local maildir here. One mail per file always >>> felt safer to me. If you do want to keep using maildir, >>> net-mail/dovecot provides IMAP access to ~/.maildir out of the box, >>> and I've found this combination to be reliable. >> Just a tip which bit me when I first installed dovecot ... >> >> The master config file actually chain-loads a local config file, make sure you >> use it. I edited the master file directly, so of course the first update >> overwrote and trashed it ... > That should not happen. Where's the master config file? Is it under a > directory masked by CONFIG_PROTECT? And then the dovecot maintainers update things, update the config file, and it breaks for all users because the config version no longer matches the program version ... The master config file is in the obvious place - /etc/dovecot/dovecot.conf. Just like postfix breaks exactly the same way - /etc/postfix/main.cf. Imho dovecot has got this (almost) exactly right. Just like systemd. You have your master file that is updated by the distro, and you have your local file that is updated by the sys admin. dovecot.conf points to a file local.conf, which does not error if it doesn't exist, but over-rides dovecot.conf if it does. The proper way to do it! Unlike postfix - where I can't find a place to split my local config away from the default config - so every time postfix is updated I have to make sure it doesn't try to update main.cf !!! Cheers, Wol