Press "Enter" to skip to content

Day: 19 July 2003

Blog: So How Did I Do It?

Some of you may have noticed that my Blocking Free Email Domains post appeared, then reappeared as “Post deleted” and then reappeared properly – and I think an explanation is in order.

Basically, that post lists over 12,000 domain names that provide free email addresses (i.e. like Hotmail and Yahoo) but the content management system I use for my blog – MovableType – doesn’t accept posts over a certain size (no, I’m not sure what the maximum post size is: all I know is the domain name list got truncated mid-way through the “d’s”).

So how did I work around it? Basically, I uploaded the body of the post (which includes the list of domain names) into a “storage/holding/cache” area of the blog’s webspace (which also holds things like cached adverts – the mini “guess that movie” sidebar generation system etc etc) and then just used a PHP include_once command to make the list appear “inline” of the post.

However, if you do do this yourself, there is something you should be aware of. It’ll break your site’s search functionality (including the auto-highlight functionality provided by MT- Ref Search) – not a major biggie, but something you should be aware of.

Techy: Blocking Free Email Domains

Ever had to block “free” email address domains (such as Yahoo, Hotmail, Mail.com etc) but couldn’t find a source of the domains used? Well, since I needed to do a very similar thing – I managed to get a little list compiled: it’s only got 12,302 domains on it, so it’s not too comprehensive yet and it doesn’t really cope well with the “free subdomains” systems (you know the anything@yourname.example.com style free addresses), but it’s a start.

If anybody has any more contributions to the list, please feel free to add them as a comment – or, if you’ve got a really long list and don’t want to bother merging them/checking them against the list here – just leave a quick note and I’ll contact you about it.

(For those of you reading just the “summary” of this post – you’ll have to read the full article for the long list of domains):