Re: Book on how to run your own mail server

Benoit TELLIER <[email protected]> Mon, 27 May 2024 15:51:26 +0200
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Good question ;-)

Yes that is exactly what JMAP is!

James supports JMAP with the cassandra backend and the (upcoming) 
PostgreSQL backend. It is not included in the JPA backend.

Short story long: in JMAP one can access messages with a global 
identifier, so independently of any mailbox. This was a big refactoring 
never undertook on top of the JPA implementation.

In case you look for a JMAP client, LINAGORA edits 
https://github.com/linagora/tmail-flutter/ which is compatible with 
Apache James (WebMail, Android, IOS). Also https://jmap.io is a good 
source of information on JMAP.

Best regards,

Benoit TELLIER

On 27/05/2024 15:19, Ilya Terskov wrote:
> Hi there, yeah i try it thanks for info :) can i ask about jmap future? I
> think its rly cool protocol like imap + activesync but open source and more
> standardized, for now only Cassandra have jmap?
>
> пн, 27 мая 2024 г., 16:10 Benoit TELLIER <[email protected]>:
>
>> Hi Ilya,
>>
>> Guice apps had been architected in that exact way.
>>
>> You can achieve the goal of building what we call "A tailor made server"
>> by writing your own assembly of guice module based on those defined in
>> https://github.com/apache/james-project/tree/master/server/container/guice
>> .
>>
>> We as a project provide an example of such assembly:
>>
>> https://github.com/apache/james-project/tree/master/examples/custom-james-assembly
>>
>> This approach allows you to define only the components you want and
>> minimize classpath dependencies as well.
>>
>> Is that your answer?
>>
>> Best regards,
>>
>> Benoit TELLIER
>>
>> On 24/05/2024 15:23, Ilya Terskov wrote:
>>> Well i personally find spring a little bit more stable than guice, but
>>> there also cassandra app and pulsar smtp app
>>>
>> https://github.com/apache/james-project/tree/master/server%2Fapps%2Fscaling-pulsar-smtp
>>> I sure puslar smtp can be done into fully mail combine. I really want
>>> minimal solution. Just like gentoo works - completely cut off pop3 and
>>> other stuff that not needed only imap,smtp and some other needed for full
>>> working chain
>>> How it can be done?
>>>
>>> пт, 24 мая 2024 г., 19:49 Benoit TELLIER <[email protected]>:
>>>
>>>> Hi Ilya,
>>>>
>>>> I and LINAGORA company uses Distributed James server CF
>>>> https://james.staged.apache.org/james-distributed-app/3.8.1/index.html
>>>> which I would consider being most stable (with RabbitMQ). Though
>>>> dependencies are hard to set up, expensive to host and complicated to
>>>> operate, and are more suitable for bigger deployments.
>>>>
>>>> An initiative with PGSQL is promissing but still young and likely not
>>>> mature enough.
>>>>
>>>> Althouth being the current default option (thanks to its simplicity and
>>>> absence of external dependency) the JPA code is old and inefficient. I
>>>> did performance test this a few months ago and it was mostly okish but
>>>> to be fair I consider it mostly as "legacy".
>>>>
>>>> And I would be happy to "kill" the Spring assembly :-)
>>>>
>>>> That's for my thoughts and I would agree we would need to have a simpler
>>>> to consume output as a project: there's too many artefacts to choose
>>>> from and as a user it is hard to navigate.
>>>>
>>>> Does this answer your question?
>>>>
>>>> Regards,
>>>>
>>>> Benoit
>>>>
>>>> On 24/05/2024 14:29, Ilya Terskov wrote:
>>>>> Hi there!
>>>>> Benoit sorry for disturbing you with my bugs :)
>>>>> Can i ask what better for stable production activemq, rabbitmq, pulsar
>> or
>>>>> something else? How can i add this to typical james pack of programs?
>>>>>
>>>>>
>>>>>
>>>>> пт, 24 мая 2024 г., 19:25 Benoit TELLIER <[email protected]>:
>>>>>
>>>>>> Hi Eugen!
>>>>>>
>>>>>> Thanks for the links.
>>>>>>
>>>>>> I pledged for two books, one for me, one for LINAGORA as a company. Of
>>>>>> course this might get really handy for both Apache James and for
>>>>>> services we provide @LINAGORA.
>>>>>>
>>>>>>     > I also plan to document the process and produce a guide that will
>>>>>> help otehr people that wish to self host with James.
>>>>>>
>>>>>> +1 !
>>>>>>
>>>>>> Bonus point on my side to do it with the brand new PGSQL backend ;-)
>>>>>>
>>>>>> Benoit
>>>>>>
>>>>>> On 23/05/2024 21:31, Eugen Stan wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> There is an ongoing campain for a book about self hosting an email
>>>>>>> server.
>>>>>>>
>>>>>>> It's not James specific but I believe it's of interest.
>>>>>>> The author claims the book is ready and from what I saw / and
>>>>>>> researched about him I trust he's speaking the truth.
>>>>>>>
>>>>>>> I pledged to get the ebook and hope to self host by the end of the
>>>>>>> year with Apache James.
>>>>>>> I also plan to document the process and produce a guide that will
>> help
>>>>>>> otehr people that wish to self host with James.
>>>>>>>
>>>>>>> Consider getting the book if you are self hosting or want to support
>>>>>>> more people self hosting.
>>>>>>>
>>>>>>>
>> https://www.kickstarter.com/projects/mwlucas/run-your-own-mail-server/description
>>>>>>> Regards,
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>