procmail
[Top] [All Lists]

Forward based on To: in body...

1998-04-20 10:49:12
Anyone that has done, this I'll appreciate it how...

I have an account set that should do the following:

* Process e-mail from a specific list (external) of valid addresses
* Search for lines that start with "To: email(_at_)address(_dot_)here" in the 
BODY
of the message, and forward to these receipients.

I'm starting to use procmail, that's why I need the help.

As an Example, the Body of the message will be like this:

text
text
...
To: one(_at_)email(_dot_)address
To: two(_at_)another(_dot_)address
...
To: last(_at_)maximum(_dot_)30(_dot_)address

more text
more text
...

Thanks... I'll appreciate any help.

using procmail v3.11pre4 on Solaris 2.6

-- 
------------------------------------------------------------------
 Ricardo Stella - O.I.T.                 
stella(_at_)library(_dot_)rider(_dot_)edu
 Lib. 234C (609)896-5000 x7436  _suAve_  Rider University
  *** Remove 'no-spam' from e-mail address before replying.  ***

<Prev in Thread] Current Thread [Next in Thread>