Thursday 29 July 2004

Free SPF Filter for Microsoft Exchange

Found a cool filter for Exchange that allows SPF filtering.  This filter will become part of GFI mail essentials but at the moment is freeware!

It filters incoming mail and also tags the header.

Here's an eventlog picture:
(Oops - I lost it when I moved my blog - Sorry!)

Here's a header entry:
Received-SPF: none ( is neither permitted nor denied by domain of client-ip=;;;

SPF Testing

This is a good site to test your SPF records to see if they are correct:


Had a play with SPF (Sender Policy Framework) today. Enabled outbound SPF by creting the following DNS record for my domain ( at

TXT "" "v=spf1 mx -all"

This means that for "" only (my ISP relay server), (my exchange box) and and servers marked in my mx records are allowed to send mail from my domain.

This is of course only enforced by receiving smtp servers that also use SPF. Now if only I could get to create this for my work domain we would be seeing a reduction in domain spoofing.

Wednesday 28 July 2004

v5 Windows Update

Had a play with the new V5 windows update site which is being used to distribute Windows XP SP2 RC (amongst others).  It will only accept valid product keys so if you've used a pirate key or a self generated key then you're out of luck!

Change Windows XP Product Key

Here's a neat script to change the Windows XP VLK Product key on an SP1 machine.

Save it as VLKeySP1.vbs and run it as "cscript VLKeySP1.vbs enter-your-new-product-key-here"

' WMI Script - ChangeVLKey.vbs
' This script changes the product key on the computer
if Wscript.arguments.count<1 then
   Wscript.echo "Script can't run without VolumeProductKey argument"
   Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX"
end if
VOL_PROD_KEY = Wscript.arguments.Item(0)
VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any
for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation")
   result = Obj.SetProductKey (VOL_PROD_KEY)
   if err <> 0 then
      WScript.Echo Err.Description, "0x" & Hex(Err.Number)
   end if

Office 2003 SP1 Available

It's up for download at:
Also SP1 for Onenote and an updated Spam filter for Outlook are there.

Tuesday 27 July 2004

A few problems

Time is wrong (despite changing time settings in web.config) and I need to edit the descriptions...
Time to edit web.config.
It wasn't web.config - It was in the admin/options pages.
Title, my display name and time should now be correct.

Blog off the ground!

I've managed to configure my server using the .text blog application from Installation was pretty sweet except I needed to modify the example connection strings. They needed to have "Trusted_Connection=true" added.

Because I'm only running a single blog I had to make sure that the application name used in DotTextHelper was null, i.e. "" instead of MyBlog.

Final problem was that the new virtual directory did not have an aspnet_client. I just created a virtual directory pointing to wwwroot\aspnet_client.

I'm going to try linking this to Newsgator later.