[Rspamd-Users] How to allow only one domain to use rspamd?
P.V.Anthony
anthony at mindmedia.com.sg
Sat Apr 6 07:13:02 UTC 2019
Hi,
I am trying to learn how to use rspamd. The email server has multiple
domains. A domain has been setup for testing rspamd.
Need to know how to setup rspamd to be active only on one domain.
In the /etc/rspamd/local.d/settings.conf the following has been done.
But rspamd is still processing the other domains as well.
-------- settings.conf ------------------
enabled_domains {
id = "enabled_domains";
priority = high;
rcpt = "@example.com";
user = "@example.com";
apply {
subject = "SPAM: %s (%d)";
}
}
disabled_domains {
id = "disabled_domains";
priority = low;
rcpt = "@*";
user = "@*";
apply {
actions {
symbols_enabled = [];
groups_enabled = [];
}
}
}
----------- end -------------------------
Where have I gone wrong?
--
P.V.Anthony
More information about the Users
mailing list