1

Topic: Unable to connect iredmail account to nextcloud

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):      1.5.2
- Deployed with iRedMail Easy or the downloadable installer?: script
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I posted this to the nextcloud forum but they told me it's a mail issue, not nextcloud. I get errors when trying to add my email in my nextcloud profile and send a test email. Nextcloud is installed via the official VM image. I've tried both SSL and STARTTLS. I've attached screenshots of the errors. I found this old post of someone who seemed to be having the same problem as me. topic16455-phpmail-unable-to-connect-with-tls-encryption

I got my settings from this page: docs-iredmail-org/#mua

See attached for the error messages and the nextcloud log error. My email server works great otherwise.

Post's attachments

nextcloud log.png
nextcloud log.png 27.97 kb, 2 downloads since 2022-05-16 

ssl.jpg
ssl.jpg 63.99 kb, 1 downloads since 2022-05-16 

start.jpg
start.jpg 55.55 kb, 3 downloads since 2022-05-16 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Unable to connect iredmail account to nextcloud

Did you install true SSL cert with Let's Encrypt on your iRedmail?
If not then try to import iRedmail cert to trusted on Nextclound server

3

Re: Unable to connect iredmail account to nextcloud

AndreyEver wrote:

Did you install true SSL cert with Let's Encrypt on your iRedmail?
If not then try to import iRedmail cert to trusted on Nextclound server

I did not. All SSL termination for my servers are handled via nginx proxy manager on a separate server within my network.

The iredmail server is self signed and proxied via https through my proxy server.

If I need to import the cert into nextcloud, would it be the iredmail server self-signed cert or the proxy certbot cert?

4

Re: Unable to connect iredmail account to nextcloud

Any error in Postfix log file (/var/log/maillog) on iRedMail server?