#logging - in case you want to troubleshoot (uncomment by deleting #) LOGFILE=$HOME/procmail.log #VERBOSE=yes #shell - otherwise, nothing will happen when we call formail SHELL=/bin/bash #start fortune cow :0 h * !^FROM_DAEMON * !^FROM_MAILER * !^X-Loop: infobot_reply * ^Subject:.* | (formail -rt -A"Precedence: junk (autoreply)"\ -A"Content-Type: text/html; charset=ISO-8859-1"\ -A"X-Loop: infobot_reply" ; \ /home/cow/genFortunes) | $SENDMAIL -t #end fortune cow #begin catch_bucket :0 /dev/null #end catch_bucket