man relay-ctrl-age (Administration système) - age the list of addresses allowed by relay-ctrl-allow

NAME

relay-ctrl-age - age the list of addresses allowed by relay-ctrl-allow

SYNOPSIS

relay-ctrl-age [ IP ... ]

DESCRIPTION

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.

RETURN VALUES

Returns 111 (temporary failure) if any operation fails; 0 otherwise.

CONFIG FILES

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=''.
rulesdir
Names the directory in which the SMTP rules and CDB files will be found. Defaults to /etc/tcpcontrol.
smtpcdb
Names the file in rulesdir that will have the SMTP rules CDB written to. Defaults to smtp.cdb.
smtprules
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.
spooldir
Names the directory in which the relay client IP files are located. Defaults to /var/spool/relay-ctrl.
tcprules
Names the path to the tcprules program (part of the ucspi-tcp package). Defaults to /usr/bin/tcprules.

SEE ALSO