Message envelope show account name?

yapadu

Verified User
Joined
Jun 26, 2009
Messages
38
I recently switched from Plesk to DirectAdmin.

I've noticed a few differences in the email, that I don't care for and would like to know how to get rid of these features.

- When sending a message from the webserver, the envelope-from attribute is being added. I am specifying a from address like this:

[email protected]

But someone (Exim?) is adding the envelope address like this:

Received: from apache by s5.hbi.com with local (Exim 4.69)
(envelope-from <[email protected]>)
id 1Mn7bf-00032j-Uw; Mon, 14 Sep 2009 09:12:19 +0000


Bounces etc. will go back to the [email protected] account, which is the account name for the domain (and default mailbox, which can not be deleted).

How can I have the envelope-from address what I want, not the account name?


Thanks!
 
Please be a bit more clear; it's doubtful that the webserver is sending the email. Do you mean PHP? If so, are you sending it via direct call to exim (the sendmail interface) or by port 25 injection on localhost?

I believe that if you tell exim.conf that the user is a trusted sender, that that header will go away.

Be sure to restart exim after you make any changes to exim.conf.

Try it.

Jeff
 
Yes, I am doing it from PHP - specifically PHPMailer.

I will try and find the trusted sender details, failing that I can probably have phpmailer connect to port 25 and send which should get rid of the false header information.


Robert G.
 
Back
Top