Hi all,
I have to put a directive for domain for sending emails using a header with a different domain.
But plesk change the header.
Domain: mydomainA.com
PHP function set this header: [email protected] but Plesk change it by the default [email protected].
So i've found this: https://support.plesk.com/hc/en-us/...n-are-rejected-on-some-recipient-mail-servers
But if i add the following line to the additional configuration directives:
sendmail_path="/usr/sbin/sendmail -t -i -f [email protected]"
I've this error:
Configuration Apache invalide : AH00526: Syntax error on line 1 of /var/www/vhosts/system/mydomainA.com/conf/vhost_ssl.conf: Invalid command 'sendmail_path="/usr/sbin/sendmail', perhaps misspelled or defined by a module not included in the server configuration
And there isn't directory "conf" in /var/www/vhosts/system/mydomainA.com/.
How can i solve the problem?
Is there another way to impose a header or disable Plesk header by default for a domain?
Thank you
Erwan
I have to put a directive for domain for sending emails using a header with a different domain.
But plesk change the header.
Domain: mydomainA.com
PHP function set this header: [email protected] but Plesk change it by the default [email protected].
So i've found this: https://support.plesk.com/hc/en-us/...n-are-rejected-on-some-recipient-mail-servers
But if i add the following line to the additional configuration directives:
sendmail_path="/usr/sbin/sendmail -t -i -f [email protected]"
I've this error:
Configuration Apache invalide : AH00526: Syntax error on line 1 of /var/www/vhosts/system/mydomainA.com/conf/vhost_ssl.conf: Invalid command 'sendmail_path="/usr/sbin/sendmail', perhaps misspelled or defined by a module not included in the server configuration
And there isn't directory "conf" in /var/www/vhosts/system/mydomainA.com/.
How can i solve the problem?
Is there another way to impose a header or disable Plesk header by default for a domain?
Thank you
Erwan