Re: SQL Multiple passwords

2024-08-21 Thread Aubry via dovecot
Thank you for your answer. I tried it and it works that way.  Cheers Aubry On Wed, 2024-08-14 at 18:08 +1200, Peter via dovecot wrote: > On 28/07/24 00:49, Jaco Kroon via dovecot wrote: > > > >  From what I understood from the archive and from my tests, we > > > > cannot > > > > have multiple p

Re: SQL Multiple passwords

2024-08-15 Thread Rob Lister via dovecot
I did this using SQL database (MySQL) as I wanted to have roundcube webmail with 2FA, but use separate passwords for clients connecting to imap/submission directly. Otherwise, 2FA on only roundcube is a bit pointless if the same credentials can still be used via IMAP without 2FA. I was inspi

Re: SQL Multiple passwords

2024-08-13 Thread Peter via dovecot
On 28/07/24 00:49, Jaco Kroon via dovecot wrote:  From what I understood from the archive and from my tests, we cannot have multiple passwords for a given account. (I get the error: Password query returned multiple matches) But it looks like it can be done via a PAM module. Does anyone succeeded

Re: SQL Multiple passwords

2024-08-13 Thread leoniemeeyr--- via dovecot
Hello @Aubry according to me you can potentially configure custom modules to handle multiple passwords but this requires some advanced setup and scripting. You can consider this Custom PAM Modules Alternate Authentication Methods Consult Documentation and Forums __

Re: SQL Multiple passwords

2024-08-08 Thread leoniemeeyr--- via dovecot
Hello @Aubry You are correct that multiple passwords for a single account can be tricky with standard setups, as you have encountered the multiple matches error; Using a PAM module could be a solution as it might allow for handling multiple passwords more flexibly. __

Re: SQL Multiple passwords

2024-07-27 Thread Jaco Kroon via dovecot
Hi, On 2024/07/26 17:31, Aki Tuomi via dovecot wrote: On 26/07/2024 17:57 EEST Aubry via dovecot wrote: Hi, From what I understood from the archive and from my tests, we cannot have multiple passwords for a given account. (I get the error: Password query returned multiple matches) But i

Re: SQL Multiple passwords

2024-07-26 Thread Aki Tuomi via dovecot
> On 26/07/2024 17:57 EEST Aubry via dovecot wrote: > > > Hi, > > From what I understood from the archive and from my tests, we cannot > have multiple passwords for a given account. (I get the error: Password > query returned multiple matches)  > But it looks like it can be done via a PAM mod