Dolibarr 12.0 SMPT Send Mail error

Dolibarr is not able to send emails using another server as SMTP relay server.
This happens, especially when the connection requires STARTTLS.

The problem remains, regardless of using SMTP-Socket Library or SwiftMailer Library.

The error is:

Error [132]: STARTTLS connection failed. Error [121]: Couldn’t get mail server response codes Error [120]: Ran into problems sending Mail. Response:

Any thoughts or suggestions?

Hi. One thing to watch eventually: You have to check that the sender’s email domain is matching the SMTP settings. If the SMTP server is not on the same domain, chances are you get that kind of generic error and emails won’t get dispatched.

Hi, they are. In fact both the Sender and SMTP Server are in the same domain. Both are even using local IP addresses and Postfix is setup to accept local IPs without harsh checks.
Another Application (GitLab) on the same Machine as Dolibarr (using same Mail Settings), is able to send Mails.