[Rspamd-Users] Score/Reject on Subject Line With Regexp

Pete Long pete at valar.uk.net
Thu Dec 9 20:05:22 UTC 2021


On Thu, Dec 09, 2021 at 08:43:15PM +0100, Nihad @ RSPAMD maillist via
Users wrote:
> There was similar question asked few days ago, and it was solved by a
> multimap rule similar to this;
> 
> multimap file
> test {
>  type = "header";
>  header = "subject";
>  map = "${LOCAL_CONFDIR}/local.d/maps.d/test.map";
>  regexp = true;
> }
> 
> test.map
> /YOUR_REGEX_HERE/i SYMBOL_HERE:SCORE_HERE
> 
> Replace strings in CAPS above with your own values.

Thank you too Nihad. Looks good.


Pete.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3284 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20211209/89df03c2/attachment.bin>


More information about the Users mailing list