ID: 12385 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] reclassified ------------------------------------------------------------------------ [2001-07-25 22:27:09] [EMAIL PROTECTED] 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