[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: [new] stalwart-jmap & stalwart-imap: JMAP server written in rust
From:       Landry Breuil <landry () openbsd ! org>
Date:       2022-10-31 22:15:40
Message-ID: Y2BJDDT5+omPfc4N () twilight ! rhaalovely ! net
[Download RAW message or body]


Le Sun, Oct 30, 2022 at 06:43:30PM +0100, Landry Breuil a écrit :
> Le Fri, Oct 07, 2022 at 04:44:05PM +0200, Landry Breuil a écrit :
> > hi,
> > 
> > here's two new wip ports for https://jmap.stalw.art/ and its counterpart
> > https://imap.stalw.art/ which serves as an IMAP proxy in front of the
> > JMAP server.
> > 
> > cf https://jmap.io/software.html for more details about JMAP.
> > 
> > i've had quite a struggle with some rust bits but in the end it builds,
> > packages and starts fine. Not properly tested yet, as its mandatory to
> > setup TLS certs for it.
> > 
> > it cant work yet with the mail/meli submission i've sent but it's being worked
> > on upstream.
> > 
> > as for the uids ive reused the ones from prelude/pfflowd:
> > 
> >  561 _rbldns            _rbldns         net/rbldnsd
> >  562 _smokeping         _smokeping      net/smokeping
> >  563 _postgrey          _postgrey       mail/postgrey
> > -#564 _prelude          _prelude        security/prelude
> > -#565 _pfflowd          _pfflowd        net/pfflowd
> > +564 _stalwart-jmap     _stalwart-jmap  mail/stalwart-jmap
> > +565 _stalwart-imap     _stalwart-imap  mail/stalwart-imap
> >  566 _tor               _tor            net/tor
> >  #567 _dk-milter                _dk-milter      mail/dk-milter
> >  568 _milter-greylist                   mail/milter-greylist
> 
> New version of the port:
> - used subdirs to factorize most bits in Makefile.inc
> - also includes stalwart-cli port to manage the jmap server
> - tweaked the rc script to log to syslog, a bit ugly with control chars..
> - tweaked the default conf for stalwart-imap, since it runs as an
>   unprivileged user it cant bind to 143/993
> - tweaked the conf to disable most certs as they're a pain to deal with
>   when one wants to quickly prototype, and TLS should be handled by a
>   reverse proxy anyway
> - written a README with all the bits & tweaks i've found so far to have
>   something running
> - tested:
>   - created domain/account, imported mbox
>   - mutt against stalwart-imap -> works, shows mails
>   - thunderbird against stalwart-imap -> lists mails, doesnt show mail
>     content
>   - toyed with curl to query jmap server, works
>   - meli over jmap chokes, reported upstream at
>     https://git.meli.delivery/meli/meli/issues/162
>   - wrangled with https://cypht.org JMAP support, being debugged in
>     https://github.com/jasonmunro/cypht/issues/180
> 

new version of the ports updated for the recent 0.2.0 releases, which
adds sieve/manage support.
cf https://github.com/stalwartlabs/imap-server/releases/tag/v0.2.0 &
https://github.com/stalwartlabs/jmap-server/releases/tag/v0.2.0

quite some wrangling with rust crates dependencies...

Landry

["stalwart-0.2.0.tgz" (application/x-tar-gz)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic