Bug #12385 Updated: getmxrr returns an invalid false message when...
| From: | jimw@php.net | Date: | Sat, 27 Apr 2002 19:43:48 +0000 |
| Subject: | Bug #12385 Updated: getmxrr returns an invalid false message when... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6291@lists.php.net to get a copy of this message | ||
ID: 12385
Updated by: jimw@php.net
Reported By: willwong@samurai.com
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.0.6
New Comment:
getmxrr() returns mx records. the standards simply indicate where to
send mail when there is no mx record, which is outside the scope of
what this function does.
Previous Comments:
------------------------------------------------------------------------
[2001-07-26 02:25:01] andy@php.net
reclassified
------------------------------------------------------------------------
[2001-07-25 22:27:09] willwong@samurai.com
getmxrr is designed to return a list of mx records found for a host.
According to smtp rfcs, if no mx records are found, then the hostname's
A record is considered to be the lowest mx.
Take for example the following hostname:
genet.sickkids.on.ca
This is a separate zone which does not have any MX records. It has an
A record and that suffices for people to receive email on that
hostname.
getmxrr should be changed so that it should also return true if:
no mx records are found, BUT an A record exists for the hostname.
Why?
Because smtp rfc's state that if there are no mx records, the A record
should be considered to be the lowest priority "mx" record.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12385&edit=1