Ian Marlier wrote:

Before I can make the switch, though, I need a way to feed all that mail out
of the mbox-format files, and into Maildirs -- I need to make sure that the
switch will be transparent to the users on my machine.

My first conversion to Courier took me about two days to get mail delivery working. So, the next time I did it, I made a list of all of the things that I had to remember to do. The part you're after is the "mb2md" tool. On Debian, this conversion script was already on my machine. You may have to hunt it down yourself for your box.

1 - Change ssl .cnf files and remake .pem keys to have our ISP's name, locale, etc.

2 - Create /etc/courier/esmtpacceptmailfor.dir/default (include localhost) and run makeacceptmailfor

3 - To preserve ".forward" functionality, change /etc/courier/courierd DEFAULTDELIVERY to read:
DEFAULTDELIVERY="|| dotforward
./Maildir"


4 - Mozilla likes to have 5 simultaneous connections to the imapd, while my Courier defaults to 4, causing an error when I open the 5th folder. So, change /etc/courier/imapd "MAXPERIP" to, at least, 5

5 - Update /etc/courier/smtpaccess/default to include all relay-allowed IP's and run makesmtpaccess

6 - Migrate /etc/aliases to /etc/courier/aliases/system and then run makealiases

7 - For each user,
"su" to their username (make sure that $HOME, $LOGNAME, $MAIL, and $USER all have this user's info) and change to their home directory ("cd ~") and then
run "maildirmake $HOME/Maildir"


run "mb2md" to convert all mailboxes to Maildir format
mb2md -m (to convert their /var/spool/mail mailbox)
mb2md -s "$HOME/mail" (or whatever to convert their homedir folders)


convert their .procmailrc file
make sure that they have
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
and all mailbox names in .procmailrc need to be prepended with a dot and
appended with a trailing slash. For example, the mailbox
previously called:
JunkMail
would be changed to:
.JunkMail/

Regards, - Joe




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to