Skip to Content.
Sympa Menu

LMTP Delivery

smtpc is a small program to be used as an alternative to sendmail(1) utility. It supports Local Mail Transfer Protocol (LMTP) along with SMTP / ESMTP.

Installation

You can get source tarball at release page, then build and install:

$ tar xzf smtpc-X.X.X.tar.gz
$ cd smtpc-X.X.X
$ ./configure --bindir=<directory to install>
$ make
# make install

Note

  • As of Sympa 6.2.26, smtpc was no longer bundled in Sympa.

Setup

Requirements

Sympa configuration parameter

Instruction

Add settings to sympa.conf as following (Note: replace /path/to/smtpc with full path to smtpc.

LMTP delivery using Unix domain socket

sendmail /path/to/smtpc
sendmail_args --lmtp /absolute/path/to/socket

Note that socket should have been created by LMTP server.

LMTP delivery using TCP socket

sendmail /path/to/smtpc
sendmail_args --lmtp server.example.org:24

Note that LMTP server (server.example.org above) should listen specified port. Port number may be omitted if it is default port (24).

SMTP/ESMTP delivery

sendmail /path/to/smtpc
sendmail_args --esmtp server.example.org:25

Note that LMTP server (server.example.org above) should listen specified port. Port number may be omitted if it is default port (25).

Top of Page