On 2023-03-28 11:16, Sven Hartge wrote:
Jesper Dybdal <jd-debian-user@dybdal.dk> wrote:I have a cron job that cleans up all old mail from the mailbox that I use for my mobile phone by running "doveadm expunge" every night.
[snip]
Many thanks. I have actually also got that workaround from the Dovecot mailing list, but forgotten to mention it here :-(Solution is to move the contents of /etc/dovecot/conf.d/10-ssl.conf to another file in /etc/dovecot, like /etc/dovecot/ssl-keys.conf and then replace conf.d/10-ssl.conf with this: ,----/etc/dovecot/conf.d/10-ssl.conf | ## | ## SSL settings | ## | | ssl = no | | !include_try /etc/dovecot/ssl-keys.conf `---- That way it will not fail anymore for processes not having the correct permissions, like when being invoked by a normal user on the CLI. S°
-- Jesper Dybdal https://www.dybdal.dk