A function similar to Perl’s die() in bash

This is maybe a bit silly, but Perl has a die() function that is really handy for quitting a script with an error message. And I kind of miss it in Bash. So it can be defined with this simple one-liner: function die { echo $1 ; exit 1 ; } And then it can [...]

Altering the Message-ID header in Thunderbird for non-spam detection

TL;DR In this post, I suggest manipulating the Message IDs of outgoing mails, so that legit inbound replies to my mails are easily detected as non-spam. I also show how to do this with Thunderbird (Linux version 91.10.0, but it works with practically all versions, I believe). Briefly about Message-ID Each email should have a [...]