[Rspamd-Users] regexp operators, how to use?

Andy Balholm andy at balholm.com
Tue Dec 7 22:39:29 UTC 2021


Rspamd supports operators between patterns. Here's an example from my 
regexp.conf:

WA_LISTERV_EMAIL_STORM {
         re = 'To=/@listserv\..*\.wa\.gov/i{header} && 
(!From=/\.wa\.gov/i{header} || 
From=/dmarc-request at listserv\..*\.wa\.gov/i{header})',
         score = 20,
         description = 'Replies to Washington State mailing lists',
}

Andy



More information about the Users mailing list