Greetings.
I've got a poorly conceived and implemented system I'm trying to migrate
off of. Right now we've got 20K accounts or so, in mbox form, under
UW-IMAP. Eventually we're going to move to Maildir format, but the
first step is to move to Dovecot on one of our imap servers as a proof
of concept. In other words, all config changes have to take place on
the dovecot side, until I get PHB approval to proceed further.
Right now, the inboxes are the user's username, located in /var/mail (an
NFS mounted volume). So my inbox would be at /var/mail/chandler.
The sub-mailboxes are in the user home directories, just scattered
around-- no /mail subdirectory or anything close.
So there's a folder called ~chandler/INBOX.Sent, ~chandler/INBOX.Trash,
and a ~chandler/Dovecot (for this list). The list of these files is
kept in ~chandler/.mailboxlist.
I attempted to follow the instructions at
http://wiki.dovecot.org/Migration about:
You can either rename your .mailboxlist file to .subscriptions for all
your users using uw2dovecot.sh <http://wiki.dovecot.org/uw2dovecot.sh>,
or change the definition of SUBSCRIPTION_FILE_NAME in
/src/lib-storage/subscription-file/subscription-file.c/. In 1.0-test,
this value is defined in
/src/lib-storage/subscription-fileindex/maildir/maildir-storage.h/ and
/src/lib-storage/subscription-fileindex/mbox/maildir-storage.h/.
.subscriptions is located inside of the mail directory, whereas it is
possible .mailboxlist was outside of it (in user's home directory).
However, I built dovecot from ports on FreeBSD 6.2, and the only files
that approach this are:
wurfel# ls -al
total 58
drwxr-xr-x 3 root wheel 512 Jan 16 20:48 .
drwxr-xr-x 6 root wheel 1024 Jan 16 20:48 ..
drwxr-xr-x 2 root wheel 512 Jan 16 20:48 .deps
-rw-r--r-- 1 root wheel 14662 Jan 16 20:48 Makefile
-rw-r--r-- 1 root wheel 266 Oct 20 2004 Makefile.am
-rw-r--r-- 1 root wheel 14009 Jan 6 23:26 Makefile.in
-rw-r--r-- 1 root wheel 4374 Jan 16 20:48 libstorage_subscription_file.a
-rw-r--r-- 1 root wheel 6935 Jan 3 15:19 subscription-file.c
-rw-r--r-- 1 root wheel 703 Jan 13 2006 subscription-file.h
-rw-r--r-- 1 root wheel 4060 Jan 16 20:48 subscription-file.o
wurfel# pwd
/usr/ports/mail/dovecot/work/dovecot-1.0.rc17/src/lib-storage/subscription-file
I took a look at subscription-file.c, but didn't notice where I should
change the definition of the file itself-- my code-fu is weak.
If someone could lend a hand, I'd be deeply appreciative.
Regards,
--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler at chapman.edu
Today's Excuse: Internet exceeded Luser level, please wait until a luser
logs off before attempting to log back on.