procmail
[Top] [All Lists]

Re: vacation response

2000-04-20 03:02:49
From: Philip Guenther <guenther(_at_)gac(_dot_)edu>

salvo <salvo(_at_)reaper(_dot_)org> writes:

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

It looks to me like he would need a semicolon after the last formail
statement, too, as in

        -A"X-Loop: ircd(_at_)reaper(_dot_)org" ;\
    echo . . . 

-- 
    \     .-.     .-.     .-.     .-.     .-.     .-.     .-.     /
     \-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
      '-'     '-'     '-'     '-'     '-'     '-'     '-'     '-'

<Prev in Thread] Current Thread [Next in Thread>