I have Postfix and Dovecot installed via webmin. They are configured to allow local delivery into /home/{user}/Maildir/ and it is working.
I would like to set up sieve filtering and for this I need LMTP, but something may be wrong. In Webmin > Servers > Dovecot > Networking and Protocols, I cannot enable LMTP. If I select it and IMAP and apply, it returns with LMTP unselected.
Trying to research it, I found dovecot-lmtpd had not been installed, so I have installed it and it changed nothing.
How can I get the LMTP integration working? Also is there a bug with dovecot-lmtpd not being installed and are there other packages missing for this to work?
Is this just a firewall problem in disguise? LMTP uses port 24 SMTP uses 25 so is 24 open?
(I’ve not had the need/desire to be involved so no experience)
service lmtp {
#unix_listener lmtp {
#mode = 0666
#}
# Create inet listener only if you can't use the above UNIX socket
inet_listener lmtp {
# Avoid making LMTP visible for the entire internet
address = 127.0.0.1
port = 24
}
}
So I would expect a port to be created. I could try using a socket, but first off, I want to confirm lmtp is running. Also I have not found the full socket set up for postfix.
I did try uncommenting the socket bit but I still couldn’t find the process with ps aux.
From the Dovecot docs, tt looks like /etc/dovecot.conf was missing the lmtp in in the line `protocols = imap lmtp’ I now have adjusted the postfix and dovecot configs to use lmtp on port 24.
Now I’ve made that adjustment, it shows in the Webmin > Dovecot > Networking Protocols correctly. How should I have done this through Webmin rather than going under the hood?
lmtp is now rejecting mail valid users so I need to work out how to configure that.