stats-writer failed: Permission denied
Hi there!
Since i compile my own dovecot (not using dovecot from debian), i get this error on each startup dovecot with systemd
Feb 07 11:16:35 aldebaran dovecot[7455]: imap: Error: net_connect_unix(/usr/local/var/run/dovecot/stats-writer) failed: Permission denied Feb 07 11:16:35 aldebaran dovecot[7455]: imap: Error: net_connect_unix(/usr/local/var/run/dovecot/stats-writer) failed: Permission denied
I can change the owner and/or permissions of the file, than it works till the next reboot.
How can i set this correctly in my configs?
Some googling didn't give me results for this error.
jakob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 7 Feb 2018, Jakobus Schürz wrote:
Since i compile my own dovecot (not using dovecot from debian), i get this error on each startup dovecot with systemd
Feb 07 11:16:35 aldebaran dovecot[7455]: imap: Error: net_connect_unix(/usr/local/var/run/dovecot/stats-writer) failed: Permission denied Feb 07 11:16:35 aldebaran dovecot[7455]: imap: Error: net_connect_unix(/usr/local/var/run/dovecot/stats-writer) failed: Permission denied
I can change the owner and/or permissions of the file, than it works till the next reboot.
How can i set this correctly in my configs?
check out something like:
service stats { fifo_listener stats-mail { user = vmail mode = 0600 } }
https://wiki2.dovecot.org/Services#unix_listeners_and_fifo_listeners
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWnwNqcQnQQNheMxiAQLyVwf8DBEV27Nz5VXG3ENcjkkTblDS1/7dkTHc ZWbBY9VfRMp8VzjCCFHRNcHiPB26Y9qeXlVjOnDkBJXtl+XvmH+2Stg+LALp5Elh mS4GZNbu2ydYz4w35DbDY1+3Yg29LTp6kzLbn6s9wWLci0CiJCxbHuHvXKhBPMNE VGTBoGRhh+VOLJmN5lduVPHz0BDMUzeB74I3vWLNrYgIlXG7+vezEMPG4SgiX0b7 pggzrUEcQPPGnFDGDzuGtK7XWVJUoYEnJ81BYBplf/p6dB9ExqlOLl9c8jmeglwb JsBI2UNp2BSANggKG0oCRfbkAUgeCPpIIejGnhNFGKujBNdz1lYDNA== =49Ge -----END PGP SIGNATURE-----
participants (2)
-
Jakobus Schürz
-
Steffen Kaiser