|?SETTING_ID=`USERNAME`_prefs|
|?WHITELIST_ID=`USERNAME`_whitelist|
|?BLACKLIST_ID=`USERNAME`_blacklist|
|CUSTOM1|
|SETTING_ID| {
	id = "|SETTING_ID|";
	priority = |PRIORITY|;
|CUSTOM2|
|RCPT|
|CUSTOM3|
	apply {
|CUSTOM4|
		actions {
|CUSTOM5|

|*if where="delete"|
|?high_score_block=yes|
|?high_score=`required_hits`|
|*endif|

|*if high_score_block="yes"|
			reject = |high_score|;
|*endif|
			greylist = null;
			"add header" = |required_hits|;
|CUSTOM6|
		}
|CUSTOM7|
	}
|CUSTOM8|
}
|CUSTOM9|
|*if blacklist_count>"0"|
|BLACKLIST_ID| {
	priority = high;
	|CUSTOM10|
|RCPT|
|blacklist_from_list|
	apply {
		actions {
			reject = -999;
			greylist = null;
			"add header" = null;
			|CUSTOM11|
		}
	}
}
|*endif|
|*if whitelist_count>"0"|
|WHITELIST_ID| {
	priority = 4;
|CUSTOM12|
|RCPT|
|whitelist_from_list|
	want_spam = yes;
|CUSTOM13|
}
|*endif|
|CUSTOM14|
