OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Invalid Return-Path in email header

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

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Invalid Return-Path in email header

Postby igotea » Sun Jan 10, 2010 9:53 am

Hello,

my OCS instance in combination with Postfix send the mails ok, but not
every one receive them.

I observed that the header of messages sent from the OCS email forms
have a wrong Return-Path, like: apache@.ro

Searching for a solution, I observed that if I modify the php.ini
file by adding:

Code: Select all
    sendmail_path = /usr/sbin/sendmail -t -i -f myemail@mydomain.com


the message will reach the final destination.

The questions:
- what changes to make to have the return-path adress equal whith the "from adress" ?
- Is the OCS mail () form wrong or I must work on my php.ini file ?

Regards,

Ionut
Last edited by igotea on Wed Jul 27, 2011 11:23 pm, edited 1 time in total.
igotea
 
Posts: 23
Joined: Fri Aug 15, 2008 7:33 am

Re: Invalid Return-Path in email header

Postby asmecher » Thu Jan 14, 2010 8:20 pm

Hi Ionut,

Two things to try:
1) Try enabling the "allow_envelope_sender" option in config.inc.php and setting the "default_envelope_sender" setting to a reasonable default (i.e. your installation's primary contact).

2) Try using SMTP mailing rather than your local MTA. (See the [email] section in config.inc.php for details on this.)

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8903
Joined: Wed Aug 10, 2005 12:56 pm

Re: Invalid Return-Path in email header

Postby JerryRice » Wed Feb 23, 2011 1:14 pm

We had the same issue on OJS over here.

Things have always worked fine and people received emails no problem until recently.
I implemented the allow_envelope_sender = On (took off the ; from the beginning of the line) and changed the default_envelope_sender to a valid email and emails are getting through now.
JerryRice
 
Posts: 33
Joined: Mon Jul 13, 2009 1:07 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests