[Dovecot] Extracting mbox format from Dovecot IMAP (mdbox)

Giles Coochey giles at coochey.net
Mon Mar 12 15:42:10 EET 2012


On 12/03/2012 13:39, Timo Sirainen wrote:
> On Mon, 2012-03-12 at 13:37 +0000, Giles Coochey wrote:
>>>> Any thoughts appreciated.
>>> With v2.0: dsync -m spam backup mbox:~/mbox-mails/
>>>
>>> There are also doveadm move and doveadm import commands that can do
>>> this.
>>>
>>>
>> OK, That would do a mailbox called spam no?
>> I have a normal user who has an IMAP folder called 'Junk E-mail'
>>
>> Is there a similar syntax?
> Yeah, the -m parameter just specifies the mailbox name. So:
>
> dsync -m 'Junk E-mail' backup mbox:~/mbox-mails/
>
> If different accounts have different names, then I guess you'll just
> have to run dsync twice with each name.
>
>
Thanks - was experimenting and got it. Works a treat!

-- 
Best Regards,

Giles Coochey
NetSecSpec Ltd
UK Mobile: +44 7983 877 438
Business Email: giles.coochey at netsecspec.co.uk
Email/MSN/Live Messenger: giles at coochey.net
Skype: gilescoochey




More information about the dovecot mailing list