• ReiserFS tuning for Qmail

    Found this (Broken link http://www.jedi.claranet.fr/reiserfs-tuning.html) page while searching for reiserfs info. looks interesting.


  • Solaris init states

    just because i can never remember them

    • 5 is reboot
    • 6 is power-off


  • Setting up Spam Assassin with qmail

    Rather than using the qmail-queue patch and qmail-scanner to get Spam Assassin working with qmail this (Broken link http://bluesine.com/view?p=debian_qmail) page suggests replacing qmail-queue with a simple sh script.

    Seems to work on our internal work server, but of course you would need to put qmail-scanner in to check for viri.


  • Spam Assassin Web Configuration tool

    This is quite a nice web config generator for Spam Assassin.


  • Installing Spam Assassin on osX

    Ben Trott from MoveableType has written a usefull how-to on installing the assassin on osX.


  • OSX System Tuning

    If you need to increase shmmax or a similar parameter in the Darwin (Os X) kernel edit the file:

    /System/Library/StartupItems/SystemTuning/SystemTuning
    

    You are looking for lines like:

    sysctl -w kern.sysv.shmmax=4194304
        sysctl -w kern.sysv.shmmin=1
        sysctl -w kern.sysv.shmmni=32
        sysctl -w kern.sysv.shmseg=8
        sysctl -w kern.sysv.shmall=1024
    


  • Ports lookup

    Found a really usefull site with a huge database of internet ports.

    Also has a cool dns interface:

    robin@trillian robin $ nslookup -q=txt 80.tcp.portsdb.org
    Server:  junction.internal.image-data.com
    Address:  192.168.1.102
    
    Non-authoritative answer:
    80.tcp.portsdb.org      text = "http"
    80.tcp.portsdb.org      text = "Nimda"
    80.tcp.portsdb.org      text = "www-http"
    80.tcp.portsdb.org      text = "www"
    robin@trillian robin $
    

    Thanks to toby for the dig alternative:

    robin@trillian robin $ dig -t txt 80.tcp.portsdb.org
    
    ; <> DiG 8.3 <> -t 80.tcp.portsdb.org
    ;; res options: init recurs defnam dnsrch
    ;; got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUERY SECTION:
    ;;      80.tcp.portsdb.org, type = TXT, class = IN
    
    ;; ANSWER SECTION:
    80.tcp.portsdb.org.     3h54m53s IN TXT  "http"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "Nimda"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "www-http"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "www"
    
    ;; Total query time: 117 msec
    ;; FROM: trillian to SERVER: default -- 192.168.1.102
    ;; WHEN: Mon Jul  7 11:43:43 2003
    ;; MSG SIZE  sent: 36  rcvd: 108
    
    robin@trillian robin $
    


  • Convert Apache/OpenSSL HTTPS Certificate to IIS

    How do I export my KEY file from Apache for use with Microsofts IIS?

    The following command will convert your Apache Key file to one that Microsoft IIS can recognise:

    openssl rsa -in ApacheKeyFileName.key -out IISKeyFileName.key -outform NET


  • Browser Archive

    This is so cool, a collection of old browsers, including this little gem.


  • SuSE Proxy-Suite

    I have been having awful troubles with connections to our ftp servers hanging. Something I suspect is caused by the netfilter firewall box. I’ve managed to side step the problem with this.