]> git.proxmox.com Git - pmg-api.git/commit - src/bin/pmgpolicy
pmgpolicy: add IPv6 support
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 20 Apr 2020 11:22:41 +0000 (13:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Apr 2020 15:18:19 +0000 (17:18 +0200)
commite159c0fd0db6842de5befac45f6a68d263ee908d
tree433107efb82f99916014d32632be04e1e6e2ed99
parentf61d54891d4820b21ef9e53f7ce0ebb1d5be1f73
pmgpolicy: add IPv6 support

adds a new configuration flag in the 'mail' configuration section to
selectively enable greylisting for IPv6 and leaves its default as false to
maintain backward compatibility.

this change also enables SPF verification of IPv6 addresses if 'spf' is set
in the 'mail' section as a side-effect

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/Config.pm
src/bin/pmgpolicy