Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Many mail servers are lenient when it comes to this misconfiguration and will deliver mails nevertheless, so this may stay undetected. I happen to use a mail server that is less forgiving (Courier), and every now and then I cannot send a mail due to this.

Sorry man but this sounds like a "you" problem. You probably need to fix your mail server or get a new one.



There's two ideal ways to deal with this:

1. Accept that the new standard is that ip addresses should be supported, and write a new rfc document with that change. 2. Encourage people to not support this.

Simply asking all mailservers to support this non-standard feature (or de facto standard) is arguable the worst outcome, because now every mail server implementer is expected to implement the standard + a bunch of institutional knowledge.

Luckily with mail there's a lot of incentive to set things up correctly, because getting parts of it wrong likely results in a higher number of emails going to spam.


There’s also the option to tell them that “you shouldn’t do it this way, but I’m going to tolerate it ... for now.”

I made up the tongue-in-cheek HTTP 397 for this case:

https://pastebin.com/TPj9RwuZ


The problem with this is if a few popular servers are lenient, people are going to start relying on this lenient behavior.

More people relying on this means more servers will have to start supporting this bug and you end up with the 'worst case' again.

Being strict if you can tolerate it is usually the better option.


I agree. But if all email servers ignore the rfc to cater for real world issues then at some point a new rfc would also make sense.


And here we see someone exemplifying why Gresham's Law trumps Postel's Principle. Bad protocol implementation drives out the good because of exactly this sentiment.


Is it really a sentiment, or a fact? If you want to be strict in what you accept, you have to be ok with rejecting stuff that would work, but isn’t strictly conformant.

You can lament that is the case, but it is just the way it is.


It's valid to choose to use strict standards-conforming software. It's quite arguable that such lenient mail servers are broken in this fashion, since the spec requires a domain (and thus IP addresses are not valid in MX records).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: