Treat the transport option dkim_domain as a colon separated list, not
authorMichael Haardt <michael@moria.de>
Thu, 18 Feb 2010 12:09:15 +0000 (12:09 +0000)
committerMichael Haardt <michael@moria.de>
Thu, 18 Feb 2010 12:09:15 +0000 (12:09 +0000)
commita8e1eeba8a2ff7eb5b2c6165d63f003fd0dfe3eb
tree807c59fd4c685d56df576a61f9b4834dd1adf3b9
parent3fc596e4b0c7cf80a344c895b0cc09d6f0fb4dae
Treat the transport option dkim_domain as a colon separated list, not
as a single string, and sign the message with each element, omitting
multiple occurences of the same signer.

The transport option dkim_domain should be renamed to dkim_add_signers.
The values of dkim_selector and dkim_private_key are expanded for
each signer available in $dkim_domain.  It is unclear if signatures
for domains that already signed the mail should be omitted and if we
need a new variable for signatures to omit or if it could be hardcoded,
but this question is independent of this patch.
src/src/dkim.c