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? Anne M. Hammond - Systems / Network Administration - Tech-X Corp
On 2006-09-28 18:12:22 -0600, 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":MBX is not supported. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
I think you need to specify the full path to the MBX file. Also, if it's INBOX, you'll need to rename it to something else first and rename it back afterwards. So something like: mailutil copy `pwd`/"Sys Admin" "#driver.unix/`pwd`/new" should work. Best Wishes, Chris 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? > > Anne M. Hammond - Systems / Network Administration - Tech-X Corp-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
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