title: dovecot: enabling a secondary password?
body: <p>We're dealing with an unusual situation involving <code>dovecot</code> that perhaps requires an unusual solution.</p>
  <p>We recently required all of our POP/IMAP users to change their passwords, and in almost all cases, they dutifully did so. However, one user has several devices and machines which are repeatedly querying for email, and due to circumstances beyond anyone's control, one of his computers cannot be accessed for at least another few weeks, and therefore, the <code>dovecot</code> password for that user's email access cannot not be changed until that time passes.</p>
  <p>Therefore, that computer keeps querying <code>dovecot</code> for email for that user with the old, now invalid password, and those queries fail.</p>
  <p>Furthermore, due to various circumstances which are also beyond our control for the time being, we can't have that one user change his password back to the old value on the other machines and devices that he uses.</p>
  <p>What we're wondering is whether there is some way that <code>dovecot</code> could be set up to recognize and accept <strong>both</strong> passwords for this one, specific user. In other words, can we somehow set up a secondary password for this email address so that both the old and the new password will allow this user to access his email?</p>
  <p>We are using <code>auth sql</code> by including <code>auth-sql.conf.ext</code> in <code>10-auth.conf</code>. Perhaps the solution to this problem would to restructure the database we are using for SQL authentication and add one or more columns, and then somehow change the SELECT statement that is used in <code>auth-sql.conf.ext</code> to choose between one of two passwords.</p>
  <p>We are willing to attempt this procedure if it's the only option available, but we aren't even sure how it can be done. And in any case, we're hoping that there might be some feature of <code>dovecot</code> that we are unfamilar with which would allow us to set up this one user's <code>dovecot</code> email account to allow two different passwords for authentication without any database changes.</p>
  <p>Is there any chance that we could do this?</p>
  <p>Thank you in advance.</p>