Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Lars-Johan Liman <liman@netnod.se>
Cc: ding@gnus.org
Subject: Re: Remove message-valid-fqdn-regexp?
Date: Sat, 06 Feb 2016 16:09:45 +1100	[thread overview]
Message-ID: <87bn7us9uu.fsf@gnus.org> (raw)
In-Reply-To: <22wptj39o0.fsf@netnod.se> (Lars-Johan Liman's message of "Sun, 15 Nov 2015 10:15:59 +0100")

Lars-Johan Liman <liman@netnod.se> writes:

> Esteemed Sirs,
>
> Can I humbly suggest that the variable message-valid-fqdn-regexp and the
> use thereof be removed from GNUS? Or possibly set to a default value of
> ".*" (or similar) so that it's open but so that limits can be imposed by
> the user, if he/she so wishes?
>
> In my view it is simply overtaken by events. Back in the day, the root
> zone "moved" very slowly. New TLDs were introduced in singles per
> decade. Having a watchdog in your mail reader made a bit of sense.
> Today, we have several new TLDs every week. Any attempt at making
> distributed _code_ keep up with such a rapidly moving target is simply
> doomed.
>
> If I read things right, the current version of the variable in the GIT
> repository lists 277 TLDs, not counting the two-letter ccTLDs. The
> current root zone (serial no. 2015111500) has 859 ... and counting.

Yeah, that doesn't seem all that useful.  

> At first thought, it may seem reasonable to replace the static list with
> a dynamic DNS lookup when the data is needed, but I would not recommend
> that, as it's far from certain that you're connected to the Internet
> when your submitting your message for delivery*. Doing the lookup will
> in that case lead to long and bothersome timeouts.
>
> Removing or totally opening it up are the only viable alternatives to
> me. Possibly, one could envisage retaining a generic syntax checker, but
> that is only practical if done _after_ any IDN** translation from u-label
> to a-label.

Well, since Emacs is also a web browser, it has to have a way to keep
track of where it's valid to set cookies.  (foo.co.uk isn't allowed to
set cookies for co.uk.)

So Emacs updates its version of 

https://publicsuffix.org/list/public_suffix_list.dat

for every release.  So Emacs should already know about all these domains
without maintaining a separate variable in message.el.

I think I'll just adjust the code to query that data instead.  That
should work, right?

(Although it would always be somewhat outdated.)

> ** I don't know if GNUS supports IDNs, but if not, it hopefully will in
> the future.

It does now.  I think support was added a few months back.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



       reply	other threads:[~2016-02-06  5:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <22wptj39o0.fsf@netnod.se>
2016-02-06  5:09 ` Lars Ingebrigtsen [this message]
2016-02-06  5:20   ` Lars Ingebrigtsen
2016-02-06 14:21     ` Lars-Johan Liman
2016-02-07  3:20       ` Lars Ingebrigtsen
2016-02-08 14:14         ` Lars-Johan Liman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn7us9uu.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    --cc=liman@netnod.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).