OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



email failures with OJS

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

email failures with OJS

Postby waynej » Wed Feb 08, 2006 3:01 pm

This is probably not a problem with OJS.
It seems more likely that it has to do with our server configuration.
But any help would be most appreciated.

Emails generated by OJS fail to leave our domain.
"Internal" emails are sucessful but "external" emails are not delivered.

Does anyone have any suggestions?

- Wayne
waynej
 
Posts: 20
Joined: Wed Feb 08, 2006 2:54 pm

Postby asmecher » Wed Feb 08, 2006 4:02 pm

Hi Wayne,

This is probably your local mail setup. By default, OJS uses the local sendmail binary to send emails. If you'd like to use a separate SMTP server, check the [email] section in your config.inc.php configuration file for the relevant options.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Do you mean the OJS config.inc.php?

Postby Alistair » Thu Feb 09, 2006 6:41 pm

Hi,

I am having problems sending email also. I am using Apache 2.0 with MySQL 4.1.7 PHP 4.3.10. The version of OJS is 2.0.1.0

The email works fine for the site overall but I can't get any email out from OJS. The only configuration in config.inc.php for OJS that I can find is the allow_envelope_sender variable.

So is there some other setting that might need to be tweaked?

Cheers

Alistair Campbell
Townsville Qld
Alistair
 
Posts: 17
Joined: Tue Dec 21, 2004 6:02 pm
Location: Australia

Postby asmecher » Thu Feb 09, 2006 7:44 pm

Hi Alistair,

OJS 2.0.1 doesn't support sending email via an external SMTP server. This support was added in OJS 2.0.2, but I'd suggest upgrading to the most recent release -- currently OJS 2.1.0-1. Once you've done that, check the smtp, smtp_server, smtp_port, smtp_auth, smtp_username, and smtp_password options.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby Alistair » Thu Feb 09, 2006 9:55 pm

Hi Alec,

where are these options? in OJS or PHP.ini?

I have upgraded to OJS 2.1.0 but can't see any of those variables in OJS.

Alistair
Alistair
 
Posts: 17
Joined: Tue Dec 21, 2004 6:02 pm
Location: Australia

Postby asmecher » Thu Feb 09, 2006 10:00 pm

Hi Alistair,

Those options should be in your OJS config.inc.php file. If you don't see them there, it may be because you're using a configuration file from an older version of OJS; check in config.TEMPLATE.inc.php for usage information.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby Alistair » Thu Feb 09, 2006 10:03 pm

Thanks Alec, you might need to upgrade the info on upgrade as it reads
- Move or copy the following files and directories from your current OJS
installation:
- config.inc.php


which seems to imply that you just re-use the old config file.

I take it that I need to copy the info from the old config file into the new version?

cheers

Alistair
Alistair
 
Posts: 17
Joined: Tue Dec 21, 2004 6:02 pm
Location: Australia

Postby asmecher » Thu Feb 09, 2006 10:09 pm

Hi Alistair,

See further down the list in docs/UPGRADE:
Code: Select all
    - Be sure to review the Configuration Changes section of the release notes
      in docs/release-notes/README-(version) for all versions between your
      original version and the new version. You may need to manually add
      new items to your config.inc.php file.
Since you upgraded from OJS 2.0.1 to OJS 2.1.0, you'll need to check the following files:
  • docs/release-notes/README-2.0.2
  • docs/release-notes/README-2.1.0
Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby Alistair » Thu Feb 09, 2006 10:20 pm

Thanks Alec,

not much of a reader I am afraid!

Ta

Alistair
Alistair
 
Posts: 17
Joined: Tue Dec 21, 2004 6:02 pm
Location: Australia

Postby asmecher » Thu Feb 09, 2006 10:21 pm

No problem -- frankly, I write more documentation than I read.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby Alistair » Thu Feb 09, 2006 11:21 pm

Thanks a bunch Alec.

All up and working. Very easy once you pointed the stuff out.

Alistair
Alistair
 
Posts: 17
Joined: Tue Dec 21, 2004 6:02 pm
Location: Australia

email authentication

Postby mrich » Tue Apr 11, 2006 2:13 pm

Our university is moving to a system on April 17th where they will require that people sending email "authenticate" using a UW NetID and password. Since our university is also our ISP for our journal, this will affect outgoing mail from our OJS server.

Campus C&C suggests the following settings:

UW C&C wrote:SMTP Server name: smtp.washington.edu
Authentication (login): ON, using UW NetID and password
Secure Connection: ON, (e.g., using SSL or STARTTLS)
Port: 587 recommended, 25 permitted, 465 as a last resort


I've tried entering the appropriate values of smtp_server, smtp_username, smtp_password and smtp_port into the appropriate locations in the config.inc.php file, but so far no joy.

I also set smtp = On, and tried both smtp_auth= PLAIN and LOGIN without success. Any test messages I tried sending then never went through.

As soon as I turn smtp=Off, the mail works fine again, but our days are clearly numbered. :(

My current theory is that our mailserver wants SSL enabled, and it's not clear to me how to do this with OJS. If I change set force_ssl = On or force_login_ssl = On, will that also enable SSL for email?

Regards,

Mike Richardson
UW Radiology
Radiology Case Reports
mrich
 
Posts: 12
Joined: Thu Dec 08, 2005 12:43 am
Location: University of Washington, Seattle, Washington

Postby asmecher » Tue Apr 11, 2006 3:04 pm

Hi Mike,

force_ssl only affects the HTTP connection with the user's browser. You may be able to get OJS to use an SSL connection to the mail server by using ssl://my.smtp.server.name for the smtp_server setting (with smtp enabled); this is untested but should work, so please report your results here.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby mrich » Thu Apr 13, 2006 8:03 am

Thanks, Alec -- I'll give it a try today.
mrich
 
Posts: 12
Joined: Thu Dec 08, 2005 12:43 am
Location: University of Washington, Seattle, Washington


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 5 guests