[GH-ISSUE #769] Webmail - Authentication failed #693

Closed
opened 2026-02-27 11:13:04 +03:00 by kerem · 9 comments
Owner

Originally created by @artofmailing on GitHub (Oct 25, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/769

Originally assigned to: @tonioo on GitHub.

Hello there, the first time i post to Github, i hope it's going to the right place.
So experiencing various issues, with using Modoboa < > Dovecot IMAP.

It's an default install, with modoboa-installer on Debian 8.1, on an stronger DigitalOcean VM.
Here is my install layout file, slightly modified:
http://pastebin.com/02rRRkyY

Error notification / page s mainly when logging in / refreshing the INBOX, made few screenshots :
http://i.imgur.com/uAHTOI6.png
http://i.imgur.com/PKHQxeB.png

So again, hope it's went to the right place, and in the right format. We will try to work around this issue, and keep this thread posted, but if there is any ideas please share with us :-)

Thanks y'all guys !

Originally created by @artofmailing on GitHub (Oct 25, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/769 Originally assigned to: @tonioo on GitHub. Hello there, the first time i post to Github, i hope it's going to the right place. So experiencing various issues, with using Modoboa < > Dovecot IMAP. It's an default install, with modoboa-installer on Debian 8.1, on an stronger DigitalOcean VM. Here is my install layout file, slightly modified: http://pastebin.com/02rRRkyY Error notification / page s mainly when logging in / refreshing the INBOX, made few screenshots : http://i.imgur.com/uAHTOI6.png http://i.imgur.com/PKHQxeB.png So again, hope it's went to the right place, and in the right format. We will try to work around this issue, and keep this thread posted, but if there is any ideas please share with us :-) Thanks y'all guys !
kerem 2026-02-27 11:13:04 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Oct 25, 2015):

It might a dovecot configuration issue... Do you see something interesting inside /var/log/mail.log ?

<!-- gh-comment-id:150969775 --> @tonioo commented on GitHub (Oct 25, 2015): It might a dovecot configuration issue... Do you see something interesting inside /var/log/mail.log ?
Author
Owner

@artofmailing commented on GitHub (Oct 25, 2015):

Hey !

This one is repeating when the bug happens :

Oct 25 17:10:44 packer-debian-8-amd64 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 6 secs): user=test@bounceserver.com, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<+DvORvQisAB/AAAB>

Now i found something else too, that's when switching between folders :
http://i.imgur.com/QfVwkI8.png

For me it seems like some Dovecot < > SQL connection limit is being exceeded and that's causing the problem.

Different thing, but using MySQL during the install it's the same issue, but never get in to the Webmail.

<!-- gh-comment-id:150972585 --> @artofmailing commented on GitHub (Oct 25, 2015): Hey ! This one is repeating when the bug happens : Oct 25 17:10:44 packer-debian-8-amd64 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 6 secs): user=test@bounceserver.com, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<+DvORvQisAB/AAAB> Now i found something else too, that's when switching between folders : http://i.imgur.com/QfVwkI8.png For me it seems like some Dovecot < > SQL connection limit is being exceeded and that's causing the problem. Different thing, but using MySQL during the install it's the same issue, but never get in to the Webmail.
Author
Owner

@artofmailing commented on GitHub (Oct 27, 2015):

Don't sure if it's related with this, but another error message pops up randomly at Webmail :
command SELECT illegal in state NONAUTH, only allowed in states AUTH, SELECTED

Screenshot : http://i.imgur.com/RbXCreh.png

<!-- gh-comment-id:151436777 --> @artofmailing commented on GitHub (Oct 27, 2015): Don't sure if it's related with this, but another error message pops up randomly at Webmail : command SELECT illegal in state NONAUTH, only allowed in states AUTH, SELECTED Screenshot : http://i.imgur.com/RbXCreh.png
Author
Owner

@tonioo commented on GitHub (Oct 28, 2015):

I really don't understand what happens right now... Have you tried to change the user password or to change the default scheme used to encrypt passwords ?

<!-- gh-comment-id:152005439 --> @tonioo commented on GitHub (Oct 28, 2015): I really don't understand what happens right now... Have you tried to change the user password or to change the default scheme used to encrypt passwords ?
Author
Owner

@artofmailing commented on GitHub (Oct 28, 2015):

Hey,

Yes i think i changed the default password scheme to unencrypted, PLAIN. Maybe that's why ?

<!-- gh-comment-id:152013479 --> @artofmailing commented on GitHub (Oct 28, 2015): Hey, Yes i think i changed the default password scheme to unencrypted, PLAIN. Maybe that's why ?
Author
Owner

@tonioo commented on GitHub (Oct 31, 2015):

Ok, I've found the bug. Passwords are stored into session and are crypted using AES and a secret key. But this secret key has no default value on a fresh install...

The latest commit should fix this but you can just save global parameters once to set a secret key. Authentication should then work as expected.

<!-- gh-comment-id:152736382 --> @tonioo commented on GitHub (Oct 31, 2015): Ok, I've found the bug. Passwords are stored into session and are crypted using AES and a secret key. But this secret key has no default value on a fresh install... The latest commit should fix this but you can just save global parameters once to set a secret key. Authentication should then work as expected.
Author
Owner

@artofmailing commented on GitHub (Oct 31, 2015):

Hello tonioo !

Thanks for the fast reply, we're now testing this out, and will share our feedbacks :-)

<!-- gh-comment-id:152774380 --> @artofmailing commented on GitHub (Oct 31, 2015): Hello tonioo ! Thanks for the fast reply, we're now testing this out, and will share our feedbacks :-)
Author
Owner

@tonioo commented on GitHub (Nov 27, 2015):

@artofmailing ping

<!-- gh-comment-id:160172967 --> @tonioo commented on GitHub (Nov 27, 2015): @artofmailing ping
Author
Owner

@artofmailing commented on GitHub (Dec 2, 2015):

Hey tonioo ! Sorry for the late reply, with the latest commit you did it seems to be all fine !

<!-- gh-comment-id:161232701 --> @artofmailing commented on GitHub (Dec 2, 2015): Hey tonioo ! Sorry for the late reply, with the latest commit you did it seems to be all fine !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#693
No description provided.