nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] repl doesn't like return address

2015-08-31 13:25:04
"Be conservative in what you send and liberal in what you accept"

Perhaps the most mis-interpreted aphorism of all time.

What Jon meant was "don't crash when your code encounters garbage input,"
and was written in the context of the IMPs tipping over when receiving 
invalid packets.  It *never* meant "second guess the sender's intent and 
patch accordingly."

Sigh.  While I have some symphathy with this view, it's not really about
"guessing" ... what you need to do is actually pretty clear.  And there
is some validity to the point that literally every other MUA deals with
it.  Well, it might be more accurate to say that they don't complain
about it.

From a address parsing perspective, it can be hard to distinguish between
the older "foo(_at_)bar(_dot_)com (Foo Bar)" form and the newer Foo Bar 
<foo(_at_)bar(_dot_)com>
form if you allow unquoted '.' in the latter.  But since you really need
a '@' in both, it's probably not hard in practice.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>