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