I'm at my wit's end. Why is there no match, when both Received: lines should
match it? I even changed .* to (.|$[ ]) in case the search wasn't spanning
lines correctly, and that didn't help. I took out the extraction marker in
case that was confusing the issue, and that didn't help.
Here is the text:
Received: from tako.wwa.com (tako.wwa.com [198.49.174.34])
by saba.wwa.com (8.9.0/8.9.0) with SMTP id RAA15880
for <dattier(_at_)saba(_dot_)wwa(_dot_)com>; Tue, 28 Jul 1998 17:28:46
-0500 (CDT)
Received: by tako.wwa.com
via sendmail with stdio
id <m0z1IEe-00059YC(_at_)tako(_dot_)wwa(_dot_)com>
for dattier(_at_)saba(_dot_)wwa(_dot_)com; Tue, 28 Jul 1998 17:28:44
-0500 (CDT)
(Smail-3.2 1996-Jul-4 #88 built 1997-Nov-30)
Here is the condition:
* 1^1 ^Received:(.*\<)?by ([^ ]+\.)?wwa\.com.*; *\/[SMTWF].*..:..:..
It should match twice (once to each of those lines) and extract the value of
$MATCH from the second, but it doesn't match at all. What am I not seeing?