<div dir="ltr"><div><div>Aki,<br><br></div>thanks, I fixed typo but error persists:<br>Mar  7 10:55:54 mail dovecot: auth: Debug: auth client connected (pid=10828)<br>Mar  7 10:55:55 mail dovecot: auth: Debug: client in: AUTH#0111#011CRAM-MD5#011service=imap#011secured#011session=FIH/6tJm4gDAqHoB#011lip=192.168.122.202#011rip=192.168.122.1#011lport=993#011rport=37090<br>Mar  7 10:55:55 mail dovecot: auth: Debug: client passdb out: CONT#0111#011PDMyOTk2ODcwMzIwNDE3NzcuMTUyMDQzMDk1NUBtYWlsLmV4YW1wbGUuY29tPg==<br>Mar  7 10:55:55 mail dovecot: auth: Debug: client in: CONT<hidden><br>Mar  7 10:55:55 mail dovecot: auth: Debug: passwd-file(<a href="mailto:sergio@example.com">sergio@example.com</a>,192.168.122.1,<FIH/6tJm4gDAqHoB>): lookup: user=<a href="mailto:sergio@example.com">sergio@example.com</a> file=/etc/dovecot/users<br>Mar  7 10:55:55 mail dovecot: auth: Debug: client passdb out: OK#0111#011user=<a href="mailto:sergio@example.com">sergio@example.com</a><br>Mar  7 10:55:55 mail dovecot: auth: Debug: master in: REQUEST#0112148007937#01110828#0111#0114822ce6f85f005835d4d0448b8125868#011session_pid=10829#011request_auth_token<br>Mar  7 10:55:55 mail dovecot: auth: Error: passwd-file(<a href="mailto:sergio@example.com">sergio@example.com</a>,192.168.122.1,<FIH/6tJm4gDAqHoB>): stat(scheme=CRAM-MD5 username_format=<a href="mailto:sergio@example.com">sergio@example.com</a> /etc/dovecot/users) failed: No such file or directory<br>Mar  7 10:55:55 mail dovecot: auth: Debug: master userdb out: USER#0112148007937#<a href="http://011sergio@example.com#011uid=12345#011gid=12345#011home=/home/vmail/sergio@example.com#011auth_token=9ec7a9d5ad07e594e9ed483db5f7fc533bfd7202">011sergio@example.com#011uid=12345#011gid=12345#011home=/home/vmail/sergio@example.com#011auth_token=9ec7a9d5ad07e594e9ed483db5f7fc533bfd7202</a><br>Mar  7 10:55:55 mail dovecot: imap-login: Login: user=<<a href="mailto:sergio@example.com">sergio@example.com</a>>, method=CRAM-MD5, rip=192.168.122.1, lip=192.168.122.202, mpid=10829, TLS, session=<FIH/6tJm4gDAqHoB><br><br></div>TIA<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-07 10:48 GMT-03:00 Aki Tuomi <span dir="ltr"><<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Fix typo, you have schme.<span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <p>Aki<br>
    </p></font></span><div><div class="h5">
    <br>
    <div class="m_2925426667064085011moz-cite-prefix">On 07.03.2018 15:47, Sergio Belkin
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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#<wbr>011service=imap#011secured#<wbr>011session=maOgttJmCADAqHoB#<wbr>011lip=192.168.122.202#011rip=<wbr>192.168.122.1#011lport=993#<wbr>011rport=36872<br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: client passdb
            out:
CONT#0111#<wbr>011PDYyMjM4NTMwODIyODI0MDguMTU<wbr>yMDQzMDA3NkBtYWlsLmV4YW1wbGUuY<wbr>29tPg==<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" target="_blank">sergio@example.com</a><wbr>,192.168.122.1,<<wbr>maOgttJmCADAqHoB>):
            lookup: user=<a href="mailto:sergio@example.com" target="_blank">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" target="_blank">sergio@<wbr>example.com</a><br>
            Mar  7 10:41:16 mail dovecot: auth: Debug: master in:
REQUEST#0112080243713#<wbr>01110733#0111#<wbr>011b99fa14550a72c26f219b7dd4ff<wbr>a6f27#011session_pid=10736#<wbr>011request_auth_token<br>
            Mar  7 10:41:16 mail dovecot: auth: Error: passwd-file(<a href="mailto:sergio@example.com" target="_blank">sergio@example.com</a><wbr>,192.168.122.1,<<wbr>maOgttJmCADAqHoB>):
            stat(schme=CRAM-MD5 username_format=<a href="mailto:sergio@example.com" target="_blank">sergio@<wbr>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%23011gid=12345%23011home=/home/vmail/sergio@example.com%23011auth_token=34a7660e0c85afacd29709561b0bc7e024942955" target="_blank">011sergio@<wbr>example.com#011uid=12345#<wbr>011gid=12345#011home=/home/<wbr>vmail/sergio@example.com#<wbr>011auth_token=<wbr>34a7660e0c85afacd29709561b0bc7<wbr>e024942955</a><br>
            Mar  7 10:41:16 mail dovecot: imap-login: Login: user=<<a href="mailto:sergio@example.com" target="_blank">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/<wbr>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/<wbr>auth {<br>
              mode = 0666<br>
            }<br>
          }<br>
          ssl_cert = </etc/pki/tls/certs/mailcert.<wbr>pem<br>
          ssl_key = </etc/pki/tls/private/mailkey.<wbr>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="m_2925426667064085011gmail_signature">
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">--<br>
                            Sergio Belkin<br>
                            LPIC-2 Certified - <a href="http://www.lpi.org" target="_blank">http://www.lpi.org</a></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br>Sergio Belkin<br>LPIC-2 Certified - <a href="http://www.lpi.org" target="_blank">http://www.lpi.org</a></div></div></div></div>
</div>