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

Blants (noun) the rants of a blogger

  1. Change Postfix port number

    March 31, 2015 by The Man

    Sometimes you want to send out but not have every spammer try and send you rubbish on port 25 so changing to a non standard port helps with automated spammers.

    First edit the config file

    sudo nano etc/postfix/

    and find the line

    smtp inet n – n – – smtpd

    and change to

    9876 inet n – n – – smtpd

    and then save and restart Postfix

    sudo service postfix restart

    then if you need to check simply grep

    netstat -tanp | grep 9876

    which should give you at least a line like this

    tcp 0 0* LISTEN

  2. Stop Ubuntu/Debian apt-get from using ipv6

    December 31, 2014 by The Man

    Today I had a problem with apt-get using ipv6 and timing out. The answer is simple, you can force ipv4 if required.

    sudo apt-get update -o Acquire::ForceIPv4=true

    Might not solve my issue that the servers appear to be down but hoehum…

  3. 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.

  4. 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

  5. Paypal – People Rule – But Not To Paypal

    October 15, 2014 by The Man

    We have all seen the ads with the fucking annoying catchline at the end … “people rule” well as like most marketing this is just bullshit.

    If you are a tech nerd like me you will be aware that POODLE SSLv3 was compromised and there is no fix. Ok I understand this is an issue and sites would need to update but would you update your site and cut off your existing clients. No, not unless you are a complete and utter fuckwit. In this day and age we have such things as e-mail, Twitter, Facebook and some people even have their own web sites. Yet Valerio D’Alessio our “PayPal Integration Engineer” thought it was enough to announce the change here.

    This article gives no hint at a fix, simply “In the coming days, we will remove support for SSL 3.0” – No shit Sherlock you have already removed it both on the test site used in your own php framework and at 11am that day on the live site. So now my clients have lost the ability to take payments and I’m scrambling to try and fix an error I have no idea how it was introduced. So half a day wasted and thank god for StackOverflow otherwise I’d have ripped out more code.

    So rude email to Paypal, a few tweets and a Facebook post yet no reply let alone an apology. Indeed my Facebook question was deleted, never a good sign.

    As a footnote this is the comments section of their “blog” come critical news update system. Would you trust your money with these people because they really don’t rule.

    Screen Shot 2014-10-15 at 14.07.04

    Update Just had a call from one of our account managers with an apology – seems they were not fully aware either – which I appreciate – but she has escalated my concerns to the higher ups.

    The lessons: if you annoy developers they will start to look at alternatives and I’m starting to look into Amazon and Google systems, will they be any better ? Maybe not but there is a limit to how many times you can piss a person off.

  6. Add Nike to websites who don’t understand technology.

    October 4, 2014 by The Man

    There is nothing that annoys me more than web sites who don’t understand what constitutes a valid email address but it get’s 100 times worse when they allow you to change your password but when you log in you are met with this…..

    Screen Shot 2014-10-04 at 22.53.45

    So now waiting for their support on Twitter to get back to me…. not holding my breath. Bye bye Nike Running I suspect.