On Tue, Oct 20, 2026 at 05:16:59PM +0200, Edmund Lodewijks wrote:
> Have you tried with the certificates outside of /etc/dovecot? I think that is 
> where the issues start. But I am not at my pc, so can’t test now. 
> 

That doesn't seem to be it.

root@1e17878e1058:/home/vmail# doveconf -n|grep -A3 ssl_server
ssl_server {
  cert_file = /etc/tls/example.net.crt
  key_file = /etc/tls/example.net.key
}
root@1e17878e1058:/home/vmail# ls -ld /etc/tls /etc/tls/*
drwx------ 2 1000 1000 4096 Oct 19 18:10 /etc/tls
-r-------- 1 1000 1000 1529 May  8  2025 /etc/tls/example.net.crt
-r-------- 1 1000 1000 1704 May  8  2025 /etc/tls/example.net.key

Sieve compilation and filtering still works without error when deliver is
invoked as the vmail user:

root@1e17878e1058:/home/vmail/users/testuser# ls -l mail.*
-rw-r--r-- 1 vmail vmail 122 Oct 19 19:44 mail.sieve
root@1e17878e1058:/home/vmail/users/testuser# generate-test-mail.sh | runuser 
-u vmail -g vmail -- /usr/lib/dovecot/deliver -e -f mailer-daemon -a testuser 
-d testuser
lda(testuser)<48><FKxnB5Kt12owAAAAOT1REg>: Info: sieve: 
msgid=<[email protected]>: fileinto action: stored 
mail into mailbox 'incoming/filtered'
root@1e17878e1058:/home/vmail/users/testuser# ls -l mail.*
-rw-r--r-- 1 vmail vmail 122 Oct 19 19:44 mail.sieve
-rw-r--r-- 1 vmail vmail 317 Oct 20 18:06 mail.svbin

Reply via email to