Gnus development mailing list
 help / color / mirror / Atom feed
* moving mailboxes between imap accounts
@ 2013-09-26  8:18 Erik Colson
  2013-09-26  9:15 ` Steinar Bang
  2013-09-27  2:53 ` Dave Goldberg
  0 siblings, 2 replies; 4+ messages in thread
From: Erik Colson @ 2013-09-26  8:18 UTC (permalink / raw)
  To: ding

Hi,

I have a lot of mailboxes which I want to move from one imap account to
another. The only way I found was to enter each single group and then
gnus-summary-move-article them to a new group (which Gnus will create
happily). Doing this for every single group will take ages!

So the question: Can this be done faster ?

Thanks
-- 
erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: moving mailboxes between imap accounts
  2013-09-26  8:18 moving mailboxes between imap accounts Erik Colson
@ 2013-09-26  9:15 ` Steinar Bang
  2013-09-26  9:44   ` Rainer M Krug
  2013-09-27  2:53 ` Dave Goldberg
  1 sibling, 1 reply; 4+ messages in thread
From: Steinar Bang @ 2013-09-26  9:15 UTC (permalink / raw)
  To: ding

>>>>> Erik Colson <eco@ecocode.net>:

> I have a lot of mailboxes which I want to move from one imap account to
> another. The only way I found was to enter each single group and then
> gnus-summary-move-article them to a new group (which Gnus will create
> happily). Doing this for every single group will take ages!

> So the question: Can this be done faster ?

I used imapsync to transfer my cyrus imapd email to dovecot back in
2008.  The downside back then, was that the Gnus tick marks weren't
transferred:
 http://comments.gmane.org/gmane.emacs.gnus.general/67326
My experences from the migration process:
 http://permalink.gmane.org/gmane.mail.imap.dovecot/32706

However, both nnimap and imapsync may have improved since then. nnimap
in that it uses less custom marks (I think...?), and imapsync in that it
can transfer non-standard marks (hopefully).




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: moving mailboxes between imap accounts
  2013-09-26  9:15 ` Steinar Bang
@ 2013-09-26  9:44   ` Rainer M Krug
  0 siblings, 0 replies; 4+ messages in thread
From: Rainer M Krug @ 2013-09-26  9:44 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>>>>>> Erik Colson <eco@ecocode.net>:
>
>> I have a lot of mailboxes which I want to move from one imap account to
>> another. The only way I found was to enter each single group and then
>> gnus-summary-move-article them to a new group (which Gnus will create
>> happily). Doing this for every single group will take ages!
>
>> So the question: Can this be done faster ?
>
> I used imapsync to transfer my cyrus imapd email to dovecot back in
> 2008.  The downside back then, was that the Gnus tick marks weren't
> transferred:
>  http://comments.gmane.org/gmane.emacs.gnus.general/67326
> My experences from the migration process:
>  http://permalink.gmane.org/gmane.mail.imap.dovecot/32706
>
> However, both nnimap and imapsync may have improved since then. nnimap
> in that it uses less custom marks (I think...?), and imapsync in that it
> can transfer non-standard marks (hopefully).
>

There is also imapfilter [1], although I don't know how that one deals
with ticks et al.

Cheers,

Rainer


>
>



Footnotes: 
[1]  https://github.com/lefcha/imapfilter

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: moving mailboxes between imap accounts
  2013-09-26  8:18 moving mailboxes between imap accounts Erik Colson
  2013-09-26  9:15 ` Steinar Bang
@ 2013-09-27  2:53 ` Dave Goldberg
  1 sibling, 0 replies; 4+ messages in thread
From: Dave Goldberg @ 2013-09-27  2:53 UTC (permalink / raw)
  To: ding


> Hi,
> I have a lot of mailboxes which I want to move from one imap account to
> another. The only way I found was to enter each single group and then
> gnus-summary-move-article them to a new group (which Gnus will create
> happily). Doing this for every single group will take ages!

Manually, yes, but it's not that hard to script.  I did this a number of years ago when we changed servers at work.  I wrote a simple function, it was maybe ten or so lines, that traversed my *Group* buffer, which at the time only had groups on the old server, though I had created a new select method for the new one.  As it landed on each group line, it generated the equivalent name in the new server, opened the group such that all articles would be displayed, marked them all and called gnus-summary-move-article as appropriate.  Unfortunately that was long enough ago that I was still using XEmacs and when I changed to Emacs a few years ago I didn't bring that code over thinking I wouldn't need it anymore.

-- 
Dave Goldberg
david.goldberg6@verizon.net



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-27  2:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-26  8:18 moving mailboxes between imap accounts Erik Colson
2013-09-26  9:15 ` Steinar Bang
2013-09-26  9:44   ` Rainer M Krug
2013-09-27  2:53 ` Dave Goldberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).