[CentOS] Command line IMAP client

Wed Apr 12 09:18:11 UTC 2006
Tom Brown <tom.brown at goodtechnology.com>

Hi

I want to download all messages from an IMAP mailbox but i want this to 
be outputted into MailDir format. I tried using fetchmail but this 
outputted the mailbox into mbox format. Is there an IMAP client that 
works on the command line but will output into MailDir format or failing 
that how reliable is converting from mbox to MailDir ?

thanks