Convert Maildir to mbox format on Linux, BSD or MacOSX
…assuming you”ve installed formail (from the procmail package?), it’s easy as: #!/bin/bash for file in `find /path/to/your/Maildir/cur -type f` do cat $file | formail -A Date: >> /tmp/mbox done
…assuming you”ve installed formail (from the procmail package?), it’s easy as: #!/bin/bash for file in `find /path/to/your/Maildir/cur -type f` do cat $file | formail -A Date: >> /tmp/mbox done
Ever thought about automatically compressing and optimizing whitespace, CSS, JS, tracking scripts, etc.pp. without the need to write and NGINX-wire your own program? The good news is: PageSpeed does all for you. It’s able to leave a defined ratio of all requests untouched, e.g. 50/50. So even search enginges would Read more…
Intro This tutorial describes how to enable DKIM signing with Postfix for your new mail domain example.com and has been tested on Debian Squeeze 6. Generate a DKIM key for your new mail domain example.com # cd /var/lib/dkim/ # amavisd-new genrsa example.com.pem # chmod 0600 example.com.pem # chown amavis: example.com.pem Tell amavisd Read more…
Warning: Be sure to have set aliases for the virtual ip adresses you want to configure. Otherwise Postfix will complain about not being able to bind to those interfaces! Should work with Postfix >= 2.7! Scenario You have 3 domains managed by Postfix: domain1.tld domain2.tld domain3.tld You have 3 IPs Read more…
Ever wondered how to increase max open files limit in Debian? Edit limits.conf: # vi /etc/security/limits.conf Format of limits.conf file: domain type item value Insert or adjust the following entries to fit your requirements for system wide soft/hard open files limit (nofile). Soft is like a warning, hard is a real Read more…