Strange sunspot activity caused Pat Crawford <0001020203@mcimail.com> to write:
| Hi.
|
| We just installed Majordomo. Within the first week we got one of these:
|
| ------- Forwarded Message
|
| MAJORDOMO ABORT
|
| HOSTILE ADDRESS
| /PN=JIM.JA.FEE/DD.ID=JA.FEE/ADMD=TELECOM.CANADA/C=CA/@resonet.com
|
|
| ------- End of Forwarded Message
|
| Don't remember seeing this documented anywhere. Can anyone help?
|
| Pat Crawford
| MCI Communications
On or about line 330 or majordomo.pl there is a check for a "valid"
address. Anything with a '|' or '/' is considered an invalid address.
The line is question is:
if (tr/|\//|\// != 0) {
&main'abort("HOSTILE ADDRESS $addr");
I'm not sure why these are considered invalid (except that RFC 1183? says
they aren't), but wouldn't this line be *much* easier to parse if it were:
if (/|\//) {
Steve
Follow-Ups:
|
|