procmail
[Top] [All Lists]

Rewriting multiple addressees

1998-11-19 08:08:20
Hi,

I'm trying to filter multiple TOs:

* ^TO(_dot_)*test1(_at_)bfs(_dot_)org(_dot_)uk(_dot_)*
| sendmail -oi andyt1(_at_)haveland(_dot_)com

: 1
* ^TO(_dot_)*test2(_at_)bfs(_dot_)org(_dot_)uk(_dot_)*
| sendmail -oi andyt2(_at_)haveland(_dot_)com
etc...

When mailing to "test1(_at_)bfs(_dot_)org(_dot_)uk, 
test2(_at_)bfs(_dot_)org(_dot_)uk", andyt1 gets the message,
but andyt2 doesn't..

It appears that as soon as a recipe is true, then parsing stops and procmail
exits.

Is there any way to rewrite mail to multiple addresses? or do I have to squirt
a match and the entire msg a perl program for further parsing instead?
Not a nice prospect :-(

Andy.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HRA Web Services, 17 Williams Way, Fleet, Hants GU13 9EU, England
Tel. +44 (0)1252-811670    ICQ: 1331640   Web: http://www.1HR.net

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