SpamAssassin Rule: RCVD_ILLEGAL_IP

Standard description: Received: contains illegal IP address


A check is made of the IP addresses listed in the Received lines in the mail header using This test identifies IPv4 addresses that are invalid according the the allowable address space, as well as addresses that should never be seen as a source of mail.

The valid, but unusable, address ranges are as follows:

Note that ranges currently marked "Unallocated" will probably be allocated by IANA at some point in the future.

Failure of this test suggests that the mailout software added extra message headers to disguise the real source of the message, or else is not using a professionally run network.

Further Info

The default scores for this rule can be found in the online list of tests.

See also: IANA IPv4 Allocation RFC 3330 Special-Use IPv4 Addresses is allocated to the US Department of Defense. It was previously listed by IANA as 'Reserved' causing it to be added to "network bogon" lists. For its current use, it is not expected that traffic originating from this range will routed outside of this range. However, it's not clear that legitimate mail headers wouldn't contain IP addresses from this range.


Rules/RCVD_ILLEGAL_IP (last edited 2012-06-27 23:20:17 by Darxus)