Skip to content
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

Nextcloud Mail unable to auto configure emails #10211

Open
jSydorowicz21 opened this issue Oct 2, 2024 · 3 comments
Open

Nextcloud Mail unable to auto configure emails #10211

jSydorowicz21 opened this issue Oct 2, 2024 · 3 comments
Labels
0. to triage bug comp:setup All tickets regarding the setup component

Comments

@jSydorowicz21
Copy link

jSydorowicz21 commented Oct 2, 2024

Steps to reproduce

  1. Attempt to auto configure an email provided by spacemail.com

Expected behavior

Email should auto configure properly as done with all other email clients.

Actual behavior

Email fails to auto configure. Log found here:

{"reqId":"TNfgwADZFUbKcUfPBcVO","level":3,"time":"2024-10-01T23:35:24+00:00","remoteAddr":"redacted","user":"redacted","app":"PHP","method":"GET","url":"/apps/mail/api/autoconfig/test?host=mx2.spacemail.com&port=465","message":"fsockopen(): Unable to connect to mx2.spacemail.com:465 (Connection refused) at /var/www/html/custom_apps/mail/lib/Service/AutoConfig/ConnectivityTester.php#32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0","version":"30.0.0.14","data":{"app":"PHP"}}
{"reqId":"OtQvno8W3kLBeosPb1Oi","level":3,"time":"2024-10-01T23:35:29+00:00","remoteAddr":"redacted","user":"redacted","app":"PHP","method":"GET","url":"/apps/mail/api/autoconfig/test?host=mx2.spacemail.com&port=587","message":"fsockopen(): Unable to connect to mx2.spacemail.com:587 (Connection timed out) at /var/www/html/custom_apps/mail/lib/Service/AutoConfig/ConnectivityTester.php#32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0","version":"30.0.0.14","data":{"app":"PHP"}}
{"reqId":"ScEmOhEhJWxWvFATayck","level":3,"time":"2024-10-01T23:35:29+00:00","remoteAddr":"redacted","user":"redacted","app":"PHP","method":"GET","url":"/apps/mail/api/autoconfig/test?host=mx2.spacemail.com&port=993","message":"fsockopen(): Unable to connect to mx2.spacemail.com:993 (Connection timed out) at /var/www/html/custom_apps/mail/lib/Service/AutoConfig/ConnectivityTester.php#32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0","version":"30.0.0.14","data":{"app":"PHP"}}
{"reqId":"6IH8AuJPzeCFz3NWa79T","level":3,"time":"2024-10-01T23:35:29+00:00","remoteAddr":"redacted","user":"redacted","app":"PHP","method":"GET","url":"/apps/mail/api/autoconfig/test?host=mx2.spacemail.com&port=143","message":"fsockopen(): Unable to connect to mx2.spacemail.com:143 (Connection timed out) at /var/www/html/custom_apps/mail/lib/Service/AutoConfig/ConnectivityTester.php#32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0","version":"30.0.0.14","data":{"app":"PHP"}}

Mail app version

4.0.1

Mailserver or service

spacemail.com

Operating system

Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database

MariaDB

Additional info

All other email clients seem to resolve fine and I've verified with a few tools that the mx is configured correctly. When manually configured it can correctly access mail boxes.

@jSydorowicz21 jSydorowicz21 changed the title Nexcloud Mail unable to Auto Configure emails Nextcloud Mail unable to auto configure emails Oct 2, 2024
@ChristophWurst
Copy link
Member

What are the expected configuration parameters? You could look them up in the provider docs or try another email client like Thunderbird.

@ChristophWurst ChristophWurst added needs info comp:setup All tickets regarding the setup component labels Oct 2, 2024
@jSydorowicz21
Copy link
Author

jSydorowicz21 commented Oct 2, 2024

What are the expected configuration parameters? You could look them up in the provider docs or try another email client like Thunderbird.

I've screenshotted the expected auto configured parameters below, so far all the other email clients we've used resolve these correctly:
image

@ChristophWurst
Copy link
Member

Thanks! We should be able to debug this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage bug comp:setup All tickets regarding the setup component
Projects
None yet
Development

No branches or pull requests

2 participants