relay-ctrl-allow(8)

relay-ctrl-allow8

Selectively enable smtp relaying

Usage

relay-ctrl-allow command [arguments ...]

Overview

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.

Options

command

This argument is executed after the IP address has been added to the spool of addresses.

Return values

Returns 111 (temporary failure) if any operation fails; otherwise the exit value is that of the executed program.

Environment

TCPREMOTEIP

relay-ctrl-allow expects that this environment variable is set to the numerical IP address of the remote host.

Warnings

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.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From relay-ctrl 2.5-2 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.