...

View Full Version : Removing "X-Source" from sent mail



bauhsoj
02-13-2006, 06:06 PM
I have noticed that all emails sent using PHP have the following email headers:
X-Source: /usr/bin/php
X-Source-Args: /usr/bin/php email_script.php
X-Source-Dir: /public_html/email_dir

This presents a security concern as certain directories and scripts should never be known to anyone but myself.

How can I prevent those "X-Source" headers from being sent with the email?

Thanks!

felgall
02-13-2006, 09:14 PM
They are either being added by your PHP code or by the mail program that it is calling. If it is the PHP then simply don't add those headers. If the mail program then you will need to talk to your host.

bauhsoj
02-13-2006, 09:23 PM
They are not added anywhere in our code.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum