#25344 [Opn->Csd]: regular domain 'localhost.com' used in php.ini
| From: | sniper@php.net | Date: | Mon, 01 Sep 2003 16:26:18 +0000 |
| Subject: | #25344 [Opn->Csd]: regular domain 'localhost.com' used in php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47019@lists.php.net to get a copy of this message | ||
ID: 25344
Updated by: sniper@php.net
Reported By: arzie at gmx dot de
-Status: Open
+Status: Closed
Bug Type: Mail related
Operating System: Win32
PHP Version: Irrelevant
New Comment:
Changed to "me@example.com" and commented the option out.
(people REALLY should modify php.ini :)
Previous Comments:
------------------------------------------------------------------------
[2003-09-01 10:46:56] arzie at gmx dot de
Description:
------------
php.ini-dist and php.ini-recommended contain following bad line:
sendmail_from = me@localhost.com
The domain localhost.com is a regular registerd domain and shoud not be
used as default from.
You should change that line to:
sendmail_from = me@example.com
(see also RFC 2606)
The main problem is, that some smtp server reject this 'from' because
localhost.com and ghost.localhost.com (MX)gets resoved to 10.11.12.13
which is a LAN-IP Adress.
Another problem are bounces caused by users passing a non existing
email address to a web formular.
I'm sure you can think of many more examples ;-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25344&edit=1