<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Add the passdb entry inside
</div>
<div>
<br>
</div>
<div>
protocol lmtp {
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 16/12/2019 10:32 Marc Roos <
<a href="mailto:m.roos@f1-outsourcing.eu">m.roos@f1-outsourcing.eu</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
I added this:
</div>
<div>
passdb {
</div>
<div>
driver = passwd
</div>
<div>
skip = authenticated
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
Which enables indeed local delivery, I also noticed this. Maybe the
</div>
<div>
password field check shoud not be done, when you enable skip
</div>
<div>
authentication?
</div>
<div>
<br>
</div>
<div>
Dec 16 10:26:37 svr1 dovecot: auth-worker(12046): Debug: passwd(test):
</div>
<div>
lookup
</div>
<div>
Dec 16 10:26:37 svr1 dovecot: auth-worker(12046): passwd(test): invalid
</div>
<div>
password field '*'
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
-----Original Message-----
</div>
<div>
From: Aki Tuomi [mailto:
<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>]
</div>
<div>
Sent: 16 December 2019 06:22
</div>
<div>
To: Marc Roos; dovecot
</div>
<div>
Subject: Re: Local lmtp proxy on backend server
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On 15/12/2019 23:09 Marc Roos <
<a href="mailto:m.roos@f1-outsourcing.eu">m.roos@f1-outsourcing.eu</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
I receive a local mail when I do a 'mail test' on a backend svr1
</div>
<div>
with
</div>
<div>
this[0] configuration. However when I just add only one
</div>
<div>
configuration
</div>
<div>
change 'lmtp_proxy = yes' I am getting these errors[1]. I would
</div>
<div>
expect
</div>
<div>
this email to still be delivered locally, should this be working or
</div>
<div>
do I
</div>
<div>
misunderstand the lmtp proxy functionality?
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
[0]
</div>
<div>
passdb {
</div>
<div>
args =
</div>
<div>
auth_verbose = default
</div>
<div>
default_fields = proxy=y host=svr1
</div>
<div>
deny = no
</div>
<div>
driver = pam
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
[1]
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Debug: none: root=,
</div>
<div>
index=,
</div>
<div>
indexpvt=, control=, inbox=, alt=
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Connect from local
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: auth: Debug: master in:
</div>
<div>
PASS#0111#011test#011service=lmtp
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: auth: Debug: pam(test): passdb
</div>
<div>
doesn't
</div>
<div>
support credential lookups
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: auth: Debug: passdb out:
</div>
<div>
FAIL#0111#011reason=Configured passdbs don't support credentials
</div>
<div>
lookups
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Debug: user test: Auth
</div>
<div>
PASS
</div>
<div>
lookup returned temporary failure: reason=Configured passdbs don't
</div>
<div>
support credentials lookups
</div>
<div>
Dec 15 23:28:48 svr1 dovecot: lmtp(9270): Debug: auth PASS input:
</div>
<div>
reason=Configured passdbs don't support credentials lookups
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
dovecot-pigeonhole-2.2.36-3.el7_7.1.x86_64
</div>
<div>
dovecot-2.2.36-3.el7_7.1.x86_64
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
PAM does not support looking up users, so you cannot use it for LMTP
</div>
<div>
proxying. Try adding
</div>
<div>
<br>
</div>
<div>
passdb {
</div>
<div>
driver = passwd
</div>
<div>
skip = authenticated
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
after PAM block.
</div>
<div>
---
</div>
<div>
Aki Tuomi
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>