drupal core 7.x-dev (2011-Jan-19)

Creating new account following message comes up to requester:

* Warning: mail(): Policy restriction in effect. The fifth parameter is disabled on this system in DefaultMailSystem->mail() (line 77 of /customers/X.x/X.x/httpd.www/modules/system/system.mail.inc).
* Warning: mail(): Policy restriction in effect. The fifth parameter is disabled on this system in DefaultMailSystem->mail() (line 77 of /customers/X.x/X.x/httpd.www/modules/system/system.mail.inc).

Is this a bug? Or how do I fix it?

Comments

Kirk’s picture

Google gives a potential fix to what you describe here http://drupal.org/node/131737#comment-3226568

cord1’s picture

Solution for me:
modules/system/system.mail.inc line 74
remove comma behind $mail_headers
line 76 comment out '-f ' . $message['Return-Path']

I get no more warnings.