Administrative Hinweise zu Qmail,
Filter für .qmail
IFFROM
NAME
iffrom -- check if an incoming mail comes from a given network
SYNOPSIS
iffrom {-l local-network} {network}
DESCRIPTION
iffrom scans the headers of a message in the standard input for the
first ``Received'' line, and attempts to match the IP address of the
server that contacted the local mail server against the given networks.
To exclude ``Received'' lines from relays in the local network,
-l may be used to specify local networks.
All networks are to be specified in CIDR notation.
If the message came from one of the networks, iffrom exits 0,
otherwise 100. If no ``Received'' line is found, iffrom exits 100.
AUTHOR
Andreas Borchert
converted to HTML: 2006/03/29