[Dovecot] log_path - expansion possible?
Robert Blayzor
rblayzor.bulk at inoc.net
Wed Dec 5 17:41:31 EET 2012
On Dec 5, 2012, at 10:33 AM, Timo Sirainen <tss at iki.fi> wrote:
> Not currently. It would be possible to make it work, but it would require that Dovecot gets SIGHUPed every midnight to get the configuration reloaded. But you could already do that with logrotate, which I think is a better solution anyway.
Why SIGHUP? If it's an already open file handle you could just compare the string expansion against the currently opened log/FH, and if different open a new FH?
If not possible perhaps able to pipe logs to an external programs like apache's rotatelogs ?
--
Robert Blayzor
INOC, LLC
rblayzor at inoc.net
http://www.inoc.net/~rblayzor/
More information about the dovecot
mailing list