You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Muzammel Asghar <mu...@gmail.com> on 2010/07/02 19:36:41 UTC

[users@httpd] apache change the mail headers with the default one.

Hi guys

I am facing some strange problem, as when php mail scripts calls apache
change the actual headers and as an result i am get to much spams. Like php
mail function pass the header below

From: Jimmy@myhost1domain.com To: user@yahoo.com

But in maillogs it comes as

From: apache@myhostmachine.com To: user@yahoo.com

I can seek and found -f option for php mail script to change the From Header
and this below warning comes

X-Authentication-Warning:
myhostmachine.com: apache set sender to user@gmail.com using -f

Is there anyway in apache to pass the actual headers ? instead of
apache@localhost etc.

Kindly suggest about this.

Thanks
Muzi