Hi
Problem description:
If user sends mail out (to Internet) from domain1 (virtual domain),
mail is signed and in receiver side mail is verified - everything is OK.
If mail comes in (from Internet) to domain1 (virtual domain) wiht DKIM
signature, signature is verified - everything is OK.
If user sends mail from domain1 (virtual domain) to domain2 (virtual
domain) in same machine, mail is signed but signature is not verified -
not OK.
As i understand opendkim cannot do both in same time, mail is either
signed on verified, depending on opendkim configuration.
(might be wrong on this one)
I can let opendkim do both (create 2 instances of opendkim with
different conf), or use dkimproxy to verify and opendkim to sign, but
problem is that if i let machine to do both, outgoing mail gets out vith
Authentication-Results header and that is wrong, since verification is
supposed to be done only once by receiver machine.
Is it possible to do both, sign and verify DKIM signature in same
machine while using virtual domains IF mail receiver is virtual user?
(maybe add verification filter to somewhere that it is affected only by
delivering mail to virtual user? i'm pretty much guessing here)