Describe the issue or problem
Since switching to OJS-3.5.0.1, all emails sent from a specific OJS user (as opposed to those being sent by OJS system tasks) are being flagged as spam, since they don’t pass the DMARC test. Yet, I noticed how messages sent from the “general” email address (“outstanding editorial tasks”, “editorial activity”) are delivered fine.
allow_envelope_sender = On
default_envelope_sender = <email>
force_default_envelope_sender = On
force_dmarc_compliant_from = On
I’ve tried many combinations of these settings, but don’t see much (any?) difference in how they affect the email headers. Actually, I’m suspecting that `force_default_envelope_sender` or `force_dmarc_compliant_from` don’t have any effect at all in OJS-3.5.0. With identical settings in OJS-3.4.0, the headers did look different:
OJS-3.4.0:
from: <OJS user name> via <default_envelope_sender>
reply-to: <OJS user email>
OJS-3.5.0:
from: <OJS user email>
no reply-to header
Yet, since “system-generated” emails from the default email addres (which is in the domain of our journal) are being delivered without problems, I would for now like to force all emails to be sent from that address. Is this possible at all?
Ah, found further pointers that confirm my suspicion about force_dmarc_compliant_from and force_default_envelope_sender not working properly (see “Email Sending” section):
Given the email-centered workflow of OJS, I’m confident that the issues at:
This fix was merged into the stable-3_5_0 branch to resolve it for the forthcoming 3.5.0-2 release. You can apply that in the lib/pkp subdirectory to fix a 3.5.0-1 installation.
Regards,
Alec Smecher
Public Knowledge Project Team