Spamfilter block

The spamfilter block allows you to add local spam filters (not network-wide). See the Spamfilter article for more information about spamfilters.

Syntax
spamfilter { match-type [simple|regex|posix]; match ' '; target {  }; action ; reason ; ban-time ; };

Note the use of single quotes for match, instead of double quotes. This will prevent a regex from accidentally be interpreted as an URL by Remote includes.

Please see the Spamfilter article for an explanation on all these fields. They are exactly the same as the /SPAMFILTER command. See also the examples in the same article.

For even more examples have a look at spamfilter.conf in UnrealIRCd.