Operating system: Linux 3.10.0-962.3.2.lve1.5.33.el7.x86_64 #1 SMP Fri Mar 13 09:20:40 EDT 2020 x86_64
Webserver: Apache (litespeed)
Database: mysql 10.3.23
PHP version: 7.3.17
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, litespeed, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, wddx, xmlreader, xmlrpc, imagick, redis, ionCube Loader, Zend OPcache
Nextcloud version: 18.0.3 - 22.214.171.124
Steps to replicate it:
- Try to enter my email server details and credentials.
My email hosting provider does not require any IMAP/SMTP security - only username and password. I am able to access and use this particular email account in Thunderbird, Outlook, GMail, and K9 Mail on my phone but I can not get Nextcloud mail to work. I get a very generic “Unexpected Error” when trying to add the email account.
I have both IMAP and SMTP security set to NONE in the manual creation and use the same settings/ports that successfully work with Thunderbird, Outlook, K9, etc)
Fatal mail Creating account failed: Could not open secure TLS connection to the server.
Debug mail Connecting to account email@example.com
Info mail Setting up manually configured account
When I set up the email settings in “Basic Settings” of the Admin section and use the same credentials it successfully sends the test email. I set the SMTP encryption to ‘None’ and Authentication to ‘Login’ and I get the email delivered to my gmail account.
But, alas, I can not get the mail app to work with our hosting provider - we are a small business and have 4-5 employees wanting to use Nextcloud with their email.
This has been happening for 3 months through 2-3 Nextcloud and Mail app updates. Any thoughts would be appreciated.