• Dear archant.co.uk, please stop spamming me

    Dear
    lifestyleadvertising@archant.co.uk life-style@archant.co.uk (22nd February 2012)
    “Bolton, Jamie” <Jamie.Bolton@archant.co.uk> (11th March 2012)
    “Blick, Sharon” <Sharon.Blick@archant.co.uk> (8th May 2012)
    and again “Blick, Sharon” <Sharon.Blick@archant.co.uk> with “Harwood, Jason” <Jason.Harwood@archant.co.uk> (30th May 2012)

    I know your company. We have advertised in your publications in the past.

    However, when you scrape web sites for contact information to send spam [1] (which also breaks the PECR regulations, but nobody cares, right?) you could at least stop sending the spam when asked. I’ve asked three times now.

    [1] the email address of ”seewebsiteforcontactdetails@rkbb… is not obvious enough?


  • Outlook Web Access – missing options

    Missing options in outlook web access? I was. I wanted to forward email from a service using Outlook Web Access but I didn’t have the option. It was simply missing. A friend had told me where to find it. I googled it and saw instructions on how to set it, but it wasn’t there. I could not see the ‘rules’ option. It was as if this account had restricted privileges.

    328-outlook web access in google-thumb-300x132-327.png

    Then I noticed, all the instructions on the internet had different colours and layouts. Was this service using a very old version of OWA? Probably… (It’s on an MOD server used for the Air Training Corps) but also… this is Microsoft Outlook Web Access and I’m using Chrome on Mac…. you wouldn’t think… surely not… Microsoft would write the web interface to only work on Internet Explorer…..

    So, I fire up parallels and Windows 7 on my Mac, open Internet Explorer, log in and the world changes. All of a sudden I have every option I’ve been reading about. Suddenly the crippled web program becomes useful. Well, useful enough to set up forwarding – now I can action the emails through my gmail account 🙂

    331-outlook in IE-thumb-300x173-330.png


  • Block web spammers by their IP address

    Every so often someone tries to post spam to this blog using a computer program. They never manage to because even if their computer does solve the captcha I manually approve every post. It’s not like there are a lot of posts here after all.

    Anyway, I’ve been meaning for a long time to work out how to ban them from accessing web pages anywhere on my server. I always knew it wasn’t difficult, just a case of reading, testing, then making a note for the future. For future me, here’s how:

    iptables is already installed and running
    as the root user, running:

    iptables -I INPUT -s 1.2.3.4 -j DROP

    where 1.2.3.4 is the IP address to block, will block the user. If it becomes an issue, I can also block ranges and subnets and things… perhaps I’ll block the whole of China which is where most of the spam attempts seem to come from but that’s not very nice to 99% of the Chinese people, one of whom may want to find out what an English red mushroom with white spots looks like.

    To check the rule has been included:

    iptables -L -n

    the -L tells iptables to list all the current rules it’s working with
    the -n tells iptables NOT to try and work out the hosts name using DNS. Whilst my own office IP will resolve quickly, spammers generally don’t bother to setup reverse DNS and the list will take ages to display.

    Another thing, I *think* I set up iptables to save it’s configuration when the server is shutdown and reload it when it starts. It certainly remembers the important rules I setup a couple of years ago. However, I’m not really worried if it forgets these IP blocks as I don’t have to do it very often.

    While I’m here, I haven’t blogged at all lately. I’ve been very busy working on our new business web site (which will be at www.rkbb.co.uk sometime very soon). I thought it would only take 2 weeks over christmas to do but it’s turned out to be harder and more complicated. It’s been fun though, so not long and I’ll be able to write about thinks like the arduino based water flow meter I built for work (that was tough and fun too!)


Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories