[Rspamd-Users] regexp operators, how to use?
Jürgen Echter
j.echter at echter-kuechen-elektro.de
Tue Dec 7 16:29:38 UTC 2021
Hi,
i try to add some regex filters where i check headers for foo and not bar.
So i added something like this to local.d/multimap.conf
TEST_REGEX {
type = "header";
header = "from";
map = "$CONFDIR/local.d/test_regex.map";
description = "testing regex";
regexp = true;
score = 5;
}
and the map contains:
/Foo\ Bar &! (foo at bar\.com || foo at bar.org)/iu
When i try to scan my test mail i get no results.
What do i do wrong?
I'm no regex expert, if even a beginner, so please bear with me. :)
Thanks
Juergen
More information about the Users
mailing list