php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25344 regular domain 'localhost.com' used in php.ini
Submitted: 2003-09-01 10:46 UTC Modified: 2003-09-01 11:26 UTC
From: arzie at gmx dot de Assigned:
Status: Closed Package: Mail related
PHP Version: Irrelevant OS: Win32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: arzie at gmx dot de
New email:
PHP Version: OS:

 

 [2003-09-01 10:46 UTC] 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 ;-)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-01 11:26 UTC] sniper@php.net
Changed to "me@example.com" and commented the option out.
(people REALLY should modify php.ini :)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC