Skip to content

Conversation

@branciar
Copy link

@branciar branciar commented Apr 2, 2024

The LUA final policy script functions odkim.add_rcpt, odkim.del_rcpt, odkim.del_header and odkim.quarantine need some Milter capability flags to be set (respectivley: SMFIF_ADDRCPT, SMFIF_DELRCPT, SMFIF_CHGHDRS and SMFIF_QUARANTINE), but these capabilities are not always activated depending on OpenDKIM configuration parameters.

This patch enforces activation of these capabilities if FinalPolicyScript is defined in opendkim.conf, so that related functions actually work regardless of other configuration parameters.

…INE if FinalPolicyScript is set so that odkim.add_rcpt, odkim.del_rcpt, odkim.del_header and odkim.quarantine work predictably regardless of other configuration parameters
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Apr 9, 2024
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Apr 26, 2024
Fix issue trusteddomainproject#213: Enforces activation of SMFIF_ADDRCPT,
SMFIF_DELRCPT, SMFIF_CHGHDRS and SMFIF_QUARANTINE capabilities
if FinalPolicyScript is defined in opendkim.conf, so that the
LUA final policy script functions odkim.add_rcpt, odkim.del_rcpt,
odkim.del_header and odkim.quarantine actually work regardless of
other configuration parameters.
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant