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,87345727b505753d,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn?= Persson Newsgroups: comp.lang.ada Subject: Ann: Milter API Date: Sat, 18 Apr 2009 18:35:49 +0200 Message-ID: <74udr5F14i3koU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: individual.net b7l9MG10KqRrJBJXpQPk4g0rsKmo72iS8Qi+e+aNSesJETUb/e Cancel-Lock: sha1:ygJrjS/VMpOvDbR6OV9BQkC1EoA= User-Agent: KNode/0.10.9 Xref: g2news2.google.com comp.lang.ada:5504 Date: 2009-04-18T18:35:49+02:00 List-Id: I needed to write a milter to expel the spammers from my mailbox, and naturally I wanted to write it in Ada. I couldn't find a binding to Libmilter so I made one. I present the first public version of the Ada Milter API: http://www.rombobj�rn.se/Milter_API The binding is in a "works for me" state. It's written to match the version of Libmilter that comes with Sendmail 8.13.8, because that's what I currently have on my server. It provides almost all of the features in that version of Libmilter, but a few pieces are missing because I don't use them and they weren't trivial to implement. Later versions of Libmilter also have new features that the binding doesn't support yet. I use Milter API with Postfix 2.3.8 and it's working great, but functions that I don't use are pretty much untested. I haven't even tried it with Sendmail, because I use Postfix. There is also a binding to the syslog functions, which Milter API uses: http://www.rombobj�rn.se/System_Log Thanks in part to Milter API, I no longer need to obfuscate my email address. -- Bj�rn Persson PGP key A88682FD