diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-12 17:58:09 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-12 17:58:09 +0300 |
commit | 9a0362647374be48a29887d0571b8a665877be6b (patch) | |
tree | d2d5de53776d3b1b1faec6cd2254dccf31b81024 /rspamd.conf.sample | |
parent | 2003dce62438e513e614056540c22f4f755ec88b (diff) | |
download | rspamd-9a0362647374be48a29887d0571b8a665877be6b.tar.gz rspamd-9a0362647374be48a29887d0571b8a665877be6b.zip |
* Some fixes to regexp module
* Add documentation for rspamd regexp module
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r-- | rspamd.conf.sample | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample index 14744c771..f786f7446 100644 --- a/rspamd.conf.sample +++ b/rspamd.conf.sample @@ -131,4 +131,14 @@ delivery { whitelist = "highsecure.ru,freebsd.org"; }; + +$to_blah = "To=/blah@blah/H"; +$from_blah = "From=/blah@blah/H"; +$subject_blah = "Subject=/blah/H"; + +.module 'regexp' { + BLAH_SYMBOL = "${to_blah} & !(${from_blah} | ${subject_blah})"; +}; + url_filters = "surbl"; +header_filters = "regexp"; |