Re: Where can I get vacation ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
      | 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@xxxxxxxxxxx" ; \
      cat $HOME/.vacation.msg; \
      echo ""; \
      echo "-- "; cat $HOME/.signature \
      ) | $SENDMAIL -oi -t




--
--------------------------------------------------------------------------
Joel Jaeggli  	       Unix Consulting 	       joelja@xxxxxxxxxxxxxxxxxxxx
GPG Key Fingerprint:     5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux