Re: Using mbox2cyrus.pl

2010-10-07 Thread Joseph Brennan


--On Thursday, October 7, 2010 10:00 -0500 Patrick Goetz 
pgo...@mail.utexas.edu wrote:

 I have a few mbox files that I need to transfer to cyrus (one relatively
 large ~3MB).  I downloaded the perl script mbox2cyrus.pl, and looked
 over the code, and I'm not confident that this will work for a system with

 unixhierarchysep: yes

 Does anyone have any experience with this?  Am I going to have to
 rewrite this script to get at my mbox files?



If this is relevant-- Pine can copy a local mbox file to an imap server.


Joseph Brennan
Columbia University Information Technology



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Using mbox2cyrus.pl

2010-10-07 Thread Gavin McCullagh
Hi,

On Thu, 07 Oct 2010, Patrick Goetz wrote:

 I have a few mbox files that I need to transfer to cyrus (one relatively 
 large ~3MB).  I downloaded the perl script mbox2cyrus.pl, and looked 
 over the code, and I'm not confident that this will work for a system with
 
 unixhierarchysep: yes
 
 Does anyone have any experience with this?  Am I going to have to 
 rewrite this script to get at my mbox files?

If you have mutt around the place you can do:

mutt -f your_mbox
(should open the mbox)
 T
 allreturn
(should tag all files)
 ;C
imaps://username@imapserver/foldername
(copy all tagged mails 

which should copy all mails to foldername on that imap server.

Gavin


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Using mbox2cyrus.pl

2010-10-07 Thread Bron Gondwana
On Thu, Oct 07, 2010 at 12:03:06PM -0400, Joseph Brennan wrote:
 
 
 --On Thursday, October 7, 2010 10:00 -0500 Patrick Goetz 
 pgo...@mail.utexas.edu wrote:
 
  I have a few mbox files that I need to transfer to cyrus (one relatively
  large ~3MB).  I downloaded the perl script mbox2cyrus.pl, and looked
  over the code, and I'm not confident that this will work for a system with
 
  unixhierarchysep: yes
 
  Does anyone have any experience with this?  Am I going to have to
  rewrite this script to get at my mbox files?
 
 
 
 If this is relevant-- Pine can copy a local mbox file to an imap server.

Also, mutt :)  Same kind of thing.  Open one mailbox, tag all messages,
save to the other.

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Using mbox2cyrus.pl

2010-10-07 Thread Patrick Goetz
This is one of the most useful pieces of information I've gotten in a 
long time -- Thanks!

(as a none mutt user, I had no idea one could do anything like this)


On 10/07/2010 11:24 AM, Gavin McCullagh wrote:
 Hi,

 On Thu, 07 Oct 2010, Patrick Goetz wrote:

 I have a few mbox files that I need to transfer to cyrus (one relatively
 large ~3MB).  I downloaded the perl script mbox2cyrus.pl, and looked
 over the code, and I'm not confident that this will work for a system with

 unixhierarchysep: yes

 Does anyone have any experience with this?  Am I going to have to
 rewrite this script to get at my mbox files?

 If you have mutt around the place you can do:

 mutt -fyour_mbox
 (should open the mbox)
   T
   allreturn
 (should tag all files)
   ;C
 imaps://username@imapserver/foldername
 (copy all tagged mails

 which should copy all mails tofoldername  on that imap server.

 Gavin

 
 Cyrus Home Page: http://www.cyrusimap.org/
 List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Using mbox2cyrus.pl

2010-10-07 Thread Joseph Brennan


--On Thursday, October 7, 2010 11:07 -0500 Patrick Goetz 
pgo...@mail.utexas.edu wrote:

 On 10/07/2010 11:03 AM, Joseph Brennan wrote:


 If this is relevant-- Pine can copy a local mbox file to an imap server.



 How would this work?  We use alpine extensively, and AFAIK it's either
 configured for IMAP or mbox, but not both.


$ alpine -f path/to/file

Select all, and tell it to save them to a mailbox on the imap server.

Joseph Brennan
Columbia University Information Technology


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/