Re: misleading log entry "DOMAIN.TLDed per discard author domain policy"

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Tue, 4 Dec 2012 13:53:58 -0800 (PST)

On Tue, 4 Dec 2012, Claus Assmann wrote:
> This change from 2.4:
> if (conf->conf_dolog)
> {
> syslog(LOG_NOTICE,
> "%s: %sed per sender domain policy",
> dfc->mctx_jobid, act);
> }
>
> to 2.7.3:
> if (conf->conf_dolog)
> {
> syslog(LOG_NOTICE,
> "%s: %sed per %s author domain policy",
> dfc->mctx_jobid,
> dfc->mctx_domain, act);
> }
>
> causes weird log entries, e.g.
> dkimtest.TLDed per discard author domain policy
>
> Maybe the old format should be reestablished (and
> the domain added properly if someone wanted it)?

The attached patch should fix it. The argument list was out of order.

-MSK


Received on Tue Dec 04 2012 - 21:54:14 PST

This archive was generated by hypermail 2.3.0 : Tue Dec 04 2012 - 22:00:01 PST