TMDA 0.45 is released

"Jason R. Mastaler" <[email protected]> Sat, 26 Jan 2002 14:24:42 -0700
Newsgroups gmane.mail.spam.tmda.announce
Message-ID <[email protected]>
TMDA 0.45 is released.

Get it from <URL:http://software.libertine.org/tmda/releases/tmda-0.45.tgz>

TMDA has a new primary download location.  See
<http://software.libertine.org/tmda/download.html> for more info.
Alpha releases (0.XX) will no longer be made available from
sourceforge.net.

Linux RPMs are no longer distributed since it is easy enough to build
them directly from the TMDA source tarball.  See
<http://software.libertine.org/tmda/install.html> for instructions on
how to do this.

Also, this will be the last release supporting Python 1.x.  Further
releases will require that you have Python 2.0 or higher installed.
This should only be a problem for RedHat Linux which seems to be the
only OS on the planet still shipping Python 1.5.2.  Fortunately,
RedHat 7.2 comes with python2 RPMs installed.  If you are running an
earlier version of RedHat, you can get Python 2.2 RPMs from
<http://www.python.org/2.2/rpms.html>.  The RPM spec file in the next
release of TMDA will be trained to use `python2' automatically.

This release features some nice improvements to the filter file syntax
courtesy of Tim Legant.  In particular, more flexible use of
whitespace, and a powerful new action that allows you to tag your
outgoing mail with multiple tag types.  The filter specification at
<http://software.libertine.org/tmda/config-filter.html> has been
updated accordingly.  For more detailed info on the new syntax changes
and the new "Tag" action, see
<http://mla.libertine.org/tmda-workers/200201/msg00090.html>.

tmda-keygen has a new command-line option (-d, --device) to specify a
random data source device other than /dev/urandom.

And as usual, bugfixes.

Here are the new additions to UPGRADE:

* Filter file rules must now start at the beginning of a line.  e.g,

  # invalid
    from johndoe ok

  # valid
  from johndoe ok

  See the documentation for more details on filter file syntax.

* 'headers' and 'body' filter file rules now use quotes (single or
  double) rather than parentheses to delimit the regular expression in
  the match field.

  # invalid
  headers (Subject: Site Down:.*) reject

  # valid
  headers "Subject: Site Down:.*" reject
  headers 'Subject: Site Down:.*' reject

* tmda-filter no longer looks for the `X-Originally-To' header by
  default.  If you need to retain this feature, set the following in
  your tmdarc:
  
  RECIPIENT_HEADER = "x-originally-to"

  See the related documentation for RECIPIENT_HEADER in Defaults.py.

=====================================================================

ChangeLogs since release 0.44

2002-01-26  Jason R. Mastaler  <[email protected]>

	* TMDA 0.45 is released.

2002-01-25  Jason R. Mastaler  <[email protected]>

	* FilterParser.py: Remove the trailing space in the matches regex.

	(FilterParser.firstmatch): If the regex in headers-file or
	body-file includes quotes, extract the regex from the quotes
	before matching.  This is so the -file methods are consistent with
	headers and body.

2002-01-24  Tim Legant  <[email protected]>

	* FilterParser.py: Changed 'matches' regular expression to expect
	either single or double quotes as the delimiters for the 'headers'
	or 'body' filter sources.

	* (FilterParser.__parserule): Text matched by 'matches' now
	appears in either group 2 or group 3.
	
2002-01-24  Tim Legant  <[email protected]>

	* FilterParser.py (FilterParser): Removed 'whitespace' and
	source_match regular expressions and added 'most_sources',
	'hdrbody_sources' and 'matches' regular expressions. Modified
	'tag_action' regular expression.
	
	* (FilterParser.__readrule): Changed whitespace collapse to simply
	substitue a space for every tab.

	* (FilterParser.__parserule): Rewrote to handle parenthesized
	regular expressions with embedded spaces (for the 'headers' and
	'body' sources).

	* (FilterParser.__adderror): Fixed massive bug. Should have been
	'__exception', not 'exception'.  When 'checking' was True, this
	resulted in a NameError exception.

	* (FilterParser.__buildactions): Fixed to handle multiple spaces
	between headers and actions.

	* (FilterParser.firstmatch): Created 'line' return value by
	calling new module-level function, '_rulestr'.

	* (_rulestr): New function.

2002-01-19  Tim Legant  <[email protected]>

	* FilterParser.py: Rewrite to support multiline,
	whitespace-delimited, multi-action filter files.  The only
	function that didn't change much is FilterParser.firstmatch.

	(FilterParser.firstmatch): Return value changed to a 2-tuple
	(dictionary of actions, string describing matching rule).  The
	string is not necessarily the exact string from the file because
	it's reconstructed when needed.  All callers needed to be
	changed.  These were Util.filter_match, tmda-inject and
	tmda-rfilter.

	* Util.py (filter_match): FilterParser.firstmatch return value changed.

2002-01-14  Jason R. Mastaler  <[email protected]>

	* FilterParser.py (FilterParser.firstmatch): For file based
	sources, no longer just skip the filter line if the file is
	missing or if an exception occurs.  Let the exception be raised so
	it will be caught by tmda-filter.

2002-01-11  Jason R. Mastaler  <[email protected]>

	* FilterParser.py (FilterParser.firstmatch): Also pass if
	cdb.error is raised while matching a CDB file.

	* Defaults.py (RECIPIENT_HEADER): New variable specifying the
	header whose contents will be taken as the envelope recipient of
	the message.

2002-01-09  Jason R. Mastaler  <[email protected]>

	* FilterParser.py (FilterParser.firstmatch): Add support for
	matching lists of addresses contained within a Mailman
	configuration database.

2002-01-22  Jason R. Mastaler  <[email protected]>

	* tmda-inject (main): Take recipients from the Resent-* headers if
	none are given as arguments, and we are resending the message.

2002-01-19  Tim Legant  <[email protected]>

	* tmda-rfilter (main): Account for change in
	FilterParser.firstmatch's return value.

	* tmda-inject (main): Ditto.

	(inject_message): Default envelope sender and Resent-From: to
	From:.  Generate multiple headers as specified in the filter file.

	(message_format): New function courtesy of Andy Bradford.

	(make_address): New function, mostly moved from inject_message.

2002-01-14  Jason R. Mastaler  <[email protected]>

	* tmda-filter (fp): Re-raise the exception when SystemExit is
	encountered, and catch all exceptions otherwise.

	(fp): Remove import of TMDA.Errors (no longer necessary).

2002-01-11  Jason R. Mastaler  <[email protected]>

	* tmda-rfilter (envelope_recipient): We no longer look for an
	X-*-Originally-To header by default.  Instead, we look for the
	header contained in RECIPIENT_HEADER if it's set by the user.

	(main): Only check for an unqualified envelope_sender and
	envelope_recipient if the MTA is Sendmail since the other MTAs
	always produce fully qualified addresses.

	(recipient_address): Only parse Defaults.VIRTUALDOMAINS if the MTA
	is qmail.  
	
2002-01-09  Jason R. Mastaler  <[email protected]>

	* tmda-rfilter (list_headers): Add `Mailing-List' to the list of
	headers to check for disabling auto-replies.

	(envelope_recipient): Look for X-TMDA-Originally-To instead of
	X-Originally-To.

2002-01-08  Jason R. Mastaler  <[email protected]>

	* tmda-keygen: Add a command-line option (-d, --device) to specify
	a different random data source device other than /dev/urandom.

2002-01-11  Jason R. Mastaler  <[email protected]>

	* sample.tmdarc: Add RECIPIENT_HEADER.

2002-01-26  Jason R. Mastaler  <[email protected]>

	* download.ht (Links): Mention that the tarball can be used to
	easily create an RPM package since it includes a tmda.spec file.

	* config-filter.ht (Links): Document the new filter file syntax,
	new tag action, and the new default action keyword.

2002-01-25  Jason R. Mastaler  <[email protected]>

	* results.ht (Links): Add freshmeat.net comment from Sven Neuhaus
	to user testimonials.

2002-01-24  Jason R. Mastaler  <[email protected]>

	* install.ht (Links): RPMs are now built/installed directly from
	the source tarball.

	* download.ht (Links): Update download locations.

2002-01-17  Jason R. Mastaler  <[email protected]>

	* bugs.ht: Added coding style preferences to the Patches section.

2002-01-14  Jason R. Mastaler  <[email protected]>

	* trouble.ht (Links): Recommend reading UPGRADE.

2002-01-11  Jason R. Mastaler  <[email protected]>

	* config-filter.ht (Links): Update python-cdb module link.

2002-01-08  Jason R. Mastaler  <[email protected]>

	* index.ht (Links): Link to the Client Configuration page, don't
	just refer to it.

	* results.ht (Links): Replace Robin Socha testimonial with
	<[email protected]>.
	
	* faq.ht: New entries: 

	- "Is TMDA planning to support Microsoft Exchange Server?"
	- "Can't spammers just setup an auto-responder to defeat TMDA?"
	
	* inuse.ht (Links): Add Paradigm-Omega, from Robin Lynn Frank.
	
_______________________________________________
tmda-announce mailing list
http://libertine.org/lists/listinfo/tmda-announce