• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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