IFLOCAL


NAME

iflocal -- check if an incoming mail comes from the local network

SYNOPSIS

iflocal {local-network}

DESCRIPTION

iflocal scans the headers of a message in the standard input for all ``Received'' lines. If no ``Received'' line is found, or if all ``Received'' lines came from mail servers in one of the given local networks, iflocal exits 0. Otherwise 100.

All networks are to be specified in CIDR notation.

AUTHOR

Andreas F. Borchert, http://dotqmailutils.sourceforge.net/
converted to HTML: 2008/03/29

Thanks to Sourceforge for hosting this package. SourceForge.net Logo

Andreas F. Borchert, March 29th, 2008