Re: [exim] Question on DKIM

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John W. Baxter
Date:  
À: exim-users
Sujet: Re: [exim] Question on DKIM



On 6/3/10 9:02 AM, "Andreas Metzler" <eximusers@???> wrote:

> John Jetmore <jj33@???> wrote:
> [...]
>>> Last night I got the following in my paniclog on that server:
>
>>> 2010-06-03 02:52:36 1OK5EC-0003AM-0q DKIM: Error while running this
>>> message through validation, disabling signature verification.
>
>> Back to the source of my question, is the above log a big deal?
>
> No, it is just <http://bugs.exim.org/show_bug.cgi?id=966>.
> cu andreas
>


Is "fixing" this as simple as removing the |LOG_PANIC

In (watch the line breaks)
  /* If we have arrived here with dkim_collect_input == FALSE, it
     means there was a processing error somewhere along the way.
     Log the incident and disable futher verification. */
  if (!dkim_collect_input) {
    log_write(0, LOG_MAIN|LOG_PANIC, "DKIM: Error while running this message
through validation, disabling signature verification.");
    dkim_disable_verify = TRUE;
    return;
  }


(The removal would be in line 95 of dkim.c)?

I do no wish to be paged when some site sends a faulty DKIM header at 03:00.
I do wish to be paged when there is a real panic situation.

There are other instances of logging to the panic log over in the signing
code--I think at first glance those should stay--closer study could show
that some are driven by user or user MUA faults and should not be panics.

--John