3 ms·
If using IPs in an email address you are supposed to surround it with square brackets anyway. I wouldn't add IP address support to an email regex because I'd r
by syncsynchalt 13y ago
If using IPs in an email address you are supposed to surround it with square brackets anyway.
I wouldn't add IP address support to an email regex because I'd rather turn away such perverse data anyway. Nobody uses IP-based email addresses.
- claudius 13y agoA square bracket, however, is not a dot (which is for what the original regexp checked). And I just tried sending an email to me@[my.ip.addr.[0]]. Postfix somehow recognised it was for this local host, but failed because it wasn’t part of the virtual domains I had put into it. ‘perverse’ seems to be somewhat appropriate. [0] Sorry, too lazy to check the appropriate documentation IP address ranges. 20db?