This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 1 and 2
Revision 1 as of 2010-06-14 17:03:12
Size: 1049
Editor: TimoSirainen
Comment: recreating page written by ThomasLeuxner
Revision 2 as of 2010-06-14 17:05:26
Size: 1100
Editor: TimoSirainen
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Postfix and Dovecot LMTP

Starting with Dovecot 2.x a LMTP-Server has been added.

Basic Configuration

The first step is to enable its stack via /etc/dovecot/dovecot.conf

!include conf.d/*.conf
protocols = imap lmtp

Socket configuration

The actual socket is configured in /etc/dovecot/conf.d/master.conf. The LMTP service can be bound to both INET or Unix sockets. In this example a Unix socket is placed inside the Postfix spool with appropriate permissions set:

service lmtp {
 unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0660
   user = postfix

Plugin Support

Plugin support can be enabled at protocol level via /etc/dovecot/conf.d/lmtp.conf, for Quota and Pigeonhole here:

protocol lmtp {
  mail_plugins = quota sieve 

Postfix Configuration

The final step is to tell Postfix to use this socket for final delivery, in this case in a virtual user scenario:

virtual_transport = lmtp:unix:private/dovecot-lmtp

None: HowTo/PostfixDovecotLMTP (last edited 2018-09-07 01:43:37 by modemcable095)