5 Dec
2012
5 Dec
'12
5:41 p.m.
On Dec 5, 2012, at 10:33 AM, Timo Sirainen <tss@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@inoc.net http://www.inoc.net/~rblayzor/