Hi,

my mailcow server is working as fine under the subdomain mail.fqdn (mail.example.com)
and my Wordpress Shop is working under the fqdn (example.com) So I installed the plugin FluentSMTP in Wordpress.
I choosed othersmtp an my settings are:
Sender Settings:
From Email: info@example.com
From Name: My Name
I checked the Boxes - Force From Mail - Set the return-path to match the From Mail

SMTP Host:
mail.example.com
SMTP Port:
465
Checked the Box: SSL
Checked the Boxes: Use Auto TLS and Authentication (username and password from Mail)
Store Access Keys in Database
SMTP Username: info@example.com
SMTP Password: the password of this mail account.

I got this Error in the Logs:
{
“code”: 423,
“message”: “SMTP Error: Could not connect to SMTP host. Failed to connect to server”,
“errors”: [
“SMTP Error: Could not connect to SMTP host. Failed to connect to server”
]

The mailcow is on the same server with a relay proxy in apache so its reachable under mail.example.com.
That did I wrong? Thank You very much for help!

Greetings

  • Es lag an Zertifikaten. Ich habe die generierten von Letsencrypt für meine Domain in den Ordner von dem Docker Container mit dem nginx Part. Jetzt läuft es.

I am just using good old port 25 for that, and I am using the “Easy WP SMTP” Plugin.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

Sometimes it doesn’t work to connect to the outside ports if both services are hosted on the same server.
If Wordpress is hosted as docker service as well, you could add the mailcow postfix container to the docker network of the Wordpress container and set the network alias of the postfix container in the Wordpress network to the hostname of your mailserver. Like this: mailcow community Icon Nextcloud Mail versenden funktioniert nicht (mehr)

Es lag an Zertifikaten. Ich habe die generierten von Letsencrypt für meine Domain in den Ordner von dem Docker Container mit dem nginx Part. Jetzt läuft es.

    2 months later

    hideuser01 Can you Provide a Process How To do This? Because Right Now I have the same Issue. Mailcow SMTP Can’t Connect with WordPress.

    No one is typing