Problem with sending mails OJS 3,1,1,4

Hi everybody,
Ive problem with mailing on OJS 3.1.1.4. IT team informs that there are no locks on the server but sending emails dont work.
Below the logs.

[Mon Jan 21 16:52:11.729999 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserGridHandler::renderFilter($request) should be compatible with GridHandler::renderFilter($request, $filterData = Array) in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:11.730438 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserForm::display($args, $request) should be compatible with Form::display($request = NULL, $template = NULL) in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:11.730456 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserForm::initData($args, $request) should be compatible with Form::initData() in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:11.730467 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserForm::execute($args, $request) should be compatible with Form::execute() in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/form/UserForm.inc.php on line 18, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:11.735493 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserEmailForm::fetch($args, $request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/form/UserEmailForm.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:11.735516 2019] [php7:warn] [pid 12860] [client 85.221.208.178:64470] PHP Warning: Declaration of UserEmailForm::execute($args, $request) should be compatible with Form::execute() in /home/czasopisma/public_html/lib/pkp/controllers/grid/settings/user/form/UserEmailForm.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:17.678622 2019] [php7:warn] [pid 12861] [client 85.221.208.178:64471] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/czasopisma/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:17.684401 2019] [php7:warn] [pid 12861] [client 85.221.208.178:64471] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/czasopisma/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:17.684423 2019] [php7:warn] [pid 12861] [client 85.221.208.178:64471] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/czasopisma/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access
[Mon Jan 21 16:52:17.684487 2019] [php7:notice] [pid 12861] [client 85.221.208.178:64471] PHP Notice: Only variables should be passed by reference in /home/czasopisma/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65, referer: https://czasopisma.up.lublin.pl/index.php/ah/management/settings/access

One more issue with sending mails in OJS 3.1.1.4. I am afraid, there is only one option for now: it is to turn off SMTP in config.inc.php:

No one seems to know, why this happens :frowning:

My settings:

smtp_auth = ssl

Hi @Ph_We,

For what it’s worth, I do test SMTP-based sending on my local installation as part of my development workflow and it does work. That doesn’t mean it’ll work for every server – different servers have different rules.

Regards,
Alec Smecher
Public Knowledge Project Team

Alec - any idea after reading my logs?

Yes, I understand. I just wanted to draw your attention. Because it happens with different installations after upgrading to 3.1.1.4. I might be wrong, but this might not be just a coincidence as well.

Hi @karwas,

No, your logs don’t reveal anything useful – those are harmless (cosmetic) warnings. The most likely situation is that your SMTP server is accepting the messages OJS delivers it, then rejecting them later e.g. due to DMARC rules. Unfortunately when this happens the SMTP server does not inform OJS about it, so OJS is not able to e.g. keep log entries about the problem. Only the mail server can tell you why it’s not delivering messages, e.g. in its own logs.

Regards,
Alec Smecher
Public Knowledge Project Team

We ended up with SMTP = OFF :frowning:

After my testing - unfortunatelly don`t work.
I checked all configurations.
SMTP = OFF and diffrent settings.
Hmm…

Port 465:
czucz@host04:~$ openssl s_client -crlf -connect 31.131.63.10:465

CONNECTED(00000003)

depth=2 C = PL, O = Unizeto Technologies S.A., OU = Certum Certification Authority, CN = Certum Trusted Network CA

verify return:1

depth=1 C = PL, O = Unizeto Technologies S.A., OU = Certum Certification Authority, CN = Certum Domain Validation CA SHA2

verify return:1

depth=0 C = PL, CN = *.up.lublin.pl, emailAddress = rafal.magdziak@up.lublin.pl

verify return:1