dovecot-lda

最後更新: 2018-01-17

dovecot-lda

 

Dovecot's local mail delivery agent

功能

* Mailbox indexing during mail delivery
* Quota enforcing by the quota plugin
* Sieve language support by the Pigeonhole sieve plugin

 


Options

 

-c config_file             # Alternative configuration file path.

-d username             # Destination username. If given, the user information is looked up from userdb.

-f envelope_sender    # Envelope sender address.

-m mailbox               # Destination mailbox (default is "INBOX").

                               # If the mailbox doesn't exist, it will not be created (unless the lda_mailbox_autocreate setting is set to yes).

Files

/etc/dovecot/dovecot.conf    Dovecot's main configuration file.

/etc/dovecot/conf.d/10-mail.conf    Mailbox locations and namespaces.

/etc/dovecot/conf.d/15-lda.conf    LDA specific settings.

/etc/dovecot/conf.d/90-plugin.conf    Plugin specific settings.

/etc/dovecot/conf.d/90-quota.conf    Quota configuration.

 


Configure

 

postmaster_address

used as the From: header address in bounce mails

hostname

used in generated Message-IDs and in Reporting-UA: header in bounce mails

sendmail_path

used to send mails. Note that the default is /usr/sbin/sendmail

 


LMTP

 

The Local Mail Transfer Protocol (LMTP) is a derivative of ESMTP, bthe extension of the Simple Mail Transfer Protocol (SMTP).

It is defined in RFC 2033.

LMTP is designed as an alternative to normal SMTP for situations where the receiving side does not have a mail queue,

such as a mail storage server acting as a Mail Delivery Agent (MDA).

The key difference is that LMTP will reject a message for a specific final recipient if it is not immediately deliverable.

LMTP is not run on the standard TCP port of SMTP

LMTP conversation syntax is based on the same commands as Extended SMTP with the following exceptions:

ESMTP's EHLO verb is replaced with LHLO.

Dovecot 's LMTP Server

LMTP uses the same settings as LDA, as specified in conf.d/15-lda.conf in example configuration.

There is also a bit of extra configuration in conf.d/20-lmtp.conf.

The main difference is that the LDA is a short-running process, started as a binary from command line,

while LMTP is a long-running process started by Dovecot's master process.