changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Check slow WordPress sites with Splunk and fix them

    December 26, 2014 by The Man

    I’d thought this site was a bit sluggish, it’s a WordPress site with quite a few plugins as I often like to play with new WordPress stuff. I’m now running a Splunk server at home, again, mainly for testing and development for a new project for one of my clients. One of Splunks Apps is a web site monitor and I decided to give it a go.


    As you can see from the image above my blog was hitting the red slow response time all the time. It was time to remove some old pluggins, anything that was not being used. The after was a lot better and pages come it smother now. Some pluggins can be like toolbars, often not needed and they just slow things down.

  2. Using Google SMTP with Postfix on Ubuntu/Debian

    December 22, 2014 by The Man

    I run a few servers at home for various things including a little Raspberry Pi running Debian which emails me alerts when certain things happen. I send these to an account or an Office365 account but being a home IP I often get blocked

    “(host[] said: 550 OU-002 (COL004-MC5F2) Unfortunately, messages from weren’t sent. Please contact your Internet service provider since part of their network is on our block list.”

    So the simple solution is to add a relay host to Postfix.

  3. Upload files to OneDrive for Business from OS X Mac

    December 13, 2014 by The Man

    Well while we wait for Microsoft to come out with an official app for OneDrive for Business on the Mac there is at least a way to upload files to your 1TB of free space.

    The best way I’ve found so far is to use the super Transmit from Panic. It really is a multi purpose tool and great for all kinds of remote connections.

    Setting up is easy, just log into your Office 365 account on the web and go to your OneDrive for Business page. Copy the url which will be something like It may have some extra on the end but just don’t copy that.

    Open up Transmit and click add to add a new favourite and simply paste the url and Transmit will do the rest for you. Add your username and password and away you go.

    One note of caution uploading to OneDrive is very poor but that is a server side issue so be prepared for some frustration. Also there is, at this time, a limit of 100mb per file so anything bigger will upload… then fail – yes that’s not annoying much after waiting for a 700mb file to upload.



    Yes it seemed to easy…. if you get a 403 error “Access Denied” it’s not that you have the wrong password it’s because you need to Authenticate and stay signed in to OneDrive. So if you haven’t logged in, go to the login and where you put your password make sure you tick “Keep me signed in”. You can read more here

    I can only guess this is Microsoft’s crude way of blocking you from using your 1TB as a backup as oddly they also sell Azure backup yet you cannot use with your free space.

  4. Visual Web Developer Express 2013 or 2015 ?

    December 9, 2014 by The Man

    Well looks like Visual Studio is going through puberty… despite suggesting we were installing 2015 it was as stated further down 2013…maybe…


    And once the install was finished we seem to have twins…


    Once opened we did indeed have 2013 🙂

  5. Fix warning: database /etc/aliases.db is older than source file /etc/aliases

    November 6, 2014 by The Man

    Simply run

    sudo postmap /etc/aliases

    Then restart Postfix with

    sudo service postfix restart

  6. Gleylist spammers on Ubuntu using Postfix and Postgrey

    November 3, 2014 by The Man

    1. Hopefully you have Postfix already installed so simply install Postgres

    sudo apt-get install postgrey

    2. Edit the Postfix config file /etc/postfix/ and add or amend

    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
    reject_unauth_destination, reject_unknown_sender_domain,
    check_policy_service inet: