[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Where can I get vacation ?
- From: Joel Jaeggli <joelja darkwing uoregon edu>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Where can I get vacation ?
- Date: Thu, 29 Sep 2005 12:48:35 -0700 (PDT)
On Thu, 29 Sep 2005, Guy Fraser wrote:
Yes I need a holiday, but not until I find the vacation binary
or source.
I know it is part of the sendmail source, but there is no
binary version I can find.
Any help appreciated.
a procmail ruleset that mimics the function of vacation looks like this
(just put your message in .vacation.msg) change the uoregon.edu bits to
your own host obviously...:
# Procmail magic - FROM_DAEMON screens for common daemon
# info and should catch most lists and not send a message
# so first we filter & build the cache:
:0 Whc: vacation.lock
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: $USER uoregon edu
| formail -rD 8192 vacation.cache
# Then we send the vacation msg -
# Only run this rule if the last rule didn't match,
# meaning it will only mail each individual user once.
:0 ehc # if the name was not in the cache
| (formail -rA"Precedence: junk" \
-A"X-Loop: $USER uoregon edu" ; \
cat $HOME/.vacation.msg; \
echo ""; \
echo "-- "; cat $HOME/.signature \
) | $SENDMAIL -oi -t
--
--------------------------------------------------------------------------
Joel Jaeggli Unix Consulting joelja darkwing uoregon edu
GPG Key Fingerprint: 5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]