postfix connects to dovecot lmtp socket, but nothing is delivered

Gerben Wierda gerben.wierda at rna.nl
Thu Jan 5 17:20:19 UTC 2023


> On 5 Jan 2023, at 18:17, dovecot at ptld.com wrote:
> 
>> service lmtp {
>> inet_listener lmtp {
>> address = 127.0.0.1
>> port = 24
>> }
> 
>> unix_listener /var/spool/postfix/private/lmtp {
>> mode = 0660
>> user = postfix
>> group = postfix
>> }
> 
> 
> Looks like you are activating both a socket and a port. Im not sure what dovecot does, does it bind to both or does it pick one and ignore the other. You only need to use one or the other.
> 
> And what does your postfix side look like? Where is postfix trying to connect? To the socket or the port? For using a socket postfix would look something like:
> 
>    virtual_transport = lmtp:unix:private/lmtp

Ha, my mistake. As dovecot had not created the socket I assumed th elmtp socket was the one the new config had created, so I changed the config to use that one.

Now I only have to find out why dovecot doesn't create the /var/spool/postfix/private/dovecot-lmtp socket

The inet_listener was added to see if I could work around this.

G


More information about the dovecot mailing list