OpenBSD manual page server

Manual Page Search Parameters

SMTPCTL(8) System Manager's Manual SMTPCTL(8)

smtpctlcontrol the Simple Mail Transfer Protocol daemon

smtpctl command [argument ...]

The smtpctl program controls smtpd(8). Commands may be abbreviated to the minimum unambiguous prefix; for example, sh s for show stats.

The following commands are available:

Disable verbose debug logging.
Enable verbose debug logging.
Temporarily stop deliveries to local users.
Temporarily stop relaying and deliveries to remote users.
Temporarily stop accepting incoming sessions.
envelope-id | message-id
Removes a single envelope, or all envelopes with the same message ID.
Resume deliveries to local users.
Resume relaying and deliveries to remote users.
Resume accepting incoming sessions.
Marks all envelopes as ready for immediate delivery.
envelope-id | message-id
Marks a single envelope, or all envelopes with the same message ID, as ready for immediate delivery.
Displays information concerning envelopes that are currently in a queue.
Displays information concerning envelopes that are scheduled for delivery.
Displays runtime statistics concerning smtpd(8).

When smtpd receives a message, it generates a message-id for the message, and one envelope-id per recipient. The message-id is a 32-bit random identifier that is guaranteed to be unique on the host system. The envelope-id is a 64-bit unique identifier that encodes the message-id in the 32 upper bits and a random envelope identifier in the 32 lower bits.

A command which specifies a message-id applies to all recipients of a message; a command which specifies a envelope-uid applies to a specific recipient of a message.

/var/run/smtpd.sock
UNIX-domain socket used for communication with smtpd(8).

smtpd(8)

The smtpctl program first appeared in OpenBSD 4.6.

February 9, 2012 OpenBSD-5.1