[Novalug] Why Python

Clif Flynt CLIF@CFLYNT.COM
Tue Jul 23 07:18:00 EDT 2013


On Mon, Jul 22, 2013 at 05:50:40PM -0400, Stuart Gathman wrote:

> When I needed to wrap the sendmail libmilter API in a scripting 
> language, I examined Perl, Ruby, Python, and Lua.   My favorite going in 
> was Perl, because I was using Larry Wall programs early in my open 
> source adventures.
> 
> libmilter requires support for C threads.
> ...
> <Tales of woe ellided>
> ...

  Perhaps a case of using the tools you know best.
  
  I wanted to be able to write my own milters, so I got tclmilter and
started writing my own milters in Tcl.
  
  Threads have been supported in Tcl since the '90s. Even the rather
bizarre sendmail thread allocation/deallocation works.

  I'll recommend an interface to a scripting tool for anyone wanting to
play with mail filtering.  The email landscape changes so quickly and
the attack profile can be so individual that writing rules to match
your site works better than pre-packaged filtering kits.

  This kind of string manipulation is where the scripting tools excell.
  
  Clif

-- 
... Clif Flynt ... http://www.cwflynt.com ... clif@cflynt.com ...
.. Tcl/Tk: A Developer's Guide (3'd edition) - Morgan Kauffman ..
.20'th Annual Tcl/Tk Conference:  Sep 23-27 New Orleans, LA, USA.
.............  http://www.tcl.tk/community/tcl2013/  ............








More information about the Novalug mailing list