Problem with email Authentication

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 3
Joined: Tue Jul 24, 2012 4:05 am

Problem with email Authentication

Postby Safram » Tue Jul 24, 2012 4:16 am


I'm experiencing some difficulty with the "Email Settings" configuration. I understand plain SMTP configuration uses port 25 without any authentication whatsoever. Problem is, the server I'm trying to use (which I don't have access to), apparently doesn't support TLS authentication via port 465. So, I have to use port 25, which works OK, but I do want to associate an existing email account to centralize all OJS mail from there. Until now I've only been able to succesfully use port 25 without authentication data.

Configurations that worked previously:

smtp = On
smtp_sever = [My_server_IP]
smtp_port = 25

smtp_auth = [BLANK]
smtp_username = [BLANK]
smtp_password = [BLANK]


smtp = On
smtp_server = tls://
smtp_port = 465

smtp_auth = LOGIN
smtp_username = [GMAIL account]
smtp_password = [password]

I've noticed the mail server supports SMTP authentication, but via NTLM protocol; it obviously runs a Windows architecture. Is there a way to use port 25 while associating an email account? Thanks for any help given.

Posts: 3
Joined: Tue Jul 24, 2012 4:05 am

Re: Problem with email Authentication

Postby Safram » Mon Jul 30, 2012 2:16 am

Okay, about this matter. I've advanced considerably towards solving it.

Using Thunderbird, I can send mail to external addresses from within the mailbox I want to set up. So there should be no problem doing it with OJS.

What I want to do is send and control all mail from OJS from one mailbox. As I said the server uses NTLM authentication. Taking a look at Wikipedia, it suggests that I should put DIGEST-MD5 as my authentication method in the config file in OJS ( I try

smtp_server = Server IP
smtp_port = 25

smtp_auth = DIGEST-MD5
smtp_username = Username, the one that works in Thunderbird
smtp_password = Password, the one that works in Thunderbird

but it doesn't work. PHP error file simply says "Could not authenticate", which could be due to the authentication method, invalid username or invalid password.

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests