I am trying to get SMTP mail setup on OCS, and am having difficulties.
I am using the same SMTP server that my own mail client uses. My SMTP server appears to use no authentication, except via my IP address which is at the same university. I can telnet to the SMTP server on port 25, and the reply is 220 master.ice.uec.ac.jp ESMTP Sendmail 8.13.8+Sun/8.13.8; Tue, 20 May 2008 16:17:10 +0900 (JST). Then I send an email without being asked for a password.
But, after I attempt to send an email from inside OCS, I find the following in the server log:
[client 22.214.171.124] OJS SMTPMailer: Could not authenticate, referer: http....
Back at telnet, if, for example I try PLAIN or LOGIN authentication via telnet, I get an error.
C: AUTH PLAIN
S: 500 5.5.1 Command unrecognized: "AUTH PLAIN"
(This is per http://www.technoids.org/saslmech.html
So my interpretation is that my SMTP server does not support PLAIN or AUTH, while OCS does not support "passwordless" mailing. There is still the chance that I've got my password wrong, but I don't know where to look for error logs.
I'm running my own web server, which does not have sendmail configured.
I look forward to your comments.