Topic: Permission denied on /var/log/dovecot/dovecot.log / dovecot-sieve.log
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: debian buster
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
i want to restore iredmail coming from debian stretch on buster and it works so far. Only issue right now are file permissions on /var/log/dovecot/* ...
/var/log/mail.log
Aug 16 15:23:40 mail postfix/pipe[7099]: 4Gp5LC5Tt2zfgF: to=<my-address@mydomain.xyz>, relay=dovecot, delay=21465, delays=21465/0.06/0/0.08, dsn=4.3.0, status=deferred (temporary failure. Command output: Can't open log file /var/log/dovecot/dovecot-sieve.log: Permission denied )
/var/log/dovecot/dovecot.log
Aug 16 15:23:48 lmtp: Error: Can't open log file /var/log/dovecot/dovecot.log: Permission denied
Aug 16 15:23:48 master: Error: service(lmtp): command startup failed, throttling for 2 secs
Aug 16 15:23:48 lmtp: Fatal: master: service(lmtp): child 7149 returned error 80 (Can't open log file)
# ls -lh /var/log/dovecot
-rw-r----- 1 root adm 287K Aug 16 15:23 dovecot.log
-rw-r----- 1 root adm 0 Aug 16 09:57 dovecot-sieve.log
Changing it to vmail:vmail 0700 as mentioned in other threads doesn't work either.
Which permission do i have to set?
Any other ideas?
Thanks in advance.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.