Provided by: relay-ctrl_2.5-2_i386
relay-ctrl-age - age the list of addresses allowed by relay-ctrl-allow
relay-ctrl-age [ IP ... ]
relay-ctrl-age updates the time stamp on each of the named relay client
IPs in the spool directory. It then examines the dates on the all the
relay client IP files, and removes any that have not been touched for
the last 15 minutes. It also updates the CDB that is used by tcpserver
to control relaying by remote SMTP clients.
Returns 111 (temporary failure) if any operation fails; 0 otherwise.
All the following configuration files are located (by default) in
/etc/relay-ctrl. Only the first line of each file is read, and only
the trailng newline is stripped.
expiry The age that the IP files must be (in seconds) before they are
removed. Defaults to 900 seconds.
rule Contains the string that is appended to each relay client IP to
produce its rule. Defaults to :allow,RELAYCLIENT=â€™â€™.
Names the directory in which the SMTP rules and CDB files will
be found. Defaults to /etc/tcpcontrol.
Names the file in rulesdir that will have the SMTP rules CDB
written to. Defaults to smtp.cdb.
Names the file in rulesdir that contains the base set of rules
that is prepended to the rules generated by relay-ctrl-age.
Defaults to smtp.rules.
Names the directory in which the relay client IP files are
located. Defaults to /var/spool/relay-ctrl.
Names the path to the tcprules program (part of the ucspi-tcp
package). Defaults to /usr/bin/tcprules.
relay-ctrl-allow(8), qmail-smtpd(8), tcprules(1), tcpserver(1)