Spamfilter whitelist email field should not be modified
The email field of a spamfilter whitelist entry gets processed and evaluated. The user entry should not be modified.
Note that when the email is entered as a simple domain name, that the data is prefixed with '@' on save in /etc/rspamd/local.d/users/spamfilter_wblist_NN.conf:
spamfilter_wblist-22 {
priority = 25;
from = "@creepers.org";
rcpt = "@zombie.vacations";
As noted in this explanation in the forum, the 'from' field is a Regex. The user might not want the hard-coded @ sign before a domain name.
When a Regex is entered, the .conf record might not get created. Try "@(.*.)*domain" on an existing whitelist entry and the .conf file will be deleted and not replaced. This might be resolved by just leaving that field as-is.
It would be helpful if #6082 incorporated a change for this. The easiest solution would be to comment out the processing. A more sophisticated solution might be to add a check in the UI to process the From entry as a domain (existing default) or as a Regex with no processing.