bug-mailfromd
Re: [Bug-mailfromd] proper use of dkim verify
>
> > > > >
> > > > > > > Ok but then I don't really get why dkim is failing on
> > everything
> > > > from
> > > > > > > sendgrid. Do you know how I can check this?
> > > > > >
> > > > > > What's the return value from dkim_verify and what are the
> values
> > of
> > > > > > of dkim_explanation_code and dkim_explanation upon return from
> > it?
> > > > > >
> > > > >
> > > > >
> > > >
> > > > from some other domain, that has mx records to pphosted.com (I
> think
> > > that
> > > > is something similar to sendgrid) so probably also nested keys.
> > > >
> > > > dkim_verify = DKIM_VERIFY_PERMFAIL (from switch statement)
> > > > dkim_explanation = signature did not verify
> > > > dkim_explanation_code = 17
> > > >
> > > > I have to wait for the sendgrid message, have quite low volume.
> > >
> > > Another different domain with mx records on outlook.com, also with
> > > dkim_explanation_code = 17
> > >
> >
> > Maybe it is this, I will disable this and try.
> > define(`confSINGLE_LINE_FROM_HEADER', `true')dnl
> >
>
> I also tried increasing to this
> define(`confMAX_HEADERS_LENGTH', 65536)dnl
>
> But I don't think it amounts to anything.
>
Should dkim_verified_signature_tag also return values when there is a PERMFAIL? Because in my case when there is this error 17 they are empty.
DKIM: fail (signature did not verify 17) -@ xxxxxxxx
this is how it looks like when it is pass
DKIM: pass; s1024-@xxxxxxxxxxxxxx promotion@xxxxxxxxxxxxxx