Procmail auto-reply
From VVCWiki
Jump to navigationJump to search
~/.procmalrc
SHELL=/bin/bash :0 hc * !^FROM_DAEMON * !^FROM_MAILER * !^X-Loop: autoreply * ^Subject:.* | (formail -rt -A"Precedence: junk"\ -A"X-Loop: autoreply" ; \ cat $HOME/autoreply.txt ) | $SENDMAIL -t