Hi Joe,
Logging is on and this is the output
2021-06-02T01:13:19+00:00 FATAL index SERVER -> CLIENT: 250-POM-MAIL.oepng.local Hello [10.161.64.92]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250 XSHADOW
2021-06-02T01:13:19+00:00 FATAL index CLIENT -> SERVER: STARTTLS
2021-06-02T01:13:19+00:00 FATAL index SMTP -> get_lines(): $data is ""
2021-06-02T01:13:19+00:00 FATAL index SMTP -> get_lines(): $str is "220 2.0.0 SMTP server ready
"
2021-06-02T01:13:19+00:00 FATAL index SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2021-06-02T01:13:19+00:00 FATAL index Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed [/var/www/html/corebos/modules/Emails/class.smtp.php line 374]
2021-06-02T01:13:19+00:00 FATAL index SMTP Error: Could not connect to SMTP host.
2021-06-02T01:13:19+00:00 FATAL index CLIENT -> SERVER: QUIT
2021-06-02T01:13:19+00:00 FATAL index SMTP -> get_lines(): $data is ""
2021-06-02T01:13:19+00:00 FATAL index SMTP -> get_lines(): $str is ""
2021-06-02T01:13:19+00:00 FATAL index SERVER -> CLIENT:
2021-06-02T01:13:19+00:00 FATAL index SMTP ERROR: QUIT command failed:
2021-06-02T01:13:19+00:00 FATAL index Connection: closed
2021-06-02T01:13:19+00:00 FATAL index SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/w...leshooting
2021-06-02T01:13:19+00:00 INFO DB DB >> getMailError
2021-06-02T01:13:19+00:00 INFO DB DB >Error message:
2021-06-02T01:13:19+00:00 INFO DB DB >< getMailError Mail error is not connect_host, from_failed nor recipients_failed
2021-06-02T01:13:19+00:00 INFO DB DB >> getMailErrorString "fakeemailladdress@fake.com.you"=Mail error is not connect_host, from_failed nor recipients_failed&&&
2021-06-02T01:13:19+00:00 INFO DB DB >All Mail status ==>
dennis.arriola@global.com.pg=Mail error is not connect_host, from_failed nor recipients_failed
From what I can determine corebos is expecting tls connection
I have created a exchange specific receive connector for the corebos server and from a basic telnet session I can easily send a test email to an external recipient and it is received
Thanks
Shane