preferred way to move an imap folder
Hello list.
What is the preferred way to move an imap folder. Lets say an User has.
.maildir/.INBOX.Junk
I want to move this imap folder to:
.maildir/.Junk
Can i just use:
mv .maildir/.INBOX.Junk .maildir/.Junk
and be done with that?
thanks and cheers t.
On 2018-02-22 (07:48 MST), himbeere@shinymail.de wrote:
Hello list.
What is the preferred way to move an imap folder. Lets say an User has.
.maildir/.INBOX.Junk
I want to move this imap folder to:
.maildir/.Junk
Can i just use:
mv .maildir/.INBOX.Junk .maildir/.Junk
and be done with that?
Yes, but if the mailbox is defined as being under .INBOX it will recreate it.
-- 'But you ain't part of it, are you?' said Granny conversationally. 'You try, but you always find yourself watchin' yourself watchin' people, eh? Never quite believin' anything? Thinkin' the wrong thoughts?'
Thank you.
cheers t.
On 2018-02-22 18:04, Aki Tuomi wrote:
On 22 February 2018 at 18:53 "@lbutlr" < kremels@kreme.com> wrote:
On 2018-02-22 (07:48 MST), himbeere@shinymail.de wrote:
Hello list.
What is the preferred way to move an imap folder. Lets say an User has.
.maildir/.INBOX.Junk
I want to move this imap folder to:
.maildir/.Junk
Can i just use:
mv .maildir/.INBOX.Junk .maildir/.Junk
and be done with that?
Yes, but if the mailbox is defined as being under .INBOX it will recreate it.
-- 'But you ain't part of it, are you?' said Granny conversationally. 'You try, but you always find yourself watchin' yourself watchin' people, eh? Never quite believin' anything? Thinkin' the wrong thoughts?'
or you can use doveadm mailbox rename
Aki Tuomi
participants (3)
-
@lbutlr
-
Aki Tuomi
-
himbeere@shinymail.de