mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-22 09:39:48 +00:00
Add an admin-configurable, server-wide default for the quarantine notification interval and category. Previously these two per-mailbox settings could only fall back to compile-time values in vars.inc.php and there was no way to set a default from the UI or apply one to existing mailboxes. - Store defaults in Redis (Q_DEF_NOTIFICATION, Q_DEF_CATEGORY) via the existing quarantine settings handler, alongside the other Q_* keys. - New mailboxes inherit the global default through a new get_quarantine_default() helper (Redis -> vars.inc.php fallback). Per-mailbox user overrides keep working unchanged. - New admin action "apply_existing" force-applies the default to all existing mailboxes (admin only, confirm dialog in the UI). - Add two dropdowns and an apply button to the admin quarantine settings tab plus the corresponding language strings. - Rewrite the notification email template (data/assets/templates/ quarantine.tpl) as a clean, mobile-first, responsive, dark-mode aware layout. All Jinja2 variables, HTML escaping and qhandler links are preserved; only installs with an empty custom template are affected. No DB schema change, no migration, no Docker image rebuild. |
||
|---|---|---|
| .. | ||
| ajax | ||
| lib | ||
| presets | ||
| footer.inc.php | ||
| functions.acl.inc.php | ||
| functions.address_rewriting.inc.php | ||
| functions.admin.inc.php | ||
| functions.app_passwd.inc.php | ||
| functions.auth.inc.php | ||
| functions.customize.inc.php | ||
| functions.dkim.inc.php | ||
| functions.docker.inc.php | ||
| functions.domain_admin.inc.php | ||
| functions.fail2ban.inc.php | ||
| functions.fwdhost.inc.php | ||
| functions.inc.php | ||
| functions.mailbox.inc.php | ||
| functions.mailq.inc.php | ||
| functions.oauth2.inc.php | ||
| functions.policy.inc.php | ||
| functions.presets.inc.php | ||
| functions.pushover.inc.php | ||
| functions.quarantine.inc.php | ||
| functions.quota_notification.inc.php | ||
| functions.ratelimit.inc.php | ||
| functions.rspamd.inc.php | ||
| functions.tls_policy_maps.inc.php | ||
| functions.transports.inc.php | ||
| header.inc.php | ||
| init_db.inc.php | ||
| prerequisites.inc.php | ||
| sessions.inc.php | ||
| spf.inc.php | ||
| triggers.admin.inc.php | ||
| triggers.domainadmin.inc.php | ||
| triggers.global.inc.php | ||
| triggers.user.inc.php | ||
| twig.inc.php | ||
| vars.inc.php | ||