[Dovecot] Converting UW MBX mail folder

Dirk Essl de at floydworld.de
Fri Sep 29 14:57:16 EEST 2006


Anne Hammond wrote:
> We converted from uw-imapd to dovecot but are still having
> problems with MBX mail folders.
> 
> The user can't access this "MBX mail folder":
> 
> [root at volt Resume's]# file "Sys Admin"
> Sys Admin: MBX mail folder
> [root at volt Resume's]# mailutil copy ./"Sys Admin" '#driver.unix/new'
> Can't open mailbox ./Sys Admin: no such mailbox
> [root at volt Resume's]# mailutil copy -debug -verbose./SysAdminSave 
> '#driver.unix/new'
> Can't open mailbox ./SysAdminSave: no such mailbox
> 
> Could you tell me what I am doing wrong?

I converted all our users now to dovecot using maildir. The migration is 
done by a quite big script, because we had no standards for the 
mailfolder The part converting mbx style mailboxes of the script follows 
here:

In this case, the INBOX file in the homedirectory of the user is 
converted to mbox and then to maildir
--

if [ -f /home/$MUSER/INBOX ]; then
	su - $MUSER -c "mailutil -verbose -debug" copy INBOX fictionmbox
	su - $MUSER -c "/root/mb2md -s /home/$MUSER/fictionmbox -R -d \ 	 
/var/mail/inboxes/$MUSER/"
         su - $MUSER -c "rm -f fictionmbox"
fi

--

> Anne M. Hammond - Systems / Network Administration - Tech-X Corp
> 

regards
dirk


More information about the dovecot mailing list