Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread postfix
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

Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread Gerben Wierda
> 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 nee

Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread postfix
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 elabo

Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread Gerben Wierda
> On 5 Jan 2023, at 18:02, Wietse Venema wrote: > > Gerben Wierda: >> Jan 05 16:16:59 snape postfix/lmtp[126]: C71B3D1262: to=, >> relay=snape.rna.nl[private/lmtp], delay=300, delays=0.02/0/300/0, dsn=4.4.2, >> status=deferred (conversation with snape.rna.nl[private/lmtp] timed out >> while re

Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread Wietse Venema
Gerben Wierda: > Jan 05 16:16:59 snape postfix/lmtp[126]: C71B3D1262: to=, > relay=snape.rna.nl[private/lmtp], delay=300, delays=0.02/0/300/0, dsn=4.4.2, > status=deferred (conversation with snape.rna.nl[private/lmtp] timed out while > receiving the initial server greeting) Postfix creates the

Re: postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread Viktor Dukhovni
On Thu, Jan 05, 2023 at 05:38:49PM +0100, Gerben Wierda wrote: > I am setting up a new server combination (postfix + dovecot). dovecot's auth > service works for postfix. Just lmtp does not and I need to find out why. I > don't see anything in the dovecot logging, but I see this on the postfix s

postfix connects to dovecot lmtp socket, but nothing is delivered

2023-01-05 Thread Gerben Wierda
I am setting up a new server combination (postfix + dovecot). dovecot's auth service works for postfix. Just lmtp does not and I need to find out why. I don't see anything in the dovecot logging, but I see this on the postfix side (debug) Jan 05 16:11:59 snape postfix/lmtp[127]: connection esta

Re: Find out whether a sender is authenticated in a milter?

2023-01-05 Thread Wietse Venema
David B?rgin: > Previously in a milter I have used presence of sendmail macro > "{auth_authen}" to decide whether a sender is authenticated. > > Now, in another milter I am using presence of macro "{auth_type}" to > make that decision. > > What is the recommended way of telling whether a sender i

Find out whether a sender is authenticated in a milter?

2023-01-05 Thread David Bürgin
Previously in a milter I have used presence of sendmail macro ‘{auth_authen}’ to decide whether a sender is authenticated. Now, in another milter I am using presence of macro ‘{auth_type}’ to make that decision. What is the recommended way of telling whether a sender is authenticated using sendma