Subject: Re: .forward filter?

From: [email-masked] (Guy Meacham)
Date: 2 Oct 1996 05:18:47 GMT

On Tue, 1 Oct 1996 11:02:11 -0700 Michael Darius wrote:
: I have been trying for ages to create a filter for my forward file.
: or figure out another way to accomplish this task...
: I am going through an ISP who is offering me a virtual hosting system.
: In turn, [email-masked]  is funneled to one account.
: I have been trying to make a filter to be able to make it so that if
: it says a specific [email-masked] then it will be forwarded
: to their email address...
: an example of what I have tried:
: if for: [email-masked] then to: [email-masked]
: if for: [email-masked] then to: [email-masked]
: 
: none of which have worked... If you know the format for which this should
: look, or have any information regarding this subject please send mail to:
: [email-masked]   or, post to this newsgroup...
: 
: 
: thanks for your time....Michael Darius

I do not think you can do this just with your .forward file I think you
need to look at something like procmail. check out man procmail and man
procmailex.
-- 
Guy Meacham.......................finger -l [email-masked]
Rippingale Nursery...............http://www.teleport.com/~meacham/
.                                      
"Opportunity is missed by most people because it is dressed in overalls
and looks like work."
                -- Thomas Edison

---

From: [email-masked] (TRAN Huu Da)
Date: 2 Oct 1996 11:16:58 GMT

Un jour, Michael Darius ([email-masked])
      affirmait publiquement que:

| I have been trying to make a filter to be able to make it so that if it
| says a specific [email-masked] then it will be forwarded to
| their email address... 

Well, you could ask your ISP what filter program(s) he offers... But I
guest that "filter" (from ELM package) and "procmail" should be installed.

| an example of what I have tried:
| if for: [email-masked] then to: [email-masked]
| if for: [email-masked] then to: [email-masked]

For exact syntax, please read the manpages...
	man filter
   or
	man procmail

HTH...
(Cc'ed)

__________________________________________________________________________
   TRAN, Huu Da                                  Université de Montréal
   [email-masked]         http://www.jsp.umontreal.ca/~tranhu/

On considère comme normal de vénérer, en général, la virginité et
d'aspirer ardemment, en particulier, à sa destruction.         -- K. Kraus

---

From: Michael Darius <[email-masked]>
Date: Tue, 1 Oct 1996 11:02:11 -0700

I have been trying for ages to create a filter for my forward file.
or figure out another way to accomplish this task...
I am going through an ISP who is offering me a virtual hosting system.
In turn, [email-masked]  is funneled to one account.
I have been trying to make a filter to be able to make it so that if
it says a specific [email-masked] then it will be forwarded
to their email address...
an example of what I have tried:
if for: [email-masked] then to: [email-masked]
if for: [email-masked] then to: [email-masked]

none of which have worked... If you know the format for which this should
look, or have any information regarding this subject please send mail to:
[email-masked]   or, post to this newsgroup...

thanks for your time....Michael Darius

---

From: [email-masked] (Sven Guckes)
Date: 2 Oct 1996 13:35:22 GMT

> or figure out another way to accomplish this task...

If your ISP offers ELM's "filter" then look at my descriptions on this page:
	http://www.math.fu-berlin.de/~guckes/elm/elm.filter.html

> to their email address...

Add this rule to $HOME/.elm/filter-rules :
	if (from = address) then forward address.new

And if you want to keep a copy of it then use the action "forwardc", ie
	if (from = address) then forwardc address.new

> look, or have any information regarding this subject please send mail ..

If you don't tell us the name of the filter you use then we cannot help you.

[email-masked]

---

From: Nancy McGough <[email-masked]>
Date: 7 Oct 1996 10:48:07 -0400

>to their email address...

This is one of the most frequently asked questions on the procmail
mailing list.  I suggest you look at the procmail mailing list 
archives, which are available through either of these:

  http://www.jazzie.com/ii/internet/procmail/
  http://www.best.com/~ii/internet/procmail/ (mirror of above)

I think the best solution is if you can get your ISP to insert
a X-Envelope header, which you can use to filter the messages.
The problem is that when a user is Bcc'd you won't be able to
tell who it was intended for (unless the user's address shows
up in one of the Received headers but this doesn't always happen).
Good luck and please let us know if you find a good solution.

  -Nancy
   (posted and mailed)

-- 
<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<
            @..@            Nancy McGough           /\_/\
           (----)           Infinite Ink           ( o.o )
          ( >__< )    http://www.jazzie.com/ii/     > ~ <