Re: After logrotation Dovecot still writes to old log file

2018-06-14 Thread Michael Heuberger
Yes and no difference. Same problem. I think it's this bug https://www.dovecot.org/pipermail/dovecot/2017-November/109971.html But cant upgrade when on Ubuntu ... that is still not out. On 15/06/18 17:10, Sami Ketola wrote: On 15 Jun 2018, at 5.17, Michael Heuberger

Re: After logrotation Dovecot still writes to old log file

2018-06-14 Thread Michael Heuberger
8 03:30 PM, Michael Heuberger wrote: Hi there This is weird. On my latest Ubuntu server Dovecot seems to write to /var/log/dovecot.log.1 instead of a recently created /var/log/dovecot.log Here my logrotate config for Dovecot: /var/log/dovecot.log {     su root syslog     rotate 7    

After logrotation Dovecot still writes to old log file

2018-06-14 Thread Michael Heuberger
(d6601f4ec): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.21 (92477967) # OS: Linux 4.14.49-rh65-20180612025235.xenU.x86_64 x86_64 Ubuntu 18.04 LTS How can we investigate best? Or is there a mistake in the above logrotate config? - Michael -- Binary Kitchen Michael Heuberger 1/33 Parrish

Re: Permission denied when logrotating dovecot.log

2017-03-19 Thread Michael Heuberger
Well, I'd rather to have dovecot log alone in one log file. My initial question is that user/group and file permissions to use?? On 19/03/17 15:40, Richard wrote: > >> Date: Sunday, March 19, 2017 15:28:35 +1300 >> From: Michael Heuberger <michael.heuber...@binarykitchen.com&

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
... } Like that anyone who wants to access/write to it, can do it and all works. That's my problem. Do not know who/what/how to set this up correctly. - Michael On 19/03/17 15:12, Richard wrote: > >> Date: Sunday, March 19, 2017 14:56:01 +1300 >> From: Michael Heuberger

Re: Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
Thank you. And what user/group/file perms does your dovecot.log file have? - Michael On 19/03/17 13:43, Richard wrote: > >> Date: Sunday, March 19, 2017 13:32:57 +1300 >> From: Michael Heuberger <michael.heuber...@binarykitchen.com> >> >> Hello guys >&g

Permission denied when logrotating dovecot.log

2017-03-18 Thread Michael Heuberger
vecot*.log { rotate 10 missingok sharedscripts postrotate doveadm log reopen endscript } And the /var/log folder has these permissions: drwxrwxr-x 12 root syslog 4.0K Mar 19 12:43 log Any clues what's wrong? Thanks Michael -- Binary