GNU Mailutils Manual (split by section):   Section:   Chapter:FastBack: Programs   Up: Programs   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.13 lmtpd

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:

StatementReference
serverSee Server Settings
aclSee The acl Statement.
tcp-wrappersSee The tcp-wrappers Statement.
debugSee The debug Statement.
mailboxSee The mailbox Statement.
lockingSee The locking Statement.
pamSee PAM Statement.
sqlSee The sql Statement.
virtdomainSee The virtdomain Statement.
radiusSee The radius Statement.
ldapSee The ldap Statement.
authSee The auth Statement.
mailerSee The mailer Statement.

3.13.1 Using 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";

GNU Mailutils Manual (split by section):   Section:   Chapter:FastBack: Programs   Up: lmtpd   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index