On 19 Nov 2020, at 5:44, [email protected] wrote:
Hi, Is there a possibility to provide outgoing mails with a DKIM signature only for a certain login - sender domain combination? The background to this is: With the sender_maps it is possible to allow different senders for a login. The mail may only be signed for those where the login and sender domain match. Thanks, André
Because Postfix does not implement DKIM signing itself, the answer is dependent on what software you use for DKIM signing. If your signing is done in a milter, Postfix cannot select which mail is signed and which is not. That must be done in the milter itself. For example, I work with systems that use the MIMEDefang milter for signing (using the Perl Mail::DKIM module) where the decision of whether and how to sign mail is made based on the sender.
-- Bill Cole [email protected] or [email protected] (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Not Currently Available For Hire
