home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!hela.iti.org!lokkur!scs
- From: scs@lokkur.dexter.mi.us (Steve Simmons)
- Subject: Re: how can i use vacation and filter at the same time (maybe FAQ)
- Message-ID: <1992Aug15.013647.25472@lokkur.dexter.mi.us>
- Keywords: filter, vacation, faq
- Organization: Inland Sea
- References: <1992Aug14.132411.29239@murdoch.acc.Virginia.EDU>
- Distribution: na
- Date: Sat, 15 Aug 92 01:36:47 GMT
- Lines: 33
-
- my2x@fermi.clas.Virginia.EDU (Munho Yi) writes:
-
- >i wonder whether i can use filter and vacation at the same time.
- >it would be hard since they both using .forward file.
-
- I haven't actually tried this, but it should work.
-
- The .forward file contains a comma-separated list of things to do
- with incoming mail. The traditional use of vacation in a .forward
- file is:
-
- \user, "|/usr/bin/vacation user"
-
- meaning "force one copy into my incoming mailbox and force another copy
- thru the vacation program with the option `user'." The traditional use
- of filter in a .forward file is"
-
- "|/usr/local/bin/filter"
-
- meaning "force all my mail to go through the filter program." Note
- it does *not* force a copy into your incoming mailbox: presumably
- filter will place it there if that's the appropriate place.
-
- To combine the two, replace the forced copy from the vacation example
- with the filter pipe instead of the forced copy:
-
- "|/usr/local/bin/filter", "|/usr/bin/vacation user"
-
- Let us know if it works, OK?
- --
- "Voodoun is a very interesting religion for the whole family, even those
- members of it who are dead."
- -- "Good Omens", by Neil Gaiman and Terry Pratchett
-