Procmail auto-reply

From VVCWiki
Revision as of 02:25, 2 May 2009 by Vvc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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