<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Hi list,<br class="">I set up dovecot as IMAP proxy using a master user to login into the backend and it works beautifully. 👍🏻 Next I set out to do LMTP proxying and I struggled (initially). <br class=""><br class="">I got the log message:<br class="">Mar 17 11:23:44 mail postfix/lmtp[2665]: 99A3F219C8: to=<<a href="mailto:johnny@doe.com" class="">johnny@doe.com</a>>, relay=10.15.1.2[10.15.1.2]:24, delay=5.1, delays=4.9/0.05/0.01/0.07, dsn=5.1.1, status=bounced (host 10.15.1.2[10.15.1.2] said: 550 5.1.1 <"<a href="mailto:johnny@doe.com" class="">johnny@doe.com</a>*director"@mail.server.com> User doesn't exist: "<a href="mailto:johnny@doe.com" class="">johnny@doe.com</a>*director"@mail.server.com (in reply to RCPT TO command))<br class=""><br class="">My director's passdb setting looked like this:<br class=""><br class="">passdb {<br class="">  driver = sql<br class="">  args = /etc/dovecot/sql/my-passdb.conf<br class="">  result_success = continue-ok<br class="">  result_failure = return-fail<br class="">  result_internalfail = return-fail<br class="">}<br class=""><br class=""># Add director master user credentials if above succeeded<br class="">passdb {<br class="">  driver = static<br class="">  args = proxy=y starttls=any-cert \<br class="">      <a href="mailto:destuser=%u*director@example.com" class="">destuser=%u*director@example.com</a> \<br class="">      pass=correcthorsebatterystaple \<br class="">      nopassword=y<br class="">  skip = unauthenticated<br class="">}<br class=""><br class="">In the end I found that setting the `master` field instead of `destuser` solves the issue. It looks like LMTP does not know how to handle the master user separator although set. I this known/wanted behavior? Maybe this is something to mention on the wiki page, it took a while to figure this out...<br class=""><br class="">Kind regards,<br class="">Dirk<br class=""><br class=""></div><br class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px;">Mit freundlichen Grüßen<br class="">Dirk Weise</div><div style="text-align: start; text-indent: 0px;"><br class=""></div><div style="text-align: start; text-indent: 0px;">DevOps Engineer<br class=""><br class="">-- <br class="">bitloft GmbH | Schulstraße 2 | D-42551 Velbert<br class=""><a href="http://www.bitloft.de" class="">www.bitloft.de</a> | <a href="mailto:weise@bitloft.de" class="">weise@bitloft.de</a><br class=""><br class="">Telefon: +49 2051 40514-32<br class=""><br class="">Geschäftsführer: Robin Clemens, Franz-Josef Wieneke<br class="">Amtsgericht Wuppertal HRB 17297 | USt-IDNr. DE121540053</div></div></div></div></div></div></div></div></div>
</div>
<br class=""></body></html>