mailutil needs the full path to the MBX mail folder in order to perform any operation on it.
I was just able to implement the following command and it
works fine:
mailutil copy pwd
/"Sys Admin" "#driver.unix/pwd
/new"
(whereas mailutil copy ./"Sys Admin" "#driver.unix/new" produces "no such mailbox")
Thanks to Chris Wakelin, Dirk Essl, Steffen Kaiser, Jens Laas and Marcus Ruecker for speedy and comprehensive advice.
Thanks again, Anne
Anne M. Hammond - Systems / Network Administration - Tech-X Corp hammond_at_txcorp.com 303-974-1840
On Fri, 29 Sep 2006, Chris Wakelin wrote:
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@volt Resume's]# file "Sys Admin" Sys Admin: MBX mail folder [root@volt Resume's]# mailutil copy ./"Sys Admin" '#driver.unix/new' Can't open mailbox ./Sys Admin: no such mailbox [root@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@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