<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Umm.. Do you use %u in mail_location or anywhere else?<br><br>The only thing I can think of is that your password_query modifies
<br>the username to be &quot;OK&quot;. I can think of nothing in Dovecot&#39;s code<br>that would set USER=OK.</blockquote><div><br><br>Not seeing it anywhere else except for my &#39;WHERE&#39; clauses.<br><br>password_query = SELECT clearpasswd AS password FROM 
authenticate.users AS u WHERE u.userID = &#39;%u&#39;<br>user_query = SELECT file AS home, uid, gid, concat(&#39;maildir:storage=&#39;, TRUNCATE(quota/1024,0)) AS quota FROM iwmailsystem.virtmailbox AS v WHERE v.userID&nbsp; = &#39;%u&#39;
<br>&nbsp;<br></div><br>mail_location is this:<br>mail_location = maildir:%h<br><br>&nbsp;The only entry in dovecot.conf that uses %u but isnt commented is: login_log_format_elements = user=&lt;%u&gt; method=%m rip=%r lip=%l %c<br>
<br></div><br>Other ideas?<br><br>-c<br>