• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Change subscription envelope mail address

wilkis

New Pleskian
I send an email with sendmail from [email protected] to [email protected]. At the destination I received an email with [email protected] as envelope address(MAIL FROM) at the mail header. I tried sendmail and php to send a test mails and I got the same result everytime.
I can find the envelope address also at the mail log.

Are there any configuration files or something else to customize the envelope address for a subscription?
 
Last edited:
First, an observation: when you say you're using "sendmail", you are actually using a replacement for the venerable Sendmail program, provided by either Postfix or Qmail, depending on the MTA you've chosen to use within Plesk.

Also, the mail envelope and the apparent From: address can differ.

In any case, this is not really a Plesk related question and other forums and sites could provide better help, e.g.: How to change envelope from address using PHP mail?
 
Thank you, @Ales and @ChristophRo
We decided Postfix as MTA and I mean the envelope address and not the apparent From.

The sendmail -f parameter works, but it's not a really clean solution. If I enter the sendmail parameter for some subscriptions at some configuration files and I need an overwiew or I have to change the envelope address for one special domain, is made a mayhem.
 
If it's for just one subscription, you can simply use the mail.force_extra_parameters that is exposed in the GUI on the PHP Settings page of a website.


mail-extra.png
 
Back
Top