You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Mohammad Naghavi <mo...@gmail.com> on 2010/11/15 23:20:45 UTC
IMAP mailbox movement
Hi there,
to be short I would declare just the point. I had an email in my inbox, I
connected to james using IMAP in outlook, dragged the mail from inbox to
another mailbox. the result was that a new mail was created and assigned to
the new mailbox. first of all that the field textualLineCount which in
original message has the value 2, is in new message set to null.
another question was that why to add a new message and assign it to new
mailbox? why not just to change the mailboxId of the original message in
membership table?
Thanks
MN
________________________________________
PHP & ASP .Net 3.5 web developer
Java & C# desktop developer
www.mohamnag.com
Re: IMAP mailbox movement
Posted by Mohammad Naghavi <mo...@gmail.com>.
Hi Norman,
I opened a bug report for first issue. Thanks for the declaration for second
issue.
Thanks,
MN
________________________________________
PHP & ASP .Net 3.5 web developer
Java & C# desktop developer
www.mohamnag.com
On Tue, Nov 16, 2010 at 7:46 AM, Norman Maurer <no...@apache.org> wrote:
> Hi Mohammad,
>
> comments inside...
>
> 2010/11/15 Mohammad Naghavi <mo...@gmail.com>:
> > Hi there,
> > to be short I would declare just the point. I had an email in my inbox, I
> > connected to james using IMAP in outlook, dragged the mail from inbox to
> > another mailbox. the result was that a new mail was created and assigned
> to
> > the new mailbox. first of all that the field textualLineCount which in
> > original message has the value 2, is in new message set to null.
>
> Thats a bug.. Please open a bug report for it:
>
> https://issues.apache.org/jira/browse/IMAP
>
>
> > another question was that why to add a new message and assign it to new
> > mailbox? why not just to change the mailboxId of the original message in
> > membership table?
>
> Well to make it short, its not possible. There is no "MOVE" command in
> IMAP. When you move a message via your IMAP-Client it will do a "COPY
> & EXPUNGE". So JAMES can't know if its a "MOVE operation" or just a
> "COPY operation".
>
> See:
> http://tools.ietf.org/html/rfc3501
>
>
> >
> > Thanks
> > MN
>
> Bye,
> Norman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
Re: IMAP mailbox movement
Posted by Norman Maurer <no...@apache.org>.
Hi Mohammad,
comments inside...
2010/11/15 Mohammad Naghavi <mo...@gmail.com>:
> Hi there,
> to be short I would declare just the point. I had an email in my inbox, I
> connected to james using IMAP in outlook, dragged the mail from inbox to
> another mailbox. the result was that a new mail was created and assigned to
> the new mailbox. first of all that the field textualLineCount which in
> original message has the value 2, is in new message set to null.
Thats a bug.. Please open a bug report for it:
https://issues.apache.org/jira/browse/IMAP
> another question was that why to add a new message and assign it to new
> mailbox? why not just to change the mailboxId of the original message in
> membership table?
Well to make it short, its not possible. There is no "MOVE" command in
IMAP. When you move a message via your IMAP-Client it will do a "COPY
& EXPUNGE". So JAMES can't know if its a "MOVE operation" or just a
"COPY operation".
See:
http://tools.ietf.org/html/rfc3501
>
> Thanks
> MN
Bye,
Norman
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org