Spamfilter block

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

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 <text>;
	target { <target(s)> };
	action <action>;
	reason <reason>;
	ban-time <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.