<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Fix typo, you have schme.<br>
    </p>
    <p>Aki<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07.03.2018 15:47, Sergio Belkin
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABZC=5zybGiZiABbMXNhMUPuCVcEQvaDHv+O6K9pCO2jCri+GQ@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          <div>I get this error even when user logins succesfully:<br>
          </div>
          <div><br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: client in:
AUTH#0111#011CRAM-MD5#011service=imap#011secured#011session=maOgttJmCADAqHoB#011lip=192.168.122.202#011rip=192.168.122.1#011lport=993#011rport=36872<br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: client passdb
            out:
CONT#0111#011PDYyMjM4NTMwODIyODI0MDguMTUyMDQzMDA3NkBtYWlsLmV4YW1wbGUuY29tPg==<br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: client in:
            CONT<hidden><br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: passwd-file(<a
              href="mailto:sergio@example.com" moz-do-not-send="true">sergio@example.com</a>,192.168.122.1,<maOgttJmCADAqHoB>):
            lookup: user=<a href="mailto:sergio@example.com"
              moz-do-not-send="true">sergio@example.com</a>
            file=/etc/dovecot/users<br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: client passdb
            out: OK#0111#011user=<a href="mailto:sergio@example.com"
              moz-do-not-send="true">sergio@example.com</a><br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: master in:
REQUEST#0112080243713#01110733#0111#011b99fa14550a72c26f219b7dd4ffa6f27#011session_pid=10736#011request_auth_token<br>
            Mar  7 10:41:16 mail dovecot: auth: Error: passwd-file(<a
              href="mailto:sergio@example.com" moz-do-not-send="true">sergio@example.com</a>,192.168.122.1,<maOgttJmCADAqHoB>):
            stat(schme=CRAM-MD5 username_format=<a
              href="mailto:sergio@example.com" moz-do-not-send="true">sergio@example.com</a>
            /etc/dovecot/users) failed: No such file or directory<br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: master userdb
            out: USER#0112080243713#<a
href="http://011sergio@example.com#011uid=12345#011gid=12345#011home=/home/vmail/sergio@example.com#011auth_token=34a7660e0c85afacd29709561b0bc7e024942955"
              moz-do-not-send="true">011sergio@example.com#011uid=12345#011gid=12345#011home=/home/vmail/sergio@example.com#011auth_token=34a7660e0c85afacd29709561b0bc7e024942955</a><br>
            Mar  7 10:41:16 mail dovecot: imap-login: Login: user=<<a
              href="mailto:sergio@example.com" moz-do-not-send="true">sergio@example.com</a>>,
            method=CRAM-MD5, rip=192.168.122.1, lip=192.168.122.202,
            mpid=10736, TLS, session=<maOgttJmCADAqHoB><br>
            <br>
          </div>
          <br>
        </div>
        Is that an error, a warning? I don't understand why dovecot tell
        me that "No such file or directory" because really it does
        exist.<br>
        <div><br>
          Dovecot configuration is as follows:<br>
          <br>
          auth_debug = yes<br>
          auth_mechanisms = cram-md5 plain login<br>
          auth_verbose = yes<br>
          disable_plaintext_auth = no<br>
          first_valid_uid = 1000<br>
          mail_location = maildir:/home/vmail/%d/%n/Maildir<br>
          mbox_write_locks = fcntl<br>
          namespace inbox {<br>
            inbox = yes<br>
            location = <br>
            mailbox Drafts {<br>
              special_use = \Drafts<br>
            }<br>
            mailbox Junk {<br>
              special_use = \Junk<br>
            }<br>
            mailbox Sent {<br>
              special_use = \Sent<br>
            }<br>
            mailbox "Sent Messages" {<br>
              special_use = \Sent<br>
            }<br>
            mailbox Trash {<br>
              special_use = \Trash<br>
            }<br>
            prefix = <br>
          }<br>
          passdb {<br>
            args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/users<br>
            driver = passwd-file<br>
          }<br>
          service auth {<br>
            unix_listener /var/spool/postfix/private/auth {<br>
              mode = 0666<br>
            }<br>
          }<br>
          ssl_cert = </etc/pki/tls/certs/mailcert.pem<br>
          ssl_key = </etc/pki/tls/private/mailkey.pem<br>
          userdb {<br>
            args = schme=CRAM-MD5 username_format=%u /etc/dovecot/users<br>
            driver = passwd-file<br>
          }<br>
          userdb {<br>
            args = uid=vmail gid=vmail home=/home/vmail/%u<br>
            driver = static<br>
          }<br>
          <br clear="all">
          <div>
            <div>
              <div>
                <div>
                  <div>EOF<br>
                    <br>
                  </div>
                  <div>Thanks in advance<br>
                  </div>
                  <div>-- <br>
                    <div class="gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">--<br>
                            Sergio Belkin<br>
                            LPIC-2 Certified - <a
                              href="http://www.lpi.org" target="_blank"
                              moz-do-not-send="true">http://www.lpi.org</a></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>