> From: Richard Rosner via Postfix-users <[email protected]> > Sent: 18. maj 2024 16:09 > To: [email protected] > Subject: [pfx] Dovecot logging to files causes postfix to break > > I have a mailing server setup based on Debian Stable that uses postfix for IMAP > and SMTP and dovecot for internel mail handling, like filtering, sorting into > users inboxes etc. 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, postfix will soon start logging complaints: > > May 13 20:55:37 mail postfix/local[2824184]: 95BCF1000A9: > to=<[email protected]>, relay=local, delay=3.2, delays=1.9/0.29/0/1.1, > dsn=4.3.0, status=deferred (temporary failure. Command output: lda(user): > Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied > Can't open log file /var/log/dovecot/error.log: Permission denied ) >
Isn't this a filepermission-issue (ie. does the dovecot-user have permission to write to the logfile)? What is the permissions and user/group on the logfile - what user tries to write to it (dovecot, dovenull or?...)? _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
