GNU Mailutils |
|
General-Purpose Mail Package |
Official GNU Software |
The LMTP is a local mail transport protocol defined in RFC
2033. GNU Mailutils is shipped with lmtpd
- a daemon for
delivering messages using this protocol.
The daemon shares most of its codebase and configuration with
mda
and consequently provides the same features.
See mda, for a detailed description of these.
The behavior of lmtpd
is affected by the following configuration
statements:
Statement | Reference |
---|---|
server | See Server Settings |
acl | See acl statement. |
tcp-wrappers | See tcp-wrappers statement. |
debug | See debug statement. |
mailbox | See mailbox statement. |
locking | See locking statement. |
pam | See pam statement. |
sql | See sql statement. |
virtdomain | See virtdomain statement. |
radius | See radius statement. |
ldap | See ldap statement. |
auth | See auth statement. |
mailer | See mailer statement. |
lmtpd
with MeTA1.MeTA1 (http://meta1.org) communicates with the delivery agent using LMTP.
The socket to listen for LMTP requests must be specified using the
server
statement (see Server Settings). For the purposes of
this section, let’s suppose lmtpd
will listen on a
UNIX socket /var/spool/meta1/lmtpsock. Then, the
following (minimal) lmtpd
configuration will do the job:
# Run as daemon. mode daemon; # Switch to this group after startup. group meta1c; # Configure server: server unix:///var/spool/meta1/lmtpsock { transcript no; };
To configure MeTA1 to use this socket, add the following statement to the ‘smtpc’ section in /etc/meta1/meta1.conf:
LMTP_socket="lmtpsock";
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.