Categories
Uncategorized

Postfix – qshape

Somehow I’ve only just found out about ‘qshape’. It’s a nice little tool to help show what’s going on, on a postfix based mail server. You can summarise by sender (-s) and choose the queue …. which is a bit easier than trying to spot patterns in the ‘mailq’ output.

Categories
Uncategorized

Dell XPS 13 (9300) … first thoughts

I finally got fed up with my Google Pixelbook (nice keyboard, but ChromeOS was just too annoying and it seemed to lack the ‘oomph’ when it came to using e.g. phpStorm). Anyway, I bought a i7 Dell xps 13 (9300 …. it has an i7-1065G7 processor). Random thoughts : It’s fan is quite noisy (not […]

Categories
Uncategorized

Racism / White privilege

My (ignorant) take on white privilege and racism ….

Categories
Uncategorized

fail2ban, Debian buster/10 and iptables vs nftables

Buster forces a move to nftables, unfortunately fail2ban thinks it’s still using iptables, so nothing gets blocked. To fix ….

Categories
Uncategorized

Google Titan Security Key on Linux

Fixing udev so a Titan security key works on Linux …

Categories
Uncategorized

john the ripper on crypt passwords out of postfixadmin

This might help my future self : SELECT username, password into outfile ‘/tmp/passwords.txt’ fields terminated by ‘:’ optionally enclosed by ” lines terminated by ‘\n’ from mailbox where mailbox.active = 1; and then : john /tmp/passwords.txt …. e.g. root@mail:~# john /tmp/passwords.txt Created directory: /root/.john Loaded 2327 password hashes with 2326 different salts (md5crypt [MD5 32/64 […]

Categories
Uncategorized

Arduino lights etc.

One day I’ll give up on the illusion that I actually might post something useful here. Thanks to MonkeySailor. over Christmas I did had an Arduino and some lights. But there are loads of tutorials for it (like: http://www.instructables.com/id/Arduino-Controlled-LED-Strip-Holiday-Lighting/ ) , so there’s no point in me trying to document it. Perhaps it’s time for […]

Categories
Uncategorized

Lazy wordpress updating using wp-cli.phar

Fed up installing updates to WordPress sites? Stick this in a cron job somewhere, and cross your fingers (a little)….

Categories
Uncategorized

The spam and regular expressions

I think the spammers need some help with their regular expressions….  

Categories
Uncategorized

spam (policyd-weight + excommunicado)

1. See http://github.com/palepurple/policyd-weight – I’m trying to make some changes to policyd-weight (something I’ve been using for ages) to make it more configurable and add in a GeoIP patch which I’ve seen floating around. 2. See https://twitter.com/excommunicado and http://blog.hinterlands.org/2013/11/an-update-on-communicado/ – for a DNS Blacklist you might want to use –  using excommunicado.co.uk as a RHSBL has stopped about 700 […]