Yii Framework Forum: Does Email Validation Mx Fallback To A Record? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Does Email Validation Mx Fallback To A Record? Rate Topic: -----

#1 User is offline   foftoogs 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-May 13

Posted 16 May 2013 - 07:10 PM

Just wondering if the email validation option checkMX when used in conjunction with checkPort falls back to using the main A record for the domain to check if port 25 is open?

Does it just fail when there is no MX record and does not even bother checking the port?

I know this sounds strange but I was reading on stack overflow that some MTAs are configured to try the A record if no MX record exists for the domain.

stackoverflow.com/questions/1666807/email-validation-mx-lookup

(won't let me post links so just imagine this has a preceding h t t p :P )

In my 10+ years of server admin I have not seen this behavior from an MTA but must admit I didn't know it was even done. As far as I understood it MX records are what are checked by the MTA "out of the box".

Could anyone say for certain that this practice is still a common place? To configure your MTA to use the A record if no MX exists?

en.wikipedia.org/wiki/MX_record#History_of_fallback_to_A

Cheers,
Geoff T
0

#2 User is offline   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,628
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 17 May 2013 - 02:33 AM

/* Moved to Miscellaneous */
Don't forget to read The Definitive Guide to Yii (en) (sv) | The class reference has the details
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users