A week ago I setup nextcloud on my unRaid server. I am now self-hosting nextcloud. It’s working great except I can’t seem to add my personal email to the mail app within nextcloud.
I am clicking on ‘Manuel setup’ and typing in all the correct mail settings. It seems like it’s adding it but never loads anything. It’s just stuck loading infinitely. I’ve tried searching on google for a solution but have come up short with a fix.
Let me know if I need to post logs (not sure how to do that) or do whatever to help give enough info to make solving this easier.
The screenshot itself looks good, but you haven’t provided any valuable information, about your environment, the used software versions, DETAILED information what you’ve entered in the mail account setup fields, which IMAP and SMTP server you’re using, which related messages have been written to the Nextcloud log file, etc., etc.
Due to the fact that the mail app loads the full IMAP folder tree structure on every start, it is e.g. essential to use a fast IMAP server, like e.g. Dovecot-IMAP. Other IMAP servers are very often not able to provide all requested information within the timeout window.
Ok, that all looks good to me. I’ve also checked the used IMAP server and based on the reply it seems to be Dovecot, which is ususally extremely fast to me. To find out what’s going on on your IMAP server in detail, you should enable debug logging for Dovecot IMAP. I think the locked-messages are definitely been cause by your server and not Nextcloud.
# telnet dal01.mithrilnetwork.com 143
Connected to dal01.mithrilnetwork.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
BTW, you should check your Dovecot configuration, because currently AUTH=PLAIN/LOGIN are allowed without having a secure connection established