]> git.proxmox.com Git - pmg-api.git/commit
fix #2232: set rulename for default accept
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 6 Jun 2019 09:26:37 +0000 (11:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 6 Jun 2019 09:32:59 +0000 (11:32 +0200)
commitecf08b5609192956b3b58c7255f1e833ace716eb
treeb674504aa0ed42caaf7339e09ff52e3d5a34bea1
parentf990c8e1f25bffd2174fab374203a09e19a45055
fix #2232: set rulename for default accept

Logging the rulename along with the action taken introduced in
365d5b9549d25a910c82cd37034f05e1c906565a, introduced a regression, for the
default action (accept), since the accept-rule is instantiated directly it
did not set a name, resulting in an 'Use of uninitialized value' being written
to the mail.log for every mail not triggering any explicit rule.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
bin/pmg-smtp-filter