I just did a little more testing with my installation. (It's easy to make 
mistakes with long passwords.)
I just found that I could use a full 40 characters for a password, which is the 
size I set for the character field in mysql.
This works for dovecot and for smtp authentication, without code changes. This 
is a qmailtoaster installation from this past summer, so very recent (says 
Netqmail 1.06 in /var/qmail/doc/version) Dovecot 2.3.16

Steve

January 9, 2022 2:19 PM, st...@keptprivate.com wrote:

> PS: Perhaps this has something to do with the hashed version of the password 
> being a static size?
> As long as the incoming string isn't truncated, or is truncated consistently, 
> the hash is what it
> is?
> 
> January 9, 2022 12:45 PM, "Eric Broch" <ebr...@whitehorsetc.com> wrote:
> 
>> And, does vpopmail or qmail code have to be updated?
>> 
>> On 1/9/2022 10:36 AM, st...@keptprivate.com wrote:
>> 
>>> I updated the mysql table to a larger field and I've been able to get away 
>>> with 30 characters for
>>> passwords.
>>> Dovecot certainly doesn't mind and neither does smtp authentication.
>>> 
>>> I do have my own code for maintaining the password in the DB (written in 
>>> php).
>>> 
>>> Steve
>>> 
>>> January 8, 2022 10:04 PM, "Eric Broch" <ebr...@whitehorsetc.com> wrote:
>> 
>> I'll have to go into the code but will look into it.
>> 
>> On 1/8/2022 7:03 PM, Remo Mattei wrote:
>>> Yea I saw that. Since I was trying to use a passphrase it was longer than 
>>> that, and we do support
>>> spaces it would be nice to make it like 32 :)
>>> 
>>> Remo
>>> 
>>> On Jan 8, 2022, at 18:02, Eric Broch <ebr...@whitehorsetc.com> wrote:
>>> 
>>> I think 15 or 16 characters is the limit otherwise software and database 
>>> update is in order.
>>> 
>>> On 1/8/2022 6:53 PM, Remo Mattei wrote:
>>> Hello guys,
>>> Do we have an option to set longer passwords?
>>> 
>>> Thanks,
>>> Remo
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to