Provided by: relay-ctrl_2.5-2_i386
relay-ctrl-allow - selectively enable smtp relaying
relay-ctrl-allow command [ arguments ... ]
relay-ctrl-allow executes relay-ctrl-age in the background to add a
record of the client’s IP to the table used by tcpserver to control
relaying. It then drops all setuid priviledges and executes the
command named on the command line.
This argument is executed after the IP address has been added to
the spool of addresses.
Returns 111 (temporary failure) if any operation fails; otherwise the
exit value is that of the executed program.
relay-ctrl-allow expects that this environment variable is set
to the numerical IP address of the remote host.
relay-ctrl-age(8), qmail-pop3d(8), qmail-popup(8), tcpserver(1), tcp-
relay-ctrl-allow will normally need to be installed setuid to whatever
user owns the SMTP rules CDB used by tcpserver and the relay client
rules directory (frequently root), as it will be executed without
permissions to modify either.