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 The acl Statement. |
tcp-wrappers | See The tcp-wrappers Statement. |
debug | See The debug Statement. |
mailbox | See The mailbox Statement. |
locking | See The locking Statement. |
pam | See PAM Statement. |
sql | See The sql Statement. |
virtdomain | See The virtdomain Statement. |
radius | See The radius Statement. |
ldap | See The ldap Statement. |
auth | See The auth Statement. |
mailer | See The 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 3, 2025 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.