Erethon’s corner

Random thoughts of mine

NotMuch is awesome

Mar 17, 2015

In one of my previous posts, I explained my email setup in detail. Since then I’ve added one more piece of software on the “stack”. It’s called NotMuch and it’s an email indexer. After email is saved locally, thanks to offlineimap, it gets indexed by NotMuch in order to be searchable. NotMuch supports tags, uses Xapian for searches which means it supports stemming and is super quick and lightweight. I’ve integrated mutt with NotMuch using the notmuch-mutt package on Debian, mutt-notmuch-py (although this can be done in many - simpler - ways) and a couple of lines on my .

My email Server Setup

Mar 11, 2015

Wanting to have more control over my email, I decided to setup my own mail server. I thought I had a pretty good understanding of how mail works, considering my mutt/offlineimap/imapfilter setup, but I must say I was pleasantly surprised while setting everything up. For my setup I decided to go with a typical postfix/dovecot installation. I used a Debian KVM machine from Prometeus, which is based in Italy and, as far as I understand, is under the Italian jurisdiction, with 512MB RAM and a 25GB SSD which ought to be enough for my needs.

My mail setup using Mutt/OfflineIMAP/imapfilter

Feb 27, 2015

Update 17/03/2015: I’m also using NotMuch now, for more info check out this post. Update 2/6/2015: I’ve added msmtp to the mix, check out my new post about it. This is part of a series of posts where I describe my workflow and OS setup. I use email a lot both in work and my daily life, so I want/need to have a lot of control on my mail. I use IMAP for getting my email for all my accounts and SMTP to send mails.

Kippo findings round two

Dec 28, 2014

It’s been over a month since I set up twelve Kippo hosts using my Ansible playbook, time to get some stats. Total Login Attempts: 4279170 Total Unique IPs: 5439 Total Unique Passwords: 383182 Total Unique Usenames: 3577 Total Unique Files Downloaded: 28 And here’s a pipal analysis. Total entries = 4272225 Total unique entries = 389335 Top 10 passwords admin = 5644 (0.13%) 123456 = 2747 (0.06%) root123 = 2678 (0.

Deploying Kippo with Ansible

Nov 25, 2014

I’ve been running some instances of Kippo for quite some while now with great results. I recently wrote an Ansible playbook to automate the process of deploying Kippo hosts and also make it scalable. You can find the playbook on my GitHub page, specifically here. In a nutshell, the playbook will deploy a central database for all the Kippo hosts to log incoming attacks and then deploy a number of Kippo hosts.

My tmux config and a small tmux primer

Nov 13, 2014

It’s been a little over a month since I started using tmux. Below, I’ll try to explain most of my .tmux.conf, a bit of my current workflow using awesome + tmux and various cool stuff you can do with tmux. My latest .tmux.conf can be found on my dotfiles repo on GitHub. Tmux config file unbind C-b set -g prefix C-a As most people, I’m using C-a as my bind key.

Updating tmux without 'killing' active sessions

Oct 10, 2014

I’ve been using tmux for a while, and even though I didn’t like it at first, now I’m in love with it. I’m mostly using it as a GNU Screen alternative, but I don’t use some of its fancy features like tabs, mainly because my window manager takes care of multiple terminal windows for me. After a while, I got bored of starting a tmux session and configuring it every time, so I decided to give tmuxinator a try.