<div dir="ltr"><div dir="ltr">Albert,</div><div>Thank you for your response.</div><div><br></div><div>LDAP is only used for the Postfix/Imap servers. We do not configure Pam to use LDAP. We are using saslauthd.</div><div><br></div><div>I wonder if there is a way to test LMTP manually to verify LMTP can see the imap accounts? I have not done much with LMTP because it always worked for us in the past.</div><div><br></div><div>ldapsearch,
<span></span>testsaslauthd and
<span></span>imtest all tested successfully.</div><div><br></div><div>I deleted and recreated my test user's imap account<br></div><div style="margin-left:40px">cm user.testuser</div><div style="margin-left:40px">sam user.testuser testuser write</div><div style="margin-left:40px">sq user.testuser 1000000</div><div><br></div><div>-Ez<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 14, 2020 at 4:15 PM Albert Shih <<a href="mailto:Albert.Shih@obspm.fr">Albert.Shih@obspm.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 14/10/2020 à 14:30:31-0500, Ezsra McDonald a écrit<br>
> I am building a new mail server to replace an older EL6 server. The new server<br>
> is Centos 8. I keep getting this response when trying to deliver email to a<br>
> local account stored in LDAP.<br>
><br>
> host <a href="http://mail.example.org" rel="noreferrer" target="_blank">mail.example.org</a>[/var/lib/imap/socket/lmtp] said:<br>
> 550-Mailbox unknown. Either there is no mailbox associated with this<br>
> 550-name or you do not have authorization to see it.<br>
> 550 5.1.1 User unknown (in reply to RCPT TO command))<br>
><br>
> I have tried replacing the new configs with my old working configs from the EL6<br>
> server but they get the same result.<br>
><br>
> a postmap -q against the LDAP table config returns the appropriate information.<br>
> I am wondering if the key is the 'or you do not have authorization to see it`<br>
> part of the message. What exactly does LMTP need to authorize the delivery?<br>
><br>
> Enabling verbose logging on LMTP and LDAP did not give any clues.<br>
<br>
If you run<br>
<br>
getent passwd<br>
<br>
what you got ?<br>
<br>
Personnaly I don't run the lmtp against ldap, to risky IMHO, if you got any<br>
problem with the connection betwen your postfix/cyrus server and the ldap<br>
server your are going to loose email.<br>
<br>
So for me I'm using a script who dump the ldap inside the /etc/passwd, so<br>
the all account are local.<br>
<br>
Regards<br>
<br>
--<br>
Albert SHIH<br>
Observatoire de Paris<br>
xmpp: <a href="mailto:jas@obspm.fr" target="_blank">jas@obspm.fr</a><br>
Heure local/Local time:<br>
Wed Oct 14 11:13:14 PM CEST 2020<br>
</blockquote></div></div>