On Wed, 1 Feb 2006 19:46:49 -0500, Andrew Cohill cohill@designnine.com wrote :
I am managing several Drupal sites, and the hosting service has shut off email from 'nobody' as a security risk.
This breaks registration, password resets, notify, contact, and any other feature that sends email.
There are a variety of confusing and possibly conflicting recommendations on the Drupal site about this problem. Most involve multi-step patches to each site, which becomes very difficult if you are managing multiple sites.
Is the an "approved" way to deal with this problem?
If you are hosted on Linux/BSD and your site is using the sendmail binary or equilivent on the server to send mail you can use the additional parameters option to use the sendmail -f option to force your envelope sender to something other than the web-server user.
Pat
I am managing several Drupal sites, and the hosting service has shut off email from 'nobody' as a security risk.
This breaks registration, password resets, notify, contact, and any other feature that sends email.
Can't you use an mail-from in setting.php like this : ini_set("sendmail_from","webmaster@domain.com");
On Feb 1, 2006, at 9:07 PM, Nicolas Tostin wrote:
I am managing several Drupal sites, and the hosting service has shut off email from 'nobody' as a security risk.
This breaks registration, password resets, notify, contact, and any other feature that sends email.
Can't you use an mail-from in setting.php like this : ini_set("sendmail_from","webmaster@domain.com");
I tried this and still did not receive any email (did use a valid email domain).
My hosting service has suggested recompiling Apache with phpSuexec, which he says would solve the email problem but also changes the allowable level of file permissions, which sounds like it could affect Drupal's ability to write to sub-directories like /files.
Has anyone else done this? What problems have you encountered?
Thanks, Andrew
------------------------------------------------- Andrew Michael Cohill, Ph.D. President
Design Nine provides telecommunications master planning services and telecommunications and broadband project management.
Visit the Technology Futures blog for frequently updated news and commentary on technology issues. http://www.designnine.com/news/
http://www.designnine.com/ Blacksburg, Virginia Voice: 540.951.4400 Cell: 540.320.4406