<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Logging for the mail system. Split it up so that</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># it is easy to write scripts to parse these files.</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="http://mail.info" class="">mail.info</a> -/var/log/<a href="http://mail.info" class="">mail.info</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">mail.warn -/var/log/mail.warn</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">mail.err /var/log/mail.err</span></div></div><br class=""><div style=""><blockquote type="cite" class=""><div class="">Am 26.09.2018 um 12:43 schrieb Kai Schaetzl <<a href="mailto:maillists@conactive.com" class="">maillists@conactive.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">I hoped I don't have to switch to syslog logging. Well, anyway.<br class=""><br class="">I changed <br class="">10-logging.conf:<br class="">syslog_facility = uucp<br class="">and commented out the other log lines.<br class=""><br class="">rsyslog.d/50-default.conf:<br class="">uucp.debug -/var/log/dovecot/debug.log<br class=""><a href="http://uucp.info" class="">uucp.info</a> -/var/log/dovecot/dovecot.log<br class="">uucp.warn -/var/log/dovecot/warn.log<br class="">uucp.err -/var/log/dovecot/error.log<br class="">uucp.crit -/var/log/warn.log<br class=""><br class="">No fancy redirects with rsyslog yet, plain logging by facility and level.<br class=""><br class="">But it logs only to /var/log/syslog. As if dovecot sets another facility.<br class="">I've used uucp in the past with success (not with rsyslog, but with <br class="">syslog). AFAIK, uucp still exists as a facility in rsyslog.<br class="">Shouldn't the above work?<br class=""><br class="">(Yes, I restarted both daemons.)<br class=""><br class="">Kai<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>