[Mimedefang] MX -> 127.0.0.1

Damrose, Mark mdamrose at elgin.edu
Thu Nov 3 13:00:38 EST 2005


> -----Original Message-----
> From: Kevin A. McGrail


Some additional tests you may want to consider

  #Experimental block - Former Class E - 240.0.0.0/4
  if ($ip =~ /^2[45]\d\./) {
    return (1, "Invalid use of an experimental IP $ip as an MX record");
  } 

  #Reserved for benchmark tests of interconnect devices 192.18.0.0/15
  if ($ip =~ /^192\.1[89]\./) {
    return (1, "Invalid use of a reserved IP $ip as an MX record");
  } 

  #Reserved for documentation or published examples 192.0.2.0/24
  if ($ip =~ /^192\.0\.2\./) {
    return (1, "Invalid use of a reserved IP $ip as an MX record");
  } 



More information about the MIMEDefang mailing list