On Mon, Oct 05, 2015 at 12:29:45PM +0200, Patrick Wagner wrote:
> Everything's working fine, but smtpd produces dozens of debug
> lines per SMTP AUTH, which makes the journald log quite unreadable:
The logging is emitted by Cyrus SASL, not Postfix.
> Oct 05 11:55:01 mail postfix/smtpd[5883]: sql plugin try and connect to a host
>
> These messages are facility 'auth' and severity 'debug', so don't end up
> in /var/log/maillog and I can just look there for mail-related messages,
> but I'd still like to keep the clutter out of the journald log.
Postfix logs with facility "mail", these syslog() calls are from
inside the Cyrus library.
> Setting the log_level to 0 in /etc/sasl2/smtpd.conf doesn't change anything.
Perhaps you're editing the wrong file, or not running "postfix
reload" to restart the affected processes.
log_level: 0
is the correct interface.
--
Viktor.