title | up |
---|---|
LMTP delivery |
../customize.md#sympa-and-other-systems |
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.
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.
-
LMTP or SMTP server to deliver messages received from
smtpc
.Note
smtpc
itself does not provide features included in mail server, such as mail routing, message queuing, rtrying delivery after temporary failure.
-
Absolute path to sendmail command line utility.
-
Arguments fed to utility above, separated by spaces.
Add settings to sympa.conf
as following (Note:
replace /path/to/smtpc
with full path to smtpc
.
sendmail /path/to/smtpc
sendmail_args --lmtp /absolute/path/to/socket
Note that socket should have been created by LMTP server.
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
).
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
).