# Part of the MediaWiki Wikilist extension # See http://openwetware.org/wiki/User:Austin/Extensions/Wikilist for documentation # This file needs to be edited for your local configuration! # Author: Austin Che SHELL=/bin/sh # important if user running procmail doesn't have valid shell defined WIKILISTPHP=/data/web/extensions/active/wikilist.php PHP=/usr/bin/php TRASH=/dev/null COMSAT=no # no point to notify # turn on logging #VERBOSE=yes #LOGFILE=/tmp/wikilist.procmail.log #LOGABSTRACT=all LIST=$1 DOMAIN=$2 :0 * LIST ?? . * DOMAIN ?? . { :0 W STATUS=| $PHP -q $WIKILISTPHP --domain=$DOMAIN $LIST :0 e { EXITCODE=67 # no such user error code :0fiW | echo "$STATUS" :0 | } :0 $TRASH } :0E { # no list given, bounce the message EXITCODE=67 # no such user error code :0fiW | echo "no list provided" :0 | }