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

Jürgen Echter j.echter at echter-kuechen-elektro.de
Thu Dec 9 13:10:21 UTC 2021


Am Dienstag, Dezember 07, 2021 23:39 CET, schrieb Andy Balholm <andy at balholm.com>:
 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

--
Users mailing list
Users at lists.rspamd.com
https://lists.rspamd.com/mailman/listinfo/usersHi,

that did work, didn't work in a map though.

Thanks for clarification.  


More information about the Users mailing list