<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 30.1.2019 8.31, Mark Moseley wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOH1cH=RAy61bTmiCOqWjQiCotYzsaS2wvL3vr9tDWOy2gwnKA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Tue, Jan 29, 2019 at 9:58 PM James Brown via
          dovecot <<a href="mailto:dovecot@dovecot.org"
            moz-do-not-send="true">dovecot@dovecot.org</a>> wrote:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
            <div
              style="word-wrap:break-word;line-break:after-white-space">On
              30 Jan 2019, at 4:35 pm, Aki Tuomi <<a
                href="mailto:aki.tuomi@open-xchange.com" target="_blank"
                moz-do-not-send="true">aki.tuomi@open-xchange.com</a>>
              wrote:<br>
              <div>
                <blockquote type="cite"><br
                    class="gmail-m_-4468736847257051063Apple-interchange-newline">
                  <div>
                    <blockquote type="cite"
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                      <div><br
                          class="gmail-m_-4468736847257051063Apple-interchange-newline">
                        On 30 January 2019 at 07:12 James Brown <<span
class="gmail-m_-4468736847257051063Apple-converted-space"> </span><a
                          href="mailto:jlbrown@bordo.com.au"
                          target="_blank" moz-do-not-send="true">jlbrown@bordo.com.au</a>>
                        wrote:</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>>> My settings:</div>
                      <div>...</div>
                      <div>>> userdb {</div>
                      <div>>> driver = passwd</div>
                      <div>>> }</div>
                      <div>>> userdb {</div>
                      <div>>> driver = prefetch</div>
                      <div>>> }</div>
                      <div>>> userdb {</div>
                      <div>>> args =
                        /usr/local/etc/dovecot/dovecot-sql.conf.ext</div>
                      <div>>> driver = sql</div>
                      <div>>> }</div>
                      <blockquote type="cite">
                        <div>Well... there is that usetdb passwd which
                          seems bit extraneous.</div>
                        <div>---</div>
                        <div>Aki Tuomi</div>
                      </blockquote>
                      <div><br>
                      </div>
                    </blockquote>
                    <div
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                      <div
                        style="font-family:-apple-system,BlinkMacSystemFont,"Helvetica
                        Neue","Segoe
                        UI",Arial,sans-serif;font-size:13px">I'd
                        remove the</div>
                      <div
                        style="font-family:-apple-system,BlinkMacSystemFont,"Helvetica
                        Neue","Segoe
                        UI",Arial,sans-serif;font-size:13px"><br>
                      </div>
                      <div
                        style="font-family:-apple-system,BlinkMacSystemFont,"Helvetica
                        Neue","Segoe
                        UI",Arial,sans-serif;font-size:13px">
                        <div style="color:rgb(40,63,115)">userdb {</div>
                        <div style="color:rgb(40,63,115)">driver =
                          passwd</div>
                        <div style="color:rgb(40,63,115)">}</div>
                        <div style="color:rgb(40,63,115)"><br>
                        </div>
                        <div style="color:rgb(40,63,115)">section</div>
                      </div>
                    </div>
                    <div
                      class="gmail-m_-4468736847257051063io-ox-signature"
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">---<span
class="gmail-m_-4468736847257051063Apple-converted-space"> </span><br>
                      Aki Tuomi</div>
                  </div>
                </blockquote>
              </div>
              <br>
              <div>Thanks Aki - the trick was finding where that setting
                was! Found it in auth-system.conf.ext.</div>
              <div><br>
              </div>
              <div>Commented it out and all works perfectly now.</div>
              <div><br>
              </div>
              <div>Thanks again Aki,</div>
              <div><br>
              </div>
              <div>James.</div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>I'll throw in my 2 cents that it'd be great for a
            passdb/userdb block to have a setting to suppress that
            message. I've actually changed my mind and *not* used extra
            userdbs in the past (despite there being good reasons to use
            them) entirely due to that log entry. We've got millions of
            mailboxes and the noise in the logs would be unreal. And it
            would cause no end of confusion for ops people looking at
            logs. I weighed the likelihood that I'd end up being asked a
            million times why a login failed, when in reality it hadn't,
            and decided it wasn't worth the headache.</div>
          <div><br>
          </div>
          <div>Or alternatively only log that error when *all* of the
            passdbs/userdbs have failed. Anything would be better than
            logging what *looks* like an error but isn't. And, yes, i
            see 'info' in the log entry, but 'unknown user' is far more
            eye-catching.</div>
          <div><br>
          </div>
          <div>This is the part where someone points out that there
            already *is* a setting for this and I stop talking :) <br>
          </div>
        </div>
      </div>
    </blockquote>
    <p>auth_verbose=no <br>
    </p>
    <p>Aki<br>
    </p>
  </body>
</html>