ZF-4901: MX-Check makes not too much sence - Mailserver may accept Mails without MX-Records

Issue Type: Improvement Created: 2008-11-11T04:08:07.000+0000 Last Updated: 2010-05-18T04:56:25.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Marius Mühlberger (tracer) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:


Nice Feature, but according to RFC 2821 Chapter 5, a mailserver which is correctly configured must not have a MX-RR. Checking such a Server with Zend_Validate_EmailAddress::setValidateMx() may result in a negativ Result, but the Server may receive e-mails. Due too this reason the MX-Check does not really make sence.

"If no MX records are found, but an A RR is found, the A RR is treated as if it was associated with an implicit MX RR, with a preference of 0, pointing to that host." (see


Posted by Wil Sinclair (wil) on 2008-11-25T12:47:59.000+0000

I think this is actually an improvement to the code, not the docs.

Posted by Thomas Weidner (thomas) on 2009-09-01T14:46:11.000+0000

I just added a complete rework of Zend_Validate_EmailAddress... this feature has also been added to incubator for tests.See SVN r17945 for details.

Posted by Thomas Weidner (thomas) on 2009-09-09T13:00:38.000+0000

Implemented with r18050 for ZF 1.10

Posted by Andy Thompson (at465) on 2010-05-18T04:56:23.000+0000

This issue is not resolved in 1.10 or trunk, a domain with a RR record and not an MX record will still fail. It looks as though it was not implemented.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.