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?? * 0So 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
You have lmtp as unix socket configured but want to access from remote via tcp socket? I think you need inet_listener instead of unix_ listener ----- Originale Nachricht ----- Von: "?????" <vtol at gmx.net> Gesendet: 06.08.18 - 20:14 An: dovecot <dovecot at dovecot.org> Betreff: 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 > >
So what should be listening on port 262? Unix sockets are not tcp ports. ---Aki TuomiDovecot oy -------- Original message --------From: ????? <vtol at gmx.net> Date: 06/08/2018 21:14 (GMT+02:00) To: dovecot <dovecot at 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?? * 0So 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180806/52fce2a5/attachment.html>