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

Giles Coochey giles at coochey.net
Mon Mar 12 15:37:43 EET 2012


On 12/03/2012 13:19, Timo Sirainen wrote:
> On Mon, 2012-03-12 at 13:09 +0000, Giles Coochey wrote:
>> Hi,
>>
>> I'm looking for a quick tool that can connect to my IMAP account grab
>> all the messages in a particular folder and dump them to a mbox format file?
>>
>> Anyone know a quick easy tool to do that?
>>
>> This is a spam folder that I'd like to do some Bayes spam learning on,
>> but since I've migrated to mdbox I don't think I can do this directly on
>> the mailbox.
>>
>> 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?

-- 
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