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
On Wed, Apr 12, 2006 at 10:18:11AM +0100, Tom Brown enlightened us:
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 ?
Fetchmail doesn't output mail at all. It delivers it by default to port 25 on your local machine. So, configure your MDA to deliver to Maildir and try again. The fetchmail man page holds quite a bit of information, you just have to look...
Matt
Quoting Tom Brown tom.brown@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 ?
I remember there were some utilities distributed with wu-imapd source that might do what you want. A perl script that would split mbox mailbox into maildir format is also trivial to write. If you are transferring between two IMAP servers (one using mbox, the other using maildir), you can also use utility such as imapsync and not worry about the storage format of particular IMAP server.
I moved from mbox to Maildir back in November. I used script found here ...
http://home.uninet.ee/~ragnar/2md/2md-1.11.
A little bit of a pain with folders but it will do them.
-Jason
Aleksandar Milivojevic wrote the following on 04/12/06 08:30:
Quoting Tom Brown tom.brown@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 ?
I remember there were some utilities distributed with wu-imapd source that might do what you want. A perl script that would split mbox mailbox into maildir format is also trivial to write. If you are transferring between two IMAP servers (one using mbox, the other using maildir), you can also use utility such as imapsync and not worry about the storage format of particular IMAP server.
Jason Sutherland wrote:
I moved from mbox to Maildir back in November. I used script found here ...
http://home.uninet.ee/~ragnar/2md/2md-1.11.
A little bit of a pain with folders but it will do them.
-Jason
Aleksandar Milivojevic wrote the following on 04/12/06 08:30:
Quoting Tom Brown tom.brown@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 ?
I remember there were some utilities distributed with wu-imapd source that might do what you want. A perl script that would split mbox mailbox into maildir format is also trivial to write. If you are transferring between two IMAP servers (one using mbox, the other using maildir), you can also use utility such as imapsync and not worry about the storage format of particular IMAP server.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I have had great luck with IMAPCopy http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html. It connects between any two IMAP Servers (say UW-IMAP and Courier-IMAP) and copies messages from one to the other. Works great for me!
Jay
Tom Brown wrote:
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 ?
I have used the IMAP routines built into php, which can be used as commandline interpreter much like perl, with great success. The implementation is more complete than perl's and pretty simple to do whatever you'd like, but you'd have to write a short program.
David