In order to facilitate mail replication we've changed from the mbox mailboxes to maildir mailboxes. This is a brief description of what you need to do. First off create a directory to store your mail: (these commands need to be run as root): mkdir /var/spool/maildirs/$USER chown -R $USER /var/spool/maildirs/$USER (as user id) maildirmake /var/spool/maildirs/$USER/Maildir (following commands need to be run as root): chgrp -R mail /var/spool/maildirs/$USER chmod -R 770 /var/spool/maildirs/$USER Now edit your .procmailrc file. Here's an example: VERBOSE=off MAILDIR=/var/spool/maildirs/ssoriche/Maildir PMDIR=$HOME/.procmail DEFAULT=$MAILDIR/ LOGFILE=$PMDIR/log INCLUDERC=$PMDIR/rc.mail UMASK=007 MAILDIR needs to be hardcoded to your newly created mail directory. DEFAULT needs the trailing / to tell procmail to use Maildir format. UMASK needs to be set to 007 to allow the replication. Now edit any of your recipes to change the mailbox format: :0: * ^To: hide.*sackheads.org .hidemail/ The trailing / is required to tell procmail to use Maildir format. Now to configure mutt to use the new mail boxes. mutt automatically determines mailbox format so there are only minor changes to make. Edit your .muttrc file: Change your set folder variable to be: set folder=/var/spool/maildirs/ssoriche/Maildir and add: set mbox_type=Maildir Even though mutt can determine the mailbox type on it's own if you create mailboxes on the fly (filing mail away) you'll want them created in the same format. (NOTE: mailboxes created this way might not have the correct permissions. Please insure that newly created mailboxes are group rwx and the group is mail in order for replication to work. Other mutt lines you may need to change: - delete anything like: set mbox - set record=/var/spool/maildirs/$USER/Maildir/.sent-mail/ (do not omit the trailing slash!) - mailboxes =. =.Sent =.Trash =.pr0n ...etc - set mask="!^\\.[^.][.^]" To have mutt open your Maildir inbox on startup, you should have the environment variable $MAIL set in your shell. for instance, in ~/.bash_profile, export MAIL=/var/spool/maildirs/ssoriche/Maildir/ Converting from mbox to maildir cd to your newly created Maildir directory (ie. /var/spool/maildirs/ssoriche/Maildir) execute: maildirmake (folder name) You need to create these directories with leading .'s for imap to work correctly. You imap 'inbox' is merely the main Maildir/ directory -- *do not* create a subfolder named 'inbox'! This will cause great confusion and prevent you from reading your mail. If you were using procmail before: execute: perfect_maildir.pl ./(folder name) < ~/Mail/(folder name) ie: maildirmake .savejunk perfect_maildir.pl ./.savejunk < ~/Mail/savejunk If your mail went to /var/spool/oldmail/$USER execute: perfect_maildir.pl ./(foldername) < /var/spool/oldmail/$USER ie: perfect_maildir.pl /var/spool/maildirs/$USER/Maildir < /var/spool/oldmail/$USER After complete please run: chmod -R 770 /var/spool/maildirs/$USER sudo chmod -R g+s /var/spool/maildirs/$USER Setting up IMAP (administrators) As root (sudo will not do so not to be performed by a user): userdb "user@sackheads.org" set home=/home/$USER \ mail=/var/spool/maildirs/$USER/Maildir \ uid=UUU gid=GGG userdbpw | userdb "user@sackheads.org" set imappw makeuserdb Warning: *do not* create a subfolder named 'inbox'. It will cause great confusion.