I was reading yet another comentary about spam problems this morning and, as usual, mulling the issues it raised.

I had an idea, which I haven’t really given a vast amount of thought to – so it may be pants, but it is worth writing down while it is fresh in my mind – just in case.

SPF – the linking of an IP address to the domain name at the DNS to help prevent unauthorised IP addresses sending emails that claim to come from an email address.

For example, my commercial sites are set up so that the SPF record states that only my server IP address is allowed to send an email from my server. If any other IP address attempts to send an email apparently from me, then that is not a valid email.

The value of this was brought home – quite literally, when I recently updated the SPF record and tried to send some emails from my home PC.

My outbound email server was provided by my home ISP – and they check all outbound emails for SPF validity – and hence blocked all my outbound emails as my home computer IP address did not match my website domain SPF record.

That was actually a good thing – although the error message they sent back could have been a bit clearer.

Now, SPF is not the ultimate solution to spam, but it is a useful tool.

Here is the proposal.

Quite simple really, all domain names when registered must have an SPF record associated with them.

It becomes a mandatory policy.

If I buy a domain name, typically the seller would offer a basic webhosting package etc., and they would set up the SPF for their IP addresses.

When/if I migrate that domain to another webhosts – then I have to update the SPF to point to the new IP address – that is a condition of leasing the domain name.

Any domain name without an SPF (or an incorrectly configured SPF) would find it impossible to send emails as every inbound ISP would then start applying stricter controls to SPF validation.

Yes, some spammers would still set up their SPF/IP correctly – this doesn’t prevent that.

What it does do though, is target the increasing problem of so called “zombie PCs”, where a virus on a home computer sends spams on behalf of someone else. As the IP address of the home PC would not agree with the domain SPF record, then the emails would be rejected – hopefully by the outbound ISP itself.

A suitable error message sent back to the ISP’s customer warning them of the situation would also prompt them to carry out a virus scan on their PC to de-zombify their computers.

This then reduces the appeal of using zombie PCs to send spams.

Just an idea I am mulling.

What do you think?





Be the first to know what's on in London, and the latest news published on ianVisits.

You can unsubscribe at any time from my weekly emails.


This website has been running now for just over a decade, and while advertising revenue contributes to funding the website, but doesn't cover the costs. That is why I have set up a facility with DonorBox where you can contribute to the costs of the website and time invested in writing and research for the news articles.

It's very similar to the way The Guardian and many smaller websites are now seeking to generate an income in the face of rising costs and declining advertising.

Whether its a one-off donation or a regular giver, every additional support goes a long way to covering the running costs of this website, and keeping you regularly topped up doses of Londony news and facts.

If you like what your read on here, then please support the website here.

Thank you

Home >> News >> geekery