Am 18.02.2015 um 20:07 schrieb Robert Fantini:
OK I got delivery from postfix to lmtp working ,
by changing from unix_listener to inet_listener .
Reindl wrote "don't open the port for any other machine as the postfix server" I see that is important.. I assume that just a firewall setting? Or does the 'address' line in inet_listener lmtp have something to do with it?
firewall as long as you don't have more than one network card and the interface dovecot is listening on is only reachable from the postfix server
even if: *always* restrict the packet filter, sooner or later somebody will change something without realize the impact and hence if it comes to security put at least 2 safety nets in front of server ports
On Wed, Feb 18, 2015 at 12:37 PM, Reindl Harald h.reindl@thelounge.net wrote:
Am 18.02.2015 um 18:20 schrieb Reindl Harald:
Am 18.02.2015 um 18:15 schrieb Robert Fantini:
I'm trying to figure out the exact line to put to /etc/postfix/main.cf
for local lmtp deliver we use: mailbox_transport = *lmtp:unix:private/dovecot-lmtp*
for remote it is supposed to be:* lmtp:host:port*
yet at the remote lmtp does not use ports. UNIX domain sockets are used instead
so just configure dovecot lmtpd to listen on a TCP port, port 24 is reserved for that - and don't open the port for any other machine as the postfix server
[harry@srv-rhsoft:~]$ cat /etc/services | grep -i lmtp lmtp 24/tcp # LMTP Mail Delivery lmtp 24/udp # LMTP Mail Delivery
and since i answered the same question yet on the postfix list
http://wiki2.dovecot.org/LMTP http://www.postfix.org/lmtp.8.html