Ketil Froyn
Ketil Froyn's blog
Scriptlets by Ketil Froyn
Here you will find a couple of more or less useful small scripts that I
have created to solve some minor tasks.
- dspam-sigs.pl - Perl script that reads
many mails on stdin and calls dspam with each signature found.
- multilog2apache - Perl script that is
useful if you use multilog to write
and rotate your apache logs.
- dg834g-mrtg.pl - Perl/wget script that
collects sent/received packet statistics from the web interface of a
Netgear
DG834G ADSL Router, and prints it out in the format required by MRTG.
- stmextract.pl - perl script that tries to
wrench some emails out of an Exchange 2000 (and newer?) database (doesn't
extract attachments) and save them in a maildir. Good for emergency recovery, this is useful if
you need to salvage what you can as fast as possible. It doesn't
edit the .stm file, so you can do this while you try other methods
as well. As far as I know, it will only work with Exchange 2000 (and
newer?) which has the streaming database (ie. priv1.stm), and probably
not Exchange 5.5 and older. You will find more information in the perl
script.
(C) Ketil Froyn, 2004