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 ; };

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.