Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 16:02 schrieb Alexander Dallou via dovecot: Am 19.05.2024 um 15:55 schrieb Richard Rosner via dovecot: Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile

Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile. Why on earth does a process supposed to write to a file need execution permission? This most certainly is very unwelcome

Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 04:02 schrieb Peter via dovecot: Check the permissions of the entire path, as dovecot: namei -l /var/log/dovecot/error.log It might be selinux, check your audit.log file, or set selinux to permissive mode and see if it works: setenforce 0 This can't be the case, there is no

Dovecot logging to files causes issues

2024-05-18 Thread Richard Rosner via dovecot
I have a mailing server setup based on Debian Stable that uses postfix (v3.7.10) for SMTP and dovecot (v2.3.19.1 (9b53102964)) for IMAP. I now wanted to set dovecot to not write to syslog, but to dedicated files in /var/log/dovecot. While everything indicates that this happens successfully as