# - Local domain detection
# - Message classification (inbound/outbound/internal)
# - Service-specific rules (Gmail, plus-aliases)
-# - Forwarding detection (moved from rules/forwarding.lua for correct ordering)
-#
-# IMPORTANT: This module includes forwarding detection functionality.
-# If you enable this module, you should DISABLE rules/forwarding.lua to avoid
-# duplicate symbol registration.
+# - Forwarding detection
#
# Documentation: https://rspamd.com/doc/modules/aliases.html
aliases {
- # Enable/disable the module
- #enabled = true;
+ # Enable/disable the module (enabled by default since 3.14.2)
+ # enabled = true;
# System aliases (Unix /etc/aliases format)
# Can be:
-- All forwarding detection functionality has been integrated into the aliases
-- plugin to ensure correct execution order (prefilter stage before classification).
--
--- Symbols now registered by aliases plugin:
+-- Symbols now registered by aliases plugin (enabled by default since 3.14.2):
-- FWD_GOOGLE, FWD_YANDEX, FWD_MAILRU
-- FWD_SRS, FWD_SIEVE, FWD_CPANEL
-- FORWARDED
---
--- To use forwarding detection, enable the aliases plugin:
---
--- # local.d/aliases.conf
--- aliases {
--- enabled = true;
--- local_domains = ["your-domain.com"];
--- }
---
--- See: ALIASES_FORWARDING_MIGRATION.md for migration details