Hi,
I have the following setup:
Postfix, Amavisd-new and an email encryption gateway called djigzo
integrated into the same system:
Email flows is as follows:
Postfix-
-->10021--->Amavis--->10022---->Postfix---->10025---->Djigzo---->10026---->Postfix---->25---->Internet
Postfix injects email to Amavis on port 10021. Amavis reinjects on port
10022 and then Postfix injects to the Djigzo SMTP server for S/MIME
encryption on port 10025 which in turn reinjects on port 10026.
This works great. Now I'm trying to integrate DKIM signing into the
whole setup using opendkim. Using the following lines in main.cf:
# OPENDKIM
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = inet:127.0.0.1:8891
So what's happening now, outgoing email gets signed by DKIM and then
gets S/MIME encrypted after that which of course messes up the DKIM
signing.
So, what I want to accomplish I'm assuming is to DKIM sign emails as the
very last step before going out but after the S/MIME signing encrypting
happens.
How would I go about accomplishing this?
Thanks