Switch to using redis for dkim keys

This commit is contained in:
danwin1210 committed 2026-10-23 20:17:49 +02:00
1 parent d9f12adde6
commit 11fe088b64
11 files changed
+115 -41

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ const INACTIVITY_PERIOD_MONTHS = [1, 6, 12, 24]; // Allowed inactivity periods i
const DEFAULT_INACTIVITY_PERIOD = 12; // Default inactivity period in months
const ALLOW_ACCOUNT_NEVER_DELETE = false; // Whether to allow users to set their inactivity period to "never delete"
const RSPAMD_SETTINGS_MAP_TOKEN = 'CHANGE_ME_TO_A_LONG_RANDOM_SECRET'; // Token used to authenticate requests to the Rspamd settings map endpoint
const RSPAMD_REDIS_HOST = '127.0.0.1'; // Redis server used by Rspamd
const RSPAMD_REDIS_PORT = 6379; // Redis port used by Rspamd
const SPAM_REJECT_SCORE_OPTIONS = [0, 5, 8, 10, 12, 15, 20, 25, 30]; // Allowed spam reject scores
const DEFAULT_SPAM_REJECT_SCORE = 15; // Default spam reject score
const CUSTOM_RSPAMD_SETTINGS = ''; // Custom Rspamd settings to be added to the Rspamd settings map