<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Gregor,<div class=""><br class=""></div><div class="">danke. Das Komische ist, daß es bis zum 1.10. noch lief. Und ich hatte nichts (bewußt) geändert.</div><div class="">/etc/rsyslog.d/50-defaults:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Default rules for rsyslog.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># For more information see rsyslog.conf(5) and /etc/rsyslog.conf</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># First some standard log files. Log by facility.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">auth,authpriv.* /var/log/auth.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*.*;auth,authpriv.none -/var/log/syslog</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#cron.* /var/log/cron.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#daemon.* -/var/log/daemon.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">kern.* -/var/log/kern.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#lpr.* -/var/log/lpr.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">mail.* -/var/log/mail.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#user.* -/var/log/user.log</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" 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-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" 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-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" 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-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#mail.warn -/var/log/mail.warn</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">mail.err /var/log/mail.err</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Some "catch-all" log files.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#*.=debug;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># auth,authpriv.none;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># news.none;mail.none -/var/log/debug</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#*.=info;*.=notice;*.=warn;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># auth,authpriv.none;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># cron,daemon.none;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># mail,news.none -/var/log/messages</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Emergencies are sent to everybody logged in.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*.emerg :omusrmsg:*</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(119, 97, 0); background-color: rgb(187, 255, 220); min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># I like to have messages displayed on the console, but only on a virtual</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># console I usually leave idle.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#daemon,mail.*;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># news.=crit;news.=err;news.=notice;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># *.=debug;*.=info;\</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Courier; color: rgb(9, 244, 244); background-color: rgb(187, 255, 220);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># *.=notice;*.=warn /dev/tty8</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div>
<div>Und das sollte eigentlich genügen, nach /var/log/mail.log zu schreiben.</div><div><br class=""></div><div>Kann irgendein Filter (spf, dkim, dmarc, dovecot) was damit zu tun haben? Daß vielleicht die Quelle nicht mehr "mail" heißt?</div><div><br class=""></div><div>Grüße</div><div>Christoph</div><div><br class=""><blockquote type="cite" class=""><div class="">Am 04.10.2023 um 14:42 schrieb Gregor Hermens <<a href="mailto:gregor.hermens@a-mazing.de" class="">gregor.hermens@a-mazing.de</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hallo Christoph,<br class=""><br class="">Am 04.10.23 um 14:26 schrieb Christoph Kukulies:<br class=""><blockquote type="cite" class="">Danke. Es gibt aber doch (postconf) maillog_file =<br class="">(was leer ist bei mir).<br class=""></blockquote><br class=""><a href="http://www.postfix.org/postconf.5.html#maillog_file" class="">http://www.postfix.org/postconf.5.html#maillog_file</a><br class=""><br class="">maillog_file (default: empty)<br class=""><br class=""> The name of an optional logfile that is written by the Postfix postlogd(8) service. An empty value selects logging to syslogd(8).<br class=""><br class="">Gruß,<br class="">Gregor<br class="">-- <br class=""> @mazing fon +49 8142 6528665<br class=""> Gregor Hermens fax +49 8142 6528669<br class="">Brucker Strasse 12 gregor.hermens@a-mazing.de<br class="">D-82216 Gernlinden https://www.a-mazing.de/<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>