Problem with Dovecot 2.4.2 & debian 13

Christian Boltz dovecot-jpb at cboltz.de
Fr Jan 2 22:26:54 CET 2026


Hello,

Am Donnerstag, 1. Januar 2026, 21:38 schrieb sebastian--- via Dovecot:
> i build a new debian 13 system and tried to use dovcecot 2.4.2 with
> postfix & mysql.

Very wild guess: Debian has AppArmor enabled by default, and Dovecot 2.4 
needs some additional permissions in the AppArmor profiles (and explodes 
without these permissions).

I'd recommend to check for DENIED lines in your /var/log/audit/audit.log

Assuming you find such DENIED lines for Dovecot:
You can grab the latest Dovecot profiles from 
https://gitlab.com/apparmor/apparmor/-/tree/apparmor-4.1/profiles/apparmor.d
and copy them to /etc/apparmor.d/ to get Dovecot working. Note that 
you'll also need to update abstractions/dovecot-common.

If you stilll get DENIED log lines with the latest profiles, please tell 
me ;-)

The better (but slower) fix would be an updated AppArmor package in
Debian. Feel free to request that via the Debian bugtracker.


Gruß

Christian Boltz

PS: random signature, unrelated to the Dovecot profiles ;-)
-- 
depressing, infuriating, sickening and
Acked-by: John Johansen <john.johansen at canonical.com>
[John Johansen in apparmor]





Mehr Informationen über die Mailingliste Dovecot