. . . comparing the configuration of the "old" server . . .

LMTP is invoked in "/etc/cyrus.conf"

# At least one form of LMTP is required for delivery
# (you must keep the Unix socket name in sync with imap.conf)
#lmtp           cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=20
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
# ----------------------------------------------

And, transport is set in "/etc/postfix/main.cf"

mailbox_transport = cyrus


adam@sogo:~$ sudo netstat -tulpn | grep master
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2767/cyrmaster tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2767/cyrmaster tcp 0 0 0.0.0.0:119 0.0.0.0:* LISTEN 2767/cyrmaster tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2006/master tcp 0 0 127.0.0.1:4190 0.0.0.0:* LISTEN 2767/cyrmaster
tcp6      0      0 :::110 :::*                    LISTEN      2767/cyrmaster
tcp6      0      0 :::143 :::*                    LISTEN      2767/cyrmaster
tcp6      0      0 :::119 :::*                    LISTEN      2767/cyrmaster
tcp6      0      0 :::25 :::*                    LISTEN      2006/master

And, THIS CONNECTS but the "new" server does not.



I'm trying to understand how to configure LMTP in Dovecot.

http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
http://wiki2.dovecot.org/LMTP

There are slight differences between the two. I've followed the first but not the second.

"/etc/dovecot/local.conf" on the "new" server includes an LDA setting

protocol lda {
  postmaster_address = administra...@domain.com
  mail_plugins = sieve
  auth_socket_path = /var/run/dovecot/auth-userdb
}


I think I should remove the reference to LDA and use LMTP instead.


On 01/16/2015 04:24 AM, stev...@cinergymetro.net wrote:
. . . here are my relevant configurations . . .

LMTP is invoked in "/etc/dovecot/local.conf"

protocols = imap sieve lmtp

And "unix_listener" in "/etc/dovecot/conf.d/10-master.conf"

service lmtp {
   unix_listener lmtp {
     group = postfix
     mode = 0600
     user = postfix
   }

Postfix sets transport in "/etc/postfix/main.cf"

virtual_transport = lmtp:unix:localhost

[redacted logs]

adam@sogo:~$ sudo netstat -tulpn | grep dove*
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN
3064/dovecot
tcp        0      0 0.0.0.0:4190            0.0.0.0:*               LISTEN
3064/dovecot
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN
3064/dovecot
tcp6      0      0 :::143                          :::*
LISTEN      3064/dovecot
tcp6      0      0 :::4190                        :::*
LISTEN      3064/dovecot
tcp6      0      0 :::993                          :::*
LISTEN      3064/dovecot

adam@sogo:~$ sudo netstat -tulpn | grep master*
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
3049/master
tcp6      0      0 :::25                           :::*
LISTEN      3049/master


Any suggestions would be much appreciated.  Thx


--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to