Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
asmecher wrote:Hi Abhiram,
The relevant settings are in OJS's config.inc.php configuration file. By default, OJS uses the local MTA or SMTP server, depending on your platform; you may need to configure the [smtp] section of your configuration file before mail can be successfully sent.
Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher wrote:Hi Abhiram,
The settings you need to use will depend on your server configuration, but I suspect that you'll need to change the smtp_server setting to the name of your SMTP server and turn SMTP delivery on by un-commenting the "smtp = On" directive. (Note that the semicolon at the start of each line tells OJS to ignore the line, so you'll need to remove these semicolons for the lines you change.)
You may need to ask your server admin for the appropriate settings to use.
Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
;;;;;;;;;;;;;;;;;;
; Email Settings ;
;;;;;;;;;;;;;;;;;;
[email]
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = YOUR_SMTP_SERVER_NAME_HERE
smtp_port = 25
; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
; smtp_auth = PLAIN
; smtp_username =
; smtp_password =
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On
; Enable attachments in the various "Send Email" pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On...indicates that Sendmail is not running because it's detected an insecure mail configuration. Correct this and you may find that OJS is able to send mail properly.The error was: Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Return to OJS Technical Support
Users browsing this forum: Bing [Bot], moosavy and 2 guests