Where can I get vacation ?

Guy Fraser guy at incentre.net
Thu Sep 29 21:17:44 UTC 2005


On Thu, 2005-29-09 at 12:48 -0700, Joel Jaeggli wrote:
> 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 at 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 at uoregon.edu" ; \
>        cat $HOME/.vacation.msg; \
>        echo ""; \
>        echo "-- "; cat $HOME/.signature \
>        ) | $SENDMAIL -oi -t
Thanks but I have got the source built the binary and installed it.

This is not for a system I maintain, and the "Administrator" 
is not capable of doing procmail scripts, even from a template.





More information about the users mailing list