> On 5 Jan 2023, at 18:23, post...@ptld.com wrote:
> 
>>>  unix_listener /var/spool/postfix/private/lmtp {
>>>    mode = 0660
>>>    user = postfix
>>>    group = postfix
>>>  }
>> DO NOT do this!  That socket is for the listen side of the qmgr<->lmtp
>> communication.  The Dovecot LMTP socket needs to be outside the
>> Postfix-private namespace.
> 
> 
> Viktor,
> 
> Can you elaborate more on this? Why should this not be done? Downsides?
> This is the recommended method in the dovecot docs. Or am i misunderstanding 
> something?
> 
>    https://doc.dovecot.org/configuration_manual/howto/postfix_dovecot_lmtp/

There are two lmtp sockets. One (unix:private:lmtp) created by postfix and one 
(in postfix speak: unix:private:dovecot-lmtp)created by dovecot. Postfix uses 
the first one internally and uses the LMTP protocol over it. Dovecot puts the 
second one in postfix's private area for postfix to deliver mail to dovecot 
with LMTP.

The dovecot instructions are correct.

I was just confused because my dovecot doesn't create the dovecot-lmtp socket.

G

PS. I get a direct bounce from your email address:

This is the mail system at host mail.rna.nl <http://mail.rna.nl/>.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<dove...@ptld.com <mailto:dove...@ptld.com>>: host smtp.ptld.com 
<http://smtp.ptld.com/>[204.10.37.139] said: 550-5.7.1 (ISO:NL)
   Client blocked by policy rules 550 5.7.1 TRACE(Server=smtp.ptld.com 
<http://smtp.ptld.com/>,
   Client=213.125.118.53, Jan 05 12:20:24) (in reply to RCPT TO command)
Reporting-MTA: dns; mail.rna.nl <http://mail.rna.nl/>
X-Postfix-Queue-ID: 2925B13E317C7
X-Postfix-Sender: rfc822; gerben.wie...@rna.nl <mailto:gerben.wie...@rna.nl>
Arrival-Date: Thu,  5 Jan 2023 18:20:19 +0100 (CET)

Final-Recipient: rfc822; dove...@ptld.com <mailto:dove...@ptld.com>
Original-Recipient: rfc822;dove...@ptld.com <mailto:dove...@ptld.com>
Action: failed
Status: 5.7.1
Remote-MTA: dns; smtp.ptld.com <http://smtp.ptld.com/>
Diagnostic-Code: smtp; 550-5.7.1 (ISO:NL) Client blocked by policy rules 550
   5.7.1 TRACE(Server=smtp.ptld.com <http://smtp.ptld.com/>, 
Client=213.125.118.53, Jan 05 12:20:24)

From: Gerben Wierda <gerben.wie...@rna.nl <mailto:gerben.wie...@rna.nl>>
Subject: Re: postfix connects to dovecot lmtp socket, but nothing is delivered
Date: 5 January 2023 at 18:20:19 CET
To: dove...@ptld.com <mailto:dove...@ptld.com>
Cc: dove...@dovecot.org <mailto:dove...@dovecot.org>

Reply via email to