On Tue, Aug 28, 2001 at 11:43:21AM -0500, Mate Wierdl wrote:
> With one address, I can do
> 
> |condredirect [EMAIL PROTECTED] sh -c '822field okidoki | grep [EMAIL PROTECTED]'
> 
> The best thing I could come up with is putting the two addresses in a
> .qmail file, and condredirecting the message to the .qmail file.

Mabey using "forward" you can accomplish something like (untested!)

    |forward `sh -c '822field okidoki | grep [EMAIL PROTECTED] && echo [EMAIL PROTECTED] [EMAIL PROTECTED]'`

I tried it with
    
.qmail-test
    |forward `echo [EMAIL PROTECTED] [EMAIL PROTECTED]`

and sent mail to [EMAIL PROTECTED] and at it seemed to work (got the
email at both listed addresses)

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.

Reply via email to