3 Jul 2008 12:03
Bug#223593: #223593: Whitelisting with EoC
Version: 1.2.6-1 With the --post option it is fairly simple to create moderation whitelists by using a pre-EoC filter. I just built a moderation whitelisting system for a EoC mailing list as follows: First, note that I am using Postfix and a separate lists domain here. All mail to foo@... gets sent to jyvilists-foo on the server. I'm using Maildrop as the MDA and its filter language to preprocess EoC mail as follows: import SENDER import LOCAL import RECIPIENT IGNORE=`enemies-of-carlotta --is-list --skip-prefix=jyvilists- --domain=lists.jyvaskylanvihreat.fi --name $LOCAL` if ($RETURNCODE != 0) { echo "no such address $RECIPIENT ($LOCAL)" EXITCODE=67 exit } EOC_OPT='' if ($LOCAL eq 'jyvilists-ehdokkaat' && lookup($SENDER,'ehdokkaat-whitelist') ) { EOC_OPT='--post' } to "|enemies-of-carlotta --skip-prefix=jyvilists- --domain=lists.jyvaskylanvihreat.fi $EOC_OPT --incoming"(Continue reading)
RSS Feed