Re: Only signing when listed in TrustedHosts AND authenticated

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Sat, 26 Sep 2015 23:54:55 -0700 (PDT)

On Mon, 20 Jul 2015, Aaron Paetznick wrote:
> Another update. I think I've found a bug.
>
> When I remove auth_type from the MILTER macros by defining this in my
> sendmail.mc file:
>
> define(`confMILTER_MACROS_ENVFROM',`i, {auth_authen}, {auth_ssf},
> {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}')
>
> ..., and I do not have a MacroList definition in my opendkim.conf file, it
> will not sign. This makes sense, as it doesn't have access to the auth_type
> macro it uses to tell if it's authenticated or not. But if I then define
> ANYTHING for MacroList, e.g.:
>
> MacroList lkasjflsajfsdaljfsdalkfj
>
> ...and make no other changes, opendkim will complain that "no macros match",
> but then it signs the email anyways. In other words, it will (correctly) not
> sign with MacroList commented out, but adding junk in MacroList will make it
> sign. I don't think this is desired behavior.

Interesting. It's certainly not intuitive behavior. Have you opened a
bug report on SourceForge for this? That's the best way to get these
issues tracked and investigated.

Also, have you had any luck trying the Lua suggestion for your original
problem?

-MSK
Received on Sun Sep 27 2015 - 06:55:18 PST

This archive was generated by hypermail 2.3.0 : Sun Sep 27 2015 - 07:00:01 PST