diff --git a/data/conf/rspamd/dynmaps/tags.php b/data/conf/rspamd/dynmaps/tags.php index cc6435fe..a084d141 100644 --- a/data/conf/rspamd/dynmaps/tags.php +++ b/data/conf/rspamd/dynmaps/tags.php @@ -14,4 +14,9 @@ $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); while ($row = array_shift($rows)) { echo strtolower(trim($row['username'])) . PHP_EOL; } -?> \ No newline at end of file +$stmt = $pdo->query("SELECT CONCAT(mailbox.local_part, '@', alias_domain.alias_domain) as `tag_ad` FROM `mailbox` INNER JOIN `alias_domain` ON mailbox.domain = alias_domain.target_domain WHERE mailbox.wants_tagged_subject='1';"); +$rows = $stmt->fetchAll(PDO::FETCH_ASSOC); +while ($row = array_shift($rows)) { + echo strtolower(trim($row['tag_ad'])) . PHP_EOL; +} +?> diff --git a/data/web/admin.php b/data/web/admin.php index f0c11f60..24c064b3 100644 --- a/data/web/admin.php +++ b/data/web/admin.php @@ -48,7 +48,7 @@ $tfa_data = get_tfa();