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

Blants (noun) the rants of a blogger

  1. Sometimes I wonder if spammers are really putting their heart into their work

    April 4, 2015 by The Man

    I’m not really sure anybody tried too hard when writing this spam message…

    Screen Shot 2015-04-02 at 09.55.11

  2. Start Postfix on Yosemite

    April 2, 2015 by The Man

    Simple really and more as a reference when I forget

    sudo launchctl start org.postfix.master

    However this will only last for 60 seconds unless you have “fixed” your version of Postfix.

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

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

  5. Wake on Tweet – because you never asked for it…

    December 30, 2014 by The Man
    Wake on Tweet

    Wake on Tweet

    tl:dr Just send a tweet with the hashtag #wakeonlan and a properly formatted mac address like AA:BB:CC:DD:EE:FF, an ip address or FQDN and a port number and that is it. Easy.

    It all started a few weeks ago when I was looking at Slack to use at a clients site so we could integrate more. If you haven’t tried Slack I would highly recommend taking a look – it’s WhatsApp for groups with a steroid injection of crazy fun stuff for developers. One of those fun things are hooks where you can define actions when things happen. So I have Slack hook alert to a group called #twitter whenever a tweet mentions @depicus it would call a webpage on a server. Sadly the info Slack passes wasn’t enough for me as it doesn’t include the message body of the tweet. So sadly my brave idea of Wake on Lan via Twitter died….


  6. Ubuntu network setting – because I always forget

    December 26, 2014 by The Man

    This is just so I can remember how to do it.