salvo <salvo(_at_)reaper(_dot_)org> writes:
...
This is my .procmailrc file:
SHELL=/bin/sh # for other shells, this might need adjustment
LOGNAME=~ircd/procmail.log
SENDMAIL=/usr/sbin/sendmail
Um, LOGNAME is supposed to be your username. I think you mean to set
LOGFILE. Furthermore, procmail doesn't support tilde expansion, so
you'll need to expand ~ircd yourself.
Also, do you really need to set SENDMAIL? What's wrong with the
compiled in value?
0 Whc: vacation.lock
Here's you biggest problem: you're missing the colon before the zero.
That'll take care of all the "Skipped" errors.
Everything else looks fine, though I would suggest indenting the
multi-line action to make it more readable:
:0 ehc # if the name was not in the cache
| (formail -rI"Precedence: junk" \
-I"Subject: Out of office" \
-A"X-Loop: ircd(_at_)reaper(_dot_)org" \
echo "I am currently out of town on vacation until 2nd May, after which"; \
echo "time I will respond to your e-mail. I can be contacted on 082
xxxxxxx"; \
echo "should you need to reach me urgently."; \
echo "Thank you."; \
) | $SENDMAIL -oi -t
Philip Guenther