Quoting David Benfell <[EMAIL PROTECTED]>:
[snip]
>        if ( /^To: *!.*/ && lookup( $MATCH2, "badto.dat" )
>        {
>           exit
>        }
[snip]
> I'm not seeing an alternative method here.

The example above is the alternative to the code I suggested.  This
will search for the To: header and look up the second part of the
match (see ! operator).  If you want to lookup every line, try

foreach /^..*$/
{
  if ( lookup( $MATCH, "member-list" ) )
    to "$DEFAULT"
}

HTH,
  Jeffrey

-- 
I don't do Windows and I don't come to work before nine.
                 -- Johnny Paycheck

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to