-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMAP error "Creating account failed: Could not connect to IMAP: Error connecting to mail server." #2960
Comments
Is the mail host reachable from the nextcloud host? Did you use the correct port? |
Hi @ChristophWurst , well. How can i make mail use IPv4 ? ok, if i disable IPv6 on the main (internet) interface by OS, mail can connect to the imap server. maybe it could be a feature-request to add an option to "manual settings" to use IPv4 / IPv6 or both. so, please remove my "bug" label and add "feature-request" or "enhancement". |
Use the IP. If your host name resolves to an ipv4 and an ipv6 but just one of the two is usable then I would say your network setup is invalid. |
Hello Christoph, thanks for your review of this question. As this is more a networking / operatingsystem issue instead of a nextcloud topic I will close it now. |
Expected behavior
want to add an imap account to mail app
Actual behavior
does not create account
Mail app
1.3.2
Strato: imap.strato.de:993
Server configuration
Ubuntu 18.04
Apache
MySQL
php 7.3
NC 18.0.3
Client configuration
FF 75
Win10
I can access the imap-server from my thunderbird client using exact same credentials and data.
provider tells me they support only thunderbird, outlook, ios and android.
nextcloud-log says:
{"reqId":"CMBZbC19hqBNRpA7daHN","level":0,"time":"2020-04-21T15:08:41+00:00","remoteAddr":"192.168.2.43","user":"fs@dsd","app":"PHP","method":"POST","url":"/index.php/apps/mail/api/accounts","message":"stream_socket_client(): unable to connect to ssl://imap.strato.de:993 (Connection timed out) at /var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Socket_Client/Horde/Socket/Client.php#293","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"18.0.3.0"}
{"reqId":"CMBZbC19hqBNRpA7daHN","level":4,"time":"2020-04-21T15:08:41+00:00","remoteAddr":"192.168.2.43","user":"xxxxxxx","app":"mail","method":"POST","url":"/index.php/apps/mail/api/accounts","message":"Creating account failed: Could not connect to IMAP: Error connecting to mail server.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"18.0.3.0"}
horde-imap-log:
The text was updated successfully, but these errors were encountered: