On 18/05/2024 18:18, Richard Rosner via Postfix-users wrote:
Am 18.05.24 um 17:55 schrieb Wietse Venema:
Richard Rosner via Postfix-users:
I have a mailing server setup based on Debian Stable that uses
postfix for IMAP and SMTP and dovecot for internel mail handling,
You mean, Postfix for SMTP, Dovecot for IMAP.
Possible.

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 )
That is a DOVECOT error message from the DOVECOT local delivery agent (lda).

    Wietse

Why does it say postfix/local though? So you are sure this error can't have been caused by any interaction with postfix?


Richard

Hi Richard

though probably not relevant to your current issue, one thing to watch out for with the approach you are using is the value of postfix parameter postfix mailbox_size_limit. This value applies to all files written by the lda process that postfix spawns, not just the mailbox files, so also applies to log file sizes.

John

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to