On Thu, Mar 25, 2010 at 3:02 PM, Norman Maurer
<norman.mau...@googlemail.com> wrote:
> Hi Manuel,
>
> Thx for the comments and for reviewing the stuff. Comments are inside...
>
> 2010/3/25 Manuel Carrasco Moñino <man...@apache.org>:
>> Hi Norman, I''ve tried your patch and it works fine for me.
>>
>> Just a bunch of notes:
>> - It is necessary to uncomment the SieveMailet line to get the mails
>> in the IMAP repository. I suppose this should be the default.
>
> True, I would even rewrite the SieveMailet a bit for this.. But that
> is not a biggy
>
>> - It is supposed that James has to compile with java 1.5, but you are
>> using isEmpty() :-(
>
> Could catch, will replace this once we dedicited to commit the diff
>
>> - I think the name of the "INBOX" has to be provided by the
>> mailboxmanager instead of be hardcoded.
>
> Well INBOX is the default you would use with javamail too. So I don't
> saw this as a big problem ..

true enough

>
>> - Another thing is related with the 'DELE' command, messages are
>> marked for deleting, but it seems that they are not deleted until the
>> user does a quit, so in the case of a failure in the connection the
>> messages doesn't go deleted.
>
> I need to reread on this but I thought thats exactly how pop3 is
> supposed to work. In fact this was what the pop3server did before too

Maybe it was a bug. I think courier deletes the mail when the user
sends the DELE command, but not sure, I've to check.

>
>> - Also It would be good to add in a next release some parameters like
>> move deleted messages to trash,  mark deleted messages as seen, etc,
>> so that users using various MUA don't loose messages.
>
> Thats not the scope of POP3. POP3 doesn't support folders so thats not 
> possible.

I know pop3 proto doesn't support folders, that I mean is a way to
configure the server to do that. Maybe at global or at user level.
It's like gmail behavior, when the user enables POP she can configure
what to do with the messages downloaded.

>
>>
>> I'm glad with the improvement (thanks Norman), so I vote to remove the
>> old mailrepository.
>>
>> Manolo
>>
>
> Thx again for your comments...
>
>
>>
>>
>> On Thu, Mar 25, 2010 at 11:41 AM, Bernd Fondermann
>> <bernd.fonderm...@googlemail.com> wrote:
>>> On Wed, Mar 24, 2010 at 19:47, Norman Maurer <nor...@apache.org> wrote:
>>>> Hi all,
>>>>
>>>> I want to propose some really heavy change in current JAMES trunk, and
>>>> so next version. As all of you knows we are supporting IMAP in current
>>>> development version, which ships with its own mail store backend
>>>> called MailboxManager / Mailbox. For POP3 we use MailRepository as
>>>> backend.
>>>> I think this is a no go for a number of reasons, but the major one is
>>>> that we should be able to switch between IMAP and POP3 without the
>>>> need to migrate mails. So I rewrote the POP3Server to re-use the
>>>> MailboxManager / Mailbox stuff which is used by IMAP.
>>>>
>>>> So if a user login via POP3 he will just see the folder called INBOX
>>>> and nothing else. With IMAP he will see all folders. Thats exactly
>>>> what dovecot and courier does ( both heavy used unix imap/pop3
>>>> servers).
>>>> Another advance is that we elimate one more dependency on storing
>>>> mails via javamail, which is not the way to go for the future ...
>>>> On the downside we will break backward-compatibility with every James
>>>> release we did before. So we will need to write a "migration" tool,
>>>> but this should not be to hard.
>>>>
>>>> Because the change is so heavy, I dedicited to attach it to JIRA  for
>>>> review and not commit it directly.
>>>>
>>>> You can find it here:
>>>> https://issues.apache.org/jira/browse/JAMES-983
>>>>
>>>> So what do you think ?
>>>
>>> +1 on the proposal, (didn't review the code).
>>>
>>> This is what I suggested a long time ago, (and maybe if I search the
>>> archives I'll find it, but if not than I wish that I would have
>>> suggested it).
>>>
>>> Can you outline why is this such a big change and where the risks are
>>> (except for running faster ;-)?
>>>
>>>  Bernd
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
>>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>
>>
>
>
> Bye,
> Norman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to