Hi Vince,

I have been using for more than four months a setup similar to yours (Postfix + dmail) on a production server with about 80 mailboxes. It works flawlessly. I used the configuration suggested in a previous message on this list (http://mailman2.u.washington.edu/pipermail/imap-uw/2008-April/001993.html), but I don't care about procmail. I use imap 2007b and it is very stable in my setup.

For testing purposes, I first created a mix mailbox in my account and relied on snarfing. Further, I tested dmail, and finally I used a small script to convert all the mailboxes to the mix format. Joel Reicher gave me valuable help during my initial setup. You may rely on his advice, posted a few minutes ago.

The conversion script I used is quite simple:

#!/bin/bash

GROUP=biochim
HOMEDIR=/home/users/$GROUP
SPOOLDIR=/var/spool/mail

USERS=`ls -1 $HOMEDIR | sed 's/\/$//g' | grep -v www`
for USER in $USERS; do
        echo $USER
        INBOX=$HOMEDIR/$USER/INBOX
        SPOOL=$SPOOLDIR/$USER
        if [ -s $SPOOL ]; then
                mixcvt -u $USER $SPOOL $INBOX
                chgrp -R $GROUP $INBOX
                mailutil prune $SPOOL all
        fi
done

I stopped Postfix and disabled the accounts while running the script above, as the conversion was very fast (a few minutes) for about 80 mailboxes (~ 1.5 GB). I also made a fresh backup of the Unix spool directory prior to running the script. The clues are appropriate mailbox names given as arguments to mixcvt (mixcvt is a little tricky in this respect) and group ownership change after running mixcvt as root. It is important to use mixcvt instead of mailutil in performing the conversion, as only mixcvt will split the mailboxes into small files, thus preserving all the advantages of the mix format.


Hope it helps,

Marius Micluta
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to