Re: Where can I get vacation ?
From: Guy Fraser (guy_at_incentre.net)
Date: 09/29/05
- Previous message: Guy Fraser: "Re: OT: Massachusetts Verdict: MS Office Formats Out"
- In reply to: Joel Jaeggli: "Re: Where can I get vacation ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: fedora-list@redhat.com Date: Thu, 29 Sep 2005 15:17:44 -0600
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@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
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.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Guy Fraser: "Re: OT: Massachusetts Verdict: MS Office Formats Out"
- In reply to: Joel Jaeggli: "Re: Where can I get vacation ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]