So what should be listening on port 262? Unix sockets are not tcp ports.



---
Aki Tuomi
Dovecot oy

-------- Original message --------
From: ѽ҉ᶬḳ℠ <vtol@gmx.net>
Date: 06/08/2018 21:14 (GMT+02:00)
To: dovecot <dovecot@dovecot.org>
Subject: 2.3.2.1 - relay to lmtps from other lan host

Hi,

looked into the [ dovecot wiki ] but a search for [ lmtps ] came up
empty and thus hoping to get some assistance here.

I am trying to relay with [ msmtp ] via [ lmtps ] from a lan host other
than [ dovecot ] is running on.

[ dovecot config ]

> service lmtp {
>   unix_listener lmtp {
>     #mode = 0666
>   }

[ ss -wxl | grep lmtp ]
> u_strLISTEN 0      100    /var/run/dovecot/lmtp 68262   * 0

So far so good. Now from the other lan host -> [ msmtp --serverinfo
--tls --tls-certcheck=off --host=172.24.109.6 --protocol=lmtp --port=262
] produces:

> msmtp: cannot connect to 172.24.109.6, port 262: Connection refused