hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : "wrong" <return-path>: apache + sendmail + php
Closed Thread

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

"wrong" <return-path>: apache + sendmail + php

Closed Thread Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2004, 02:28 AM
rubysky rubysky is offline
Newbie
 
Join Date: May 2003
Posts: 29

"wrong" <return-path>: apache + sendmail + php


problem:

when user send email from our php webpage, the <return-path> of the out-going mail is always <apache@domain.com>

what is the general good practise to change this value from "apache" to the "reply-to" or "from" value?

thanks!

RS.



Sponsored Links
  #2  
Old 01-07-2004, 03:26 AM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
Look at the php manual mail function example 3:
http://www.php.net/manual/en/function.mail.php

You just add the "-fyourreturnemailaddress" as shown in the example 3.

__________________
Giam Teck Choon
:: Join choon.net Community today to share your tips and tricks on server issues please ::
:: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::


  #3  
Old 01-07-2004, 03:58 AM
rubysky rubysky is offline
Newbie
 
Join Date: May 2003
Posts: 29
thanks choon!

is it possible to tweak this parameter such that i can substitute the bounce mail account (-f) dynamically with the senders email address? since it is a webform type of setup and user will be entering their email address when sending emails.

RS.

Sponsored Links
  #4  
Old 01-08-2004, 07:55 AM
choon choon is offline
Retired Moderator
 
Join Date: Jul 2001
Location: Singapore
Posts: 1,790
Possible and read at the PHP manual which the link I have posted previously.

__________________
Giam Teck Choon
:: Join choon.net Community today to share your tips and tricks on server issues please ::
:: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::


  #5  
Old 01-09-2004, 02:14 PM
rubysky rubysky is offline
Newbie
 
Join Date: May 2003
Posts: 29
Smile

oh yes! all info i need are in the thread you have previously pointed me to! i should learn how to read better next time..

thanks again!

Closed Thread

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?