mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #727] Unable to save this server, are the username and password correct? #456
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#456
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @XargonWan on GitHub (Jul 4, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/727
Originally assigned to: @IrAlfred on GitHub.
💬 Question
Whatever server I add, I got the following error:
Unable to save this server, are the username and password correct?.I tried google login, google IMAP, microsoft IMAP without any success.
I am running a test server with the default composer file:
I don't know where the logs are located as with docker logs it prompt me the nginx logs.
Any help?
@kroky commented on GitHub (Jul 4, 2023):
Hi, I just tested the stock docker-compose running on port 8888 and it sucessfullu connects with an IMAP server. It also displays the emails just fine. Google driver might need some special auth, I suggest you first test with another IMAP server.
The error message you see is connected with a failure to authenticate with remote IMAP server with provided credentials. There are no more logs that could be helpful. You can basically run Cypht in debug mode and have the logs appear either on-screen or logged to the standard php error log.
@XargonWan commented on GitHub (Jul 4, 2023):
Thanks for your prompt reply.
How can I run it in debug mode?
@marclaporte commented on GitHub (Jul 5, 2023):
The debug mode is documented in https://github.com/cypht-org/cypht/blob/master/INSTALL
FYI, Google and Microsoft nowadays usually restrict traditional IMAP access. My suggestions:
@XargonWan commented on GitHub (Jul 5, 2023):
I found GMX that is serving IMAP, it's working on my Thunderbird but not on Cypht: I got Authentication failure and even in debug mode I got no clues why.
Basically what I'm trying to understand is if Cypht is retaining the emails in the database or not as I need to do some operations on my emails.
@kroky commented on GitHub (Jul 6, 2023):
Yes, that's odd. Might be problems with SSL and docker or another thing - I see their IMAP is pretty standard (https://support.gmx.com/pop-imap/imap/server.html)
Note that cypht is a client only - it doesn't store messages, so it relies 100% on the remote IMAP server to read and display messages.
@marclaporte commented on GitHub (Jul 7, 2023):
@XargonWan If you can provide SSH access to an environment with the issue, a Cypht team member (@josaphatim) can troubleshoot.
@XargonWan commented on GitHub (Jul 11, 2023):
Unfortunately not, however I set it up on an azure linux vm and even there I had the same issue, both native and docker.
@marclaporte commented on GitHub (Jul 12, 2023):
@XargonWan I really want to help and to do so, I need SSH access to an environment exhibiting the issue.
@marclaporte commented on GitHub (May 6, 2024):
@XargonWan please
@marclaporte commented on GitHub (Sep 28, 2024):
@XargonWan Last call :-)
@marclaporte commented on GitHub (Sep 1, 2025):
@IrAlfred If you can't reproduce the issue, please close.
@IrAlfred commented on GitHub (Sep 1, 2025):
Noted !
@IrAlfred commented on GitHub (Sep 12, 2025):
Hello @XargonWan @marclaporte,
I've tried to reproduce this issue on my end, but so far, everything is working as expected.
I mark this issue as closed for now since we can't reproduce it. To help us investigate, would you be available for a brief screenshare?
If so, please DM me (@iralfred:gitter.im ) on Gitter. We can continue the discussion here and re-open the issue once we have more details.
Thanks!