Lines 378-383
Link Here
|
378 |
# we don't care about this kind of gateway noise |
378 |
# we don't care about this kind of gateway noise |
379 |
if (/^\(/) { return; } |
379 |
if (/^\(/) { return; } |
380 |
|
380 |
|
|
|
381 |
# Received: from 142.169.110.122 |
382 |
# (SquirrelMail authenticated user synapse) |
383 |
# by mail.nomis80.org with HTTP; |
384 |
# Sat, 3 Apr 2004 10:33:43 -0500 (EST) |
385 |
# we don't care about IP address of Squirrelmail user |
386 |
if (/\(SquirrelMail authenticated user /) { return; } |
387 |
|
381 |
# OK -- given knowledge of most Received header formats, |
388 |
# OK -- given knowledge of most Received header formats, |
382 |
# break them down. We have to do something like this, because |
389 |
# break them down. We have to do something like this, because |
383 |
# some MTAs will swap position of rdns and helo -- so we can't |
390 |
# some MTAs will swap position of rdns and helo -- so we can't |
Lines 868-881
Link Here
|
868 |
$helo = $1; $ip = $2; $by = $3; goto enough; |
875 |
$helo = $1; $ip = $2; $by = $3; goto enough; |
869 |
} |
876 |
} |
870 |
|
877 |
|
871 |
# from 165.228.131.11 (proxying for 139.130.20.189) (SquirrelMail authenticated user jmmail) by jmason.org with HTTP |
|
|
872 |
if (/^from (\S+) \(proxying for (${IP_ADDRESS})\) \([A-Za-z][^\)]+\) by (\S+) with /) { |
873 |
$ip = $2; $by = $3; goto enough; |
874 |
} |
875 |
if (/^from (${IP_ADDRESS}) \([A-Za-z][^\)]+\) by (\S+) with /) { |
876 |
$ip = $1; $by = $2; goto enough; |
877 |
} |
878 |
|
879 |
# Received: from [212.87.144.30] (account seiz [212.87.144.30] verified) by x.imd.net (CommuniGate Pro SMTP 4.0.3) with ESMTP-TLS id 5026665 for spamassassin-talk@lists.sourceforge.net; Wed, 15 Jan 2003 16:27:05 +0100 |
878 |
# Received: from [212.87.144.30] (account seiz [212.87.144.30] verified) by x.imd.net (CommuniGate Pro SMTP 4.0.3) with ESMTP-TLS id 5026665 for spamassassin-talk@lists.sourceforge.net; Wed, 15 Jan 2003 16:27:05 +0100 |
880 |
if (/^from \[(${IP_ADDRESS})\] \([^\)]+\) by (\S+) /) { |
879 |
if (/^from \[(${IP_ADDRESS})\] \([^\)]+\) by (\S+) /) { |
881 |
$ip = $1; $by = $2; goto enough; |
880 |
$ip = $1; $by = $2; goto enough; |