Problem with Dovecot 2.4.2 & debian 13

sebastian at debianfan.de sebastian at debianfan.de
Sa Jan 3 20:46:18 CET 2026


I have disabled apparmor - same log entry.

How do i enable logging ?

I put:

*****

mail_debug = yes
auth_verbose = yes
log_debug = category=ssl
log_debug = category=auth
log_debug = category=mail
log_debug = category=imap

debug_log_path = /var/log/dovecot-debug.log

*****

at the beginning of the config-file - but the dovecot-debug.log is empty.


Am 02.01.26 um 22:26 schrieb Christian Boltz:
> 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 ;-)


Mehr Informationen über die Mailingliste Dovecot