home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!Germany.EU.net!news.uni-bielefeld.de!asl.uni-bielefeld.de!marvo
- From: marvo@asl.uni-bielefeld.de (Markus Vogt)
- Subject: Re: Filter: forwardc saving in other than system mbox?
- Sender: news@hermes.hrz.uni-bielefeld.de (News Administrator)
- Message-ID: <BxKsnA.E5s@hermes.hrz.uni-bielefeld.de>
- Date: Wed, 11 Nov 1992 23:45:10 GMT
- References: <17315.9211061635@tsunb.ctn.cogs.susx.ac.uk> <BxEvLB.FG4@ddsw1.mcs.com>
- Nntp-Posting-Host: liliasl1.uni-bielefeld.de
- Organization: Universitaet Bielefeld, ASL.
- Lines: 43
-
- In article <BxEvLB.FG4@ddsw1.mcs.com>, dattier@ddsw1.mcs.com (DWT) writes:
- |> johny@cogs.sussex.ac.uk (John Yeates) wrote in
- |> <17315.9211061635@tsunb.ctn.cogs.susx.ac.uk>:
- |>
-
- [..deleted..]
-
- |> | Is there a way of specifying a mailbox for forwardc to save in, or (better
- |> | yet) are there plans to implement a "bounce" action, working like the
- |> | bounce command in elm does? [Sanity permitting, I may have a go at this
- |> | myself, if I get the time]
- |>
- |> You can tell filter to execute a script or a program that will send the
- |> letter off to your friend(s) but also store a copy in your selected folder;
- |> if locking is not important, you can just append it to the folder; otherwise
- |> it can massage the headers so that filter can tell it apart from the original
- |> and then mail it to everyone involved, including you, or mail it to everyone
- |> else and also refeed it to filter.
- |>
- |> Now that -f is standard in filter, you can also execute a script or a program
- |> that uses its stdin twice like this: rmail (or otherwise bounce) it to
- |> everyone else and feed it to filter -f some_other_rule_file. That way you
- |> can avoid a loop without needing to alter headers.
- |>
- |> It's much easier to accomplish with procmail or deliver. Both allow multiple
- |> actions on a single letter.
- |>
- |> David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- |> dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-
- I had a filter-rules file containing only the following line:
- if (subject = "linecheck") then forwardc "%r"
-
- In my .forward file I had the following line:
- | /vol/local/bin/filter
-
- Since then all(!) my mails were put into the system's spool dir,
- and not into my own maildir.
- Does anybody know, how to build a script for the filter that
- stores the mail in my own maildir instead of the system's maildir?
-
- Thanks in advance for any further information,
- Markus.
-