TclMilter is a software package that enables implementation of Sendmail's Milter API interface in Tcl programming language.
It is important to note that you can only run, configure, or register callbacks for a milter from the first thread/interpreter the package is loaded into. However, to stop the milter from within Tcl, the package must be loaded in another thread. Only the "milter stop" command will function in secondary threads.
TclMilter is released under the GNU General Public License (GPL), and users can find details of this license in the file "license.terms." Some of the key features of TclMilter include:
- The smfi_opensocket command is replaced with milter main as an interface to smfi_main.
- The commands smfi_setconn, smfi_settimeout, smfi_setbacklog, and smfi_setdbg and settings typically provided through smfi_main are instead provided as milter configure options.
- Unlike libmilter, the smfi_register command can register and unregister callbacks at any time.
- TclMilter's milter setpriv command uses a hash table to set individual, custom variables with data to associate with a context, unlike smfi_setpriv that uses a single data storage value.
- The context provided to callbacks is an actual Tcl command that can be used to interact with the context.
This new release of TclMilter also includes updated TEA support files to version 3.6, and the configure script regenerated to fix configure errors under Linux.
Overall, TclMilter is an excellent package for developing custom scripted message rewriting and spam filtering processes using SendMail's Milter API. Its features and capabilities make it a popular choice among developers who require complex filtering processes.
Version 1.1: N/A