cannot connect mailcow
Steps to reproduce
1.In the mail apps, full in account, click "connect"
Expected behavior
add new account
Actual behavior
show "Wrong IMAP username or password", reponse 400 Bad request
Mail app version
5.0.2
Nextcloud version
31.0.4
Mailserver or service
mailcow (Installed by myself)
Operating system
dockerized
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
imap log
>> Sat, 26 Apr 2025 17:40:09 +0000
>> Connection to: imap://imap.mail.com:993/
>> Server connection took 0.9047 seconds.
S: * OK [CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS LITERAL- MOVE NAMESPACE SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN AUTH=LOGIN AUTH=PLAIN] IMAP server ready H migmxus002 30.3 IMAP-1N18UO-1v6vRK3TMw-012IcE
C: 1 AUTHENTICATE PLAIN [INITIAL CLIENT RESPONSE (username: [email protected])]
S: 1 NO authentication failed
>> Command 1 took 0.3316 seconds.
C: 2 LOGIN [email protected] [PASSWORD]
S: 2 NO authentication failed
>> Command 2 took 0.3086 seconds.
there is no smtp log.
It says authentication failed, are you sure about the password? ;)
It says authentication failed, are you sure about the password? ;)
yes, i am sure password is correct
I use Mailcow as well. It works (Except for some Nextcloud mail issues i have). Could it be because you have to use app passwords with the recent changes in authentication in Mailcow? Depending on your version and setup.
I use Mailcow as well. It works (Except for some Nextcloud mail issues i have). Could it be because you have to use app passwords with the recent changes in authentication in Mailcow? Depending on your version and setup.
That sounds like a reasonable explanation. Is that the case @peterGopher?
Hi there! It looks like this issue hasn’t seen much activity for a while and might need a bit more information to move forward. If we don’t hear back soon, we may close it to keep things organized. Thanks again for your contributions – we really appreciate it!