6 ms·
One (probably forgotten) reason people validated email addresses with convoluted regexps is that there are multiple (actually valid per RFC) email addresses for
by glandium 9y ago
One (probably forgotten) reason people validated email addresses with convoluted regexps is that there are multiple (actually valid per RFC) email addresses formats that can do nasty things. Like explicitly specifying a series of mail servers to go through. They're (hopefully) deprecated and rejected by most servers nowadays, though.
- snakeanus 9y ago> hopefully Why?
- contras1970 9y ago> By default, this feature is turned off. This closes a nasty open relay loophole where a backup MX host can be tricked into forwarding junk mail to a primary MX host which then spams it out to the world. http://www.postfix.org/postconf.5.html#allow_untrusted_routing http://www.postfix.org/postconf.5.html#allow_untrusted_routi...