Re: Password Mismatch when connecting from Email Client

2022-02-05 Thread Dr Francis Greaves
My dovecot-sql.conf.ext file has this line:

default_pass_scheme = MD5-CRYPT

looking in the postfixadmin database passwords are encrypted




 On Fri, 04 Feb 2022 16:37:54 + Benny Pedersen  wrote 



On 2022-02-04 17:17, Dr Francis Greaves wrote: 
 
> Any help much appreciated. 
 
what is stored in mysql on the password field ? 
 
you dont need to expose passwords in maillists 

Password Mismatch when connecting from Email Client [SOLVED]

2022-02-05 Thread Francis Greaves
Alexander, that has fixed it!



Many thanks to all who contributed.



Regards

Francis




 On Fri, 04 Feb 2022 17:58:23 + Alexander Dalloz  
wrote 



Am 04.02.2022 um 18:33 schrieb Francis Greaves: 
> Well my PostfixAdmin is setup like this: 
> 
> $CONF['encrypt'] = 'md5crypt'; 
> 
> and dovecot default_pass_scheme = MD5-CRYPT 
 
Use 
 
$CONF['encrypt'] = 'dovecot:MD5-CRYPT' 
$CONF['dovecotpw'] = "/path/to/doveadm pw"; 
 
in conf.inc.php of Postfixadmin. 
 
Alexander

Re: Password Mismatch when connecting from Email Client

2022-02-04 Thread Francis Greaves
Well my PostfixAdmin is setup like this:



$CONF['encrypt'] = 'md5crypt';



and dovecot default_pass_scheme = MD5-CRYPT



So I would have thought that would match OK.



I have tried a password with just AlphaNumeric characters, no special chars but 
same error.






 On Fri, 04 Feb 2022 17:16:05 + Benny Pedersen  wrote 



On 2022-02-04 18:08, João Silva wrote: 
> On 04/02/2022 16:51, Francis Greaves wrote: 
> 
>> My dovecot-sql.conf.ext file has this line: 
>> 
>> default_pass_scheme = MD5-CRYPT 
>> 
>> looking in the postfixadmin database passwords are encrypted 
> 
> How? there are several ways to encrypt passwords. If the 
> default_pass_scheme mismatch the way postfixadmin encrypts the 
> passwords the verification will fail. 
 
and thats why i asked what is in mysql password field 
 
no info no help here

Re: Password Mismatch when connecting from Email Client

2022-02-04 Thread Francis Greaves
My dovecot-sql.conf.ext file has this line:

default_pass_scheme = MD5-CRYPT

looking in the postfixadmin database passwords are encrypted







 On Fri, 04 Feb 2022 16:37:54 + Benny Pedersen  wrote 



On 2022-02-04 17:17, Dr Francis Greaves wrote: 
 
> Any help much appreciated. 
 
what is stored in mysql on the password field ? 
 
you dont need to expose passwords in maillists 

Password Mismatch when connecting from Email Client

2022-02-04 Thread Dr Francis Greaves
Dear All
I have
Postfix version 3.3.0, Dovecot Version 2.2.33.2 and PostfixAdmin
version 3.3.10 using MySQL on a small device running Ubuntu
VERSION="18.04.6 LTS (Bionic Beaver)" for my internal LAN
Mail.

I have a user mailto:ad...@fsoft.nnet with a mailbox setup in
PostfixAdmin with a password as 'Test75?'

Everything is running fine, but I cannot get my Email Client
Thunderbird to connect.

I have setup the debugging to see that the correct password
is being used, which it is, but I have this error:

dovecot: auth-worker(26468):
sql(mailto:ad...@fsoft.nnet,10.6.10.10,): Password
mismatch (given password: Test75?)


showing that dovecot disagrees!!!

Why is this? Is it something to do with the permissions in
PostfixAdmin?

I did find 
https://serverfault.com/questions/696715/password-mismatch-in-dovecot-with-postafixadmin
 where someone had the same problem. He just tried various passwords until he 
found one that
worked I have not found any other post about this exact problem.

Any help much appreciated.

Regards

Francis