Steve Jenkins:
> Just got this question on my blog, and thought I'd see if anyone here has a
> useful answer:
>
> ~~~~~~~~~~~~~~~~~
> "As of version 2.10.0 Fix bug #183: Discontinue support for ADSP. This
> removes the SenderHeaders and others.
> ref: http://sourceforge.net/projects/opendkim/files/RELEASE_NOTES/view
>
> I used to run my opendkim configuration with
> SenderHeaders Sender,From
I use to use SenderMacro.
Postfix allow me to set a Miltermacro visible to opendkim. That
Macrovalue could be used
to select a Signingkey.
At the end using different postfix SMTP submission servers result in
different DKIM signatures.
master.cf:
submission_4_foo inet n - y - 5 smtpd -o
milter_macro_v=sign_all_as_foo
submission_4_bar inet n - y - 5 smtpd -o
milter_macro_v=sign_all_as_bar
opendkim.conf:
SenderMacro v ( or {v} / unsure, please try! )
SigningTable /path/to/signingtable
Keytable /path/to/keytable
/path/to/signingtable:
sign_all_as_foo keytableindex_foo
sign_all_as_bar keytableindex_bar
/path/to/keytable:
keytableindex_foo
domain_foo:selector_foo:/path/to/private_foo_signing_key.pem
keytableindex_bar
domain_bar:selector_bar:/path/to/private_bar_signing_key.pem
Hope that help...
Andreas
Received on Wed Apr 15 2015 - 18:23:33 PST