• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved Change subscription envelope mail address

wilkis

New Pleskian
I send an email with sendmail from noreply@super.example.com to hello@mycompany.com. At the destination I received an email with subscriptionuser@plesk.example.com 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