[Dovecot] log_path - expansion possible?

Timo Sirainen tss at iki.fi
Wed Dec 5 17:33:59 EET 2012


On 5.12.2012, at 17.24, Robert Blayzor wrote:

> Does (or can) the ability to use expansion variables in Dovecot's log_path exist?
> 
> ie: 
> 
> log_path = /var/log/dovecot/dovecot-%Y%m%d

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.



More information about the dovecot mailing list