Using bash-Kung-fu to fight spam

Info: We’ll be looking into stopping spam on a postfix mail-server/network using lots of bash magic.

Background: There is actually some mathematical basis to spam (and if you don’t want to hear any of that and would just like the magic wand to aid you in making it go away, then feel free to skip further down in this article).

The hunch is, if we (the spam sending company) can get just 10% of the one billion spam messages we send clicked on or replied to (which could generate false ad-clicking revenue) or have the user give in and buy our product (even if it cost next to nothing) then we can make a generous profit.

But that’s not so great for us, the regular people that have to wade through it daily, right?

Installing Epson printer on Arch Linux

When it came time to buy a printer, I was not at all looking forward to it. I kept putting it off, because I knew for sure that trying to configure and install the needed software for a newer printer would be hell. I came to find out that it would not be that bad at all.

ownCloud, meet NAS Box ...

I have this NAS box, it’s awesome. However as more and more deivces (phone, tablet, desktop, etc ..) started to use this NAS box for storage and backups, managing all these files from command line got old, really quick. Enter ownCloud.

NAS/NFS Mounts on Arch linux (Desktop re-install).

My desktop’s hard drive died. It was sad but not detrimental to production. The current setup in place protects from such failures. While it does require two boxes to function, I’ll trade convenience for peace of mind any day.

There are three main points to this setup; security, ease of use and availability.

Click-Click-Knock, says no hard drive, ever.

This is what death looks like

My desktop/workspace requires two running machines for it to function. When I tell people this they usually find this weird, to say the least, and overly complicated. However, I can’t say I care. I’ve been through too much to care – from losing hard drives, important files, losing whole servers and months worth of work. I’ve seen it all. That all too familiar ‘click-click-knock’ sound that’s never supposed to come from your hard drive is a sound I’m familiar with and prepared for.

Saying goodbye to my passwords.txt file

First of all, I do not want to be judged for sharing this. I’m sure most people do this in some form or another. I, … I keep my passwords in one (rather lengthy) text file. There. I said it. However, the day has come, a day I did not think would ever come. Today, I opened my plain text file full of passwords, for the last time. Goodbye thesearemypasswords.txt, hello ‘Password Store’ (I promise it’s not actually called ‘thesearemypasswords.txt’, and regardless my storage is encrypted, so …).

Password management should be simple and follow Unix philosophy. With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.


After months of collecting dust, I didn’t really have anything fun or new to do with a raspberry Pi. Then after some internet inspiration I was drawn to the idea of creating a music server. I’m not sure what brought me to try this with such a small device, but once I had all the parts together, it seemed only right to give it a try.


Installing i2p on Arch Linux

I2P is an anonymous overlay network - a network within a network. It is intended to protect communication from dragnet surveillance and monitoring by third parties such as ISPs.

I2P is used by many people who care about their privacy: activists, oppressed people, journalists and whistleblowers, as well as the average person.