TLS Configuration

Hello all,

I’m aware that this is a server setup issue, but, I have no one else to turn to. Our IT Network department is setting up TLS for security reasons on all of our e-mail communications. The only system they haven’t been able to configure it is our http://revista.ibict.br, which hosts our OJS journal’s portal.

If anyone is kind enough to show me how to at least know if TLS is enabled and what version, I’d be already happy.

We’ve tried adding tls://smtp.server.address but emails are not sent.
We get a “unable to authenticate” error message.

Thanks to all in advance!

Hi @ramon,

What version of OJS are you using? (Please include this in your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher.,

Sorry, I thought it was implied that I was on 2.4.8-2

Hi @ramon,

What other SMTP settings are you using? (Of course, don’t include actual usernames/passwords.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher,

I think these are the ones that matter.
Confidential info removed.

;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;

[email]

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = "smtp.apps.ibict.br"
smtp_port = 25

; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = LOGIN
smtp_username = email@address
smtp_password = passwd

Hi @ramon,

That’s a normal SMTP configuration, not using TLS. What about when you’re trying to configure it for TLS?

Thanks,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher

IT Department tried setting smtp_server = “tls://smtp.apps.ibict.br” but that didn’t work. Unfortunately, they haven’t fully tested also.

I don’t know if the server hosting our OJS 2.4.8-2 is configured correctly to use TLS, what settings, libraries, software is needed.

Hi @ramon,

Is that the only setting they changed?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello @asmecher,

Apparently, yes…
Is there anything else needed?

Try

smtp_server = “tls://smtp.apps.ibict.br”
smtp_port = 587

Or

smtp_server = “ssl://smtp.apps.ibict.br”
smtp_port = 465

Hello all,

Thanks @abadan!!
Suggested configurations sent to IT Crowd…