Paul Reilly wrote:
Thanks Timo.
One other question. It would be nice to log to a specific syslog facility. Maybe this feature can be added to the config file at some point. But for the meantime, which src files should I edit to change it? I'd like to send it to LOCAL4.*
Is this all of them?
auth/main.c: i_set_failure_syslog("dovecot-auth", LOG_NDELAY, LOG_MAIL); imap/main.c: i_set_failure_syslog(log_prefix, LOG_NDELAY, LOG_MAIL); login-common/main.c: i_set_failure_syslog(name, LOG_NDELAY, LOG_MAIL); master/main.c: i_set_failure_syslog("dovecot", LOG_NDELAY, LOG_MAIL); pop3/main.c: i_set_failure_syslog(log_prefix, LOG_NDELAY,LOG_MAIL);
yes, i'm a second for it! it'd be VERY useful if i can separate MTA and IMAP server logs!
-- Levente "Si vis pacem para bellum!"