]> git.proxmox.com Git - pmg-api.git/commit
DKIM sign outbound mail if configured
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 21 Oct 2019 17:23:29 +0000 (19:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Oct 2019 09:27:02 +0000 (11:27 +0200)
commit7ea4192546491577b019c113b6eb9fe12b16f758
treeb860da9056b7fe6fe83c031b4ff00676e74a51f3
parentad6e35cf956bc9569bfe106bbf89c9665da3f842
DKIM sign outbound mail if configured

The signing is done in the Accept-Action just before the mail gets handed to
the outbound postifx process, thus ensuring that all modifications done by
the rule-system don't invalidate the signature

The PMG::DKIMSign/DKIM::Signer object is not cached, since subsequent calls to
the same object lead to invalid signatures.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/RuleDB/Accept.pm
src/PMG/RuleDB/BCC.pm
src/bin/pmg-smtp-filter