symfony/symfony — Issue #2827: [Validator] e-mail validator should support less strict mailhost checking 
Author: kmohrf
Created: 2011-12-09 11:42:17+00:00
State: open

moep,

currently the e-mail validator supports an option called checkMX. while this is fine most of the time some hosts that actually provide a smtp server on one of their hosts dont supply an mx record for their domain but rely on the fact that mailservers will fall back to the host specified with the a record.

even though i consider not defining an mx record a _very_ bad practice this is rfc (2821) compliant. my suggestion is adding another option to enable a less strict checking behaviour that enables the validatorcomponent to check for both, MX RR or A RR.

if nobody raises his hand for not implementing this i will create a patch this weekend.

konrad :)