From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2b909902584f450a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feed.xsnews.nl!border-1.ams.xsnews.nl!68.142.88.75.MISMATCH!hwmnpeer01.ams!news.highwinds-media.com!feeder5.cambrium.nl!feed.tweaknews.nl!posting.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: ANN: Basil -- Internet Message (email) and MIME library for Ada v 1.0 References: <3d42731b-4669-414e-87cc-454260ef62ec@d1g2000hsg.googlegroups.com> <1ff77708-02c3-4552-a8a0-128a7fc34581@27g2000hsf.googlegroups.com> Date: Tue, 22 Jul 2008 19:19:59 +0200 Message-ID: <877ibdhm4g.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:fTKzYcUoGNmT4gSWmzHF2vEQKjw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tele2 X-Trace: DXC=]Ck>fGhfSThni717EgDPgm6`Y6aWje^YjhkhM;8h5h[em@[o=d]MiOm8G;T20L8FagUWeHkEeeePl Xref: g2news1.google.com comp.lang.ada:1250 Date: 2008-07-22T19:19:59+02:00 List-Id: google1@hafdconsulting.com writes: > On Jul 22, 6:01 am, Ludovic Brenta wrote: >> Wow, this looks quite professional! Are you planning to merge your >> library into AdaCore's Ada Web Server (http://libre.adacore.com/aws), >> which already includes an SMTP client and server but apparently lacks >> the powerful mail handling capabilities of your library? > > Hi Ludovic. > > I hadn't considered merging with AWS. It seems mostly focused on RFC > 2821 (SMTP) and you actually wouldn't need MIME in an RFC 2821 MTA, > nor would you need SMTP in an MUA (or anything designed to run as a > client to an MTA like a mailing list server). Where Basil could > complement AWS is with its RFC 2822 structured header parsers, which > an MTA would need. > > Probably the best way to do it would be to make a glue package that > can translate AWS header objects into Basil header objects, so you can > use the structured header parsers, and then back again. I don't think > that would be very difficult and I could probably get that in the next > release. If you're planning to use AWS's SMTP client code, it looks like you're going to need this glue for your mailing list server anyway. The reason I wasn asking is not because I was interested in using your library; only because I think it is nice in general to consolidate small but related libraries into larger ones, or at least host them in common places, so that users can find them more easily. Another benefit is to avoid inconsistencies and incompatilibities between libraries, so that a single program can use several libraries simultaneously. And, of course, to reduce duplication of work. Speaking of which, is there a good reason why Basil needs its own "header objects" different from AWS's "header objects"? -- Ludovic Brenta.