Mate Wierdl <[EMAIL PROTECTED]> wrote:

>Based on the contents of a header field, I'd like to redirect mail to
>_two_ addresses.  
>
>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.

Why not just use two condredirect program deliveries? E.g.:

  |condredirect [EMAIL PROTECTED] sh -c '822field okidoki | grep [EMAIL PROTECTED]'
  |condredirect [EMAIL PROTECTED] sh -c '822field okidoki | grep [EMAIL PROTECTED]'

Or conredirect to an alias:

  |condredirect foo sh -c '822field okidoki | grep [EMAIL PROTECTED]'

then create ~alias.qmail-foo containing:

  &[EMAIL PROTECTED]
  &[EMAIL PROTECTED]

-Dave

Reply via email to