On Thu, Dec 04, 2003 at 02:54:10PM +0200, Jason Dale wrote: > > Does anyone have a simple '.procmailrc' file that I can > use to send an auto-response back to all senders, for > vacation notifications, etc? This saves me from having > to figure out how to write on myself, as procmail is > not easy to master. I can't think of an example any better than the one in the procmailex man page: :0 Whc: vacation.lock # Perform a quick check to see if the mail was # addressed to us * $^To:.*\<$\LOGNAME\> # Don't reply to daemons and mailinglists * !^FROM_DAEMON # Mail loops are evil * !^X-Loop: your@xxxxxxxxxxxxxxxx | formail -rD 8192 vacation.cache :0 ehc # if the name was not in the cache | (formail -rI"Precedence: junk" \ -A"X-Loop: your@xxxxxxxxxxxxxxxx" ; \ echo "I received your mail,"; \ echo "but I won't be back until Monday."; \ echo "-- "; cat $HOME/.signature \ ) | $SENDMAIL -oi -t -- Hal Burgiss -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/psyche-list