Moving folders across backends

Syren Baran sb at bit-house.com
Thu Aug 5 12:38:20 EDT 2010


Am Donnerstag, den 05.08.2010, 15:21 +0100 schrieb Simon Beale:

> Having spent some time reading the 2.3.16 source code, and poking at the
> frontend with gdb, I'm not convinced that the code currently supports what
> I'm attempting. It looks like it may have been the original intention to
> be possible in imapd.c/cmd_rename, but I don't think it is actually
> possible.

Had a look as well. Xfer only seems to get triggered when when using
.tag rename old new destination
and "old" and "new" match.
If both folders reside on the same box (same imapd, just different
partitions) a
.tag rename old new partitionname
should work.

> Is this actually a bug, for which I'll go look at writing a bugzilla entry
> and patch, or am I overlooking something?

Yes, you are overlooking something (though feel free to write a patch
anyway ;) ).
The Imap protocol was specified by an insane monkey on lsd using
multiple addresses from around the world and laughing his ass of every
time someone tries to understand this protocol.

E.g. from RFC 4466
<quote>
2.3.  Extended RENAME Command


   Arguments:  existing mailbox name
               new mailbox name
               OPTIONAL list of RENAME parameters

..... No RENAME parameters are defined in this document. .....
</quote>
Great, optional parameters. Just send something... might do something ...


>
> Cheers
>
> Simon


Greetings,
Syren

+++++++++++++++++++++++++++++++++++++++++++

Niederlassung Deutschland:
BIT-HOUSE Ltd.
internet professionals
Erthalstr. 17
63739 Aschaffenburg
Deutschland

Amtsgericht:    Aschaffenburg
HRB-Nr.:        9136
St/Nr.:         204/104/60603
USt-Id-Nr.:     DE814408164
Gechäftsführer: Thomas Witzel

+++++++++++++++++++++++++++++++++++++++++++

Telefon:        +49.6021.8622-680
VoIP:           +49.6021.8622-680
Fax:            +49.6021.8622-676
E-Mail:         mail at bit-house.com
Homepage: www.bit-house.com

+++++++++++++++++++++++++++++++++++++++++++

Hauptsitz:
BIT-HOUSE Ltd.
69 Great Hampton Street
Birmingham
West Midlands
United Kingdom

Registergericht: Companies House of Cardiff
Registernummer:  05325636
Registereintrag: United Kingdom
Director: Thomas Witzel

+++++++++++++++++++++++++++++++++++++++++++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4923 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100805/ea6bcbba/attachment.bin 


More information about the Info-cyrus mailing list