Relating to the addition of wildcards to SpamAssassin/Rspamd: https://www.directadmin.com/features.php?id=2582 If you were to be blacklisting: *.com it would imply that firstname.lastname@example.org would be blocked, which it was. The issue is that it was adding it to the rspamd configs as: from = â€œ/.*\.com/â€ which would have also matched email@example.com, because the dot needed to be double escaped, and the start/end of the string defined. This change now swaps periods with \\. and adds ^ and $ to the start/end of the string, eg: from = "/^.*\\.com$/"