[Rspamd] Pushover, check sender by regex

This commit is contained in:
andryyy
2020-04-16 21:58:30 +02:00
parent 7fa10cc3b4
commit 47a15c21aa
9 changed files with 82 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ function init_db_schema() {
try {
global $pdo;
$db_version = "16042020_1004";
$db_version = "16042020_2104";
$stmt = $pdo->query("SHOW TABLES LIKE 'versions'");
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
@@ -841,6 +841,7 @@ function init_db_schema() {
"title" => "TEXT",
"text" => "TEXT",
"senders" => "TEXT",
"senders_regex" => "TEXT",
"active" => "TINYINT(1) NOT NULL DEFAULT '1'"
),
"keys" => array(