Articles

Maildir deduplication script in Python

Some months ago I wrote a tiny Python script which scan all folders and sub-folders of a Maildir, then remove duplicate mails. You can give the script a list of email headers to ignore while it compares mails between each others. This is particularly helpful to find duplicate mails having …
➟ Read more


QLC effects generator for LED panels

Here is another script I wrote some months ago. It’s called qlc-effects-generator.py . It’s a quick and dirty hack that generate chasers, groups and scenes for QLC (a QT-based DMX lighting software) . It just produce XML statements you copy’n’paste in your .qxw QLC workspace file …
➟ Read more

Blocking e107 dDOS attack with fail2ban

Last month, a new security vulnerability was discovered in e107. If a fix was released quickly , some instances on the web were left unpatched. These sites are easy target for hackers script-kiddies, and a generalized dDOS attack was carry out on every e107 websites out there. I’m no exception …
➟ Read more

Exim commands

List mails in the queue: $ exim -bp View headers of a mail: $ exim -Mvh View body of a mail: $ exim -Mvb Remove a mail from the queue: $ exim -Mrm Remove all frozen mails in the queue: $ exiqgrep -z -i | xargs exim -Mrm
➟ Read more