Server config
- Linux release 7.7.1908
- PHP v7.2.25
- NginX
- Postfix
- Removed mailx command
- open Cart 3.0.2.0
This configuration nearly identical setup on other servers sets the From and Reply to correctly. On this one, the From: and Reply-to: fields are set to Linux release 7.7.1908
From: "Nginx web server" Return-Path:
PHP.ini
- sendmail_path = /sbin/sendmail -t -i
- mail.force_extra_parameters = -fuser@domain
I have no idea where the nginx@name.domain in the from and return-path are being set, AFAIK, -fuser@domain should force the from and return-path to user@domain.
AFAIK, NginX is not running as a mail/smtp proxy.
Is this an NginX, Postfix, OpenCart or PHP issue and how can I fix it.