[EMAIL PROTECTED] writes:

> +    if (/(?:return-path:? |envelope-(?:sender|from)[ =])(\S+)\b/i) {
>        $envfrom = $1;
>      }

Should we just look for

  /\b(?:return-path|envelope-(?:sender|from))[ =:])\s*(\S+)\b/i

?

(I assume we remove paired ["'<>] at start and end somewhere later too,
by the way.)

Daniel

-- 
Daniel Quinlan                     ApacheCon! 13-17 November (3 SpamAssassin
http://www.pathname.com/~quinlan/  http://www.apachecon.com/  sessions & more)

Reply via email to