Bug #12385 Updated: getmxrr returns an invalid false message when...
| From: | andy@php.net | Date: | Thu, 26 Jul 2001 06:25:01 +0000 |
| Subject: | Bug #12385 Updated: getmxrr returns an invalid false message when... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61033@lists.php.net to get a copy of this message | ||
ID: 12385
Updated by: andy
Reported By: willwong@samurai.com
Status: Open
Old Bug Type: Mail related
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.0.6
New Comment:
reclassified
Previous Comments:
------------------------------------------------------------------------
[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