]> git.proxmox.com Git - pmg-api.git/commit
greylisting: drop unneeded Host column form cgreylist table
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 11 Jun 2021 15:54:46 +0000 (17:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Jun 2021 12:20:44 +0000 (14:20 +0200)
commit4e5d7fd8808e8579a1e483bf999f1e83f9eb4f29
tree14b174aa6428bc2a7ec13ad3d7e176c1776ded03
parent96c0c47f83b359c0db322ff9c40c381cae7ddec4
greylisting: drop unneeded Host column form cgreylist table

With the changes added in f61d54891d4820b21ef9e53f7ce0ebb1d5be1f73
greylisting does the matches based on a configurable netmask, and
does not use the 'Host' column in the cgreylist table anymore.

Drop it now with PMG 7.0

Quickly tested the following scenarios (all successfully):
* Upgrading from a previous version
* Restoring a pmg-backup taken with PMG 5.2 (the greylist table is
  excluded from the backup)
* Adding a node with the changes to an existing cluster without the
  change
* Adding a node without the changes to a master-node having them

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/Cluster.pm
src/PMG/DBTools.pm
src/bin/pmgpolicy