##
##  mopherd.acl -- Mopher Access Control List (ACL)
##

connect counter_relay > 5 continue
connect tarpit 10s
connect bl_sorbs tarpit 10s

envrcpt greylist
envrcpt bl_sorbs greylist delay 5m attempts 3 deadline 2h visa 7d

#envrcpt spamd_score > 3 greylist delay 5m attempts 3 deadline 2h visa 7d
#envrcpt spamd_score > 5 greylist delay 30m attempts 5 deadline 4h visa 7d
#envrcpt spamd_score > 8 reject

eom counter_relay > 5 jump stamp
eom tarpit 20s
eom jump stamp

#stamp add header "X-Mopher-Spamassassin-Score" value spamd_score
#stamp add header "X-Mopher-Spamassassin-Symbols" value spamd_symbols

stamp tarpit_delayed   add header "X-Mopher-Tarpit"   value "message tarpitted for "  + tarpit_delayed   + " seconds"
stamp greylist_delayed add header "X-Mopher-Greylist" value "message greylisted for " + greylist_delayed + " seconds"

