Set the return path for e-mail sent by a web server

By Benjamin Melançon
on 10 Jan
0 comments

Key words and phrases

return path for e-mail sent by webserver web server set from address email debian web server set from address email debian www-data sends mail e-mail fix

Tags

Description

#
#ServerAdmin webmaster@host.some_domain.com

this is set for us, but apache process (Linux user www-data) still is sending e-mail as www-data@domain.name

nada:
Won't send email
http://drupal.org/node/103092

help with drupal sending mail
http://drupal.org/node/11570

I think I've identified our problem:

php mail() set from address

http://us2.php.net/mail

problem is a bad return-path of www-data@domain.name

http://www.freesoft.org/CIE/RFC/822/28.htm

There's a module for that...

http://drupal.org/project/returnpath

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.