TMDA 0.81 "Swaps" is released

"Jason R. Mastaler" <[email protected]> Tue, 22 Jul 2003 11:50:56 -0600 (MDT)
Newsgroups gmane.mail.spam.tmda.announce
Message-ID <[email protected]>
TMDA 0.81 "Swaps" is released.

Get it from <URL:http://us.tmda.net/releases/tmda-0.81.tgz>

See <URL:http://us.tmda.net/upgrade.html> for upgrade instructions.

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

What's new?

* tmda-ofmipd: A new '-t/--throttle-script' option from Gre7g
  which lets you set a "throttle" script.  The script is called
  whenever a user tries to send mail (it is passed the sender's
  authentication user name) and may return 0 to permit or non-0 to
  prevent tofmipd from sending mail.

* tmda-filter: A new '-p/--print' option from Tim to print
  successfully confirmed or filtered messages to stdout rather than
  delivering them.  See 'tmda-filter --help' for more info.

* Improved virtual domain support for tmda-filter from Tim.
  See <URL:http://us.tmda.net/tmda-vdomains.html> for more
  information.

* New from-sql/to-sql filter file rules from Tim.  These rules
  use Python DB API 2.0 modules to support various databases with the
  same code.  See <URL:http://us.tmda.net/filter-sources.html> for
  more information.

* New variables DB_BARE_APPEND and DB_CONFIRM_APPEND for automatically
  inserting addresses into an SQL database.  For more info, see:

  <URL:http://us.tmda.net/config-vars.html#DB_BARE_APPEND>
  <URL:http://us.tmda.net/config-vars.html#DB_CONFIRM_APPEND>

* Bugfixes.

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

Here are the new additions to UPGRADE:

* The {from,to}-mysql rules have been replaced by from-sql and
  to-sql.  See <URL:http://tmda.net/filter-sources.html> for details
  on the use of the new rules.

* The -domains argument to filter rules that search files or databases
  has been removed.  The domains of the sender or recipient addresses
  are now always added to the list of search keys.  The behavior of
  the rules is the same as before; you just don't need to specify the
  -domains argument anymore.

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

ChangeLogs since release 0.80

2003-07-22  Jason R. Mastaler  <[email protected]>

	* TMDA 0.81 is released.

2003-07-18  Tim Legant  <[email protected]>

	* MTA.py (MTA.deliver, MTA.stop, Qmail.deliver): Added support for
	the delivery when Defaults.DELIVERY = '_filter_'.

	* Deliver.py (Deliver.get_instructions, Deliver.deliver): Added
	support for the '_filter_' style of delivery, where the message is
	simply piped to stdout.

2003-07-11  Tim Legant  <[email protected]>

	* Defaults.py: New variables DB_BARE_APPEND and
	DB_CONFIRM_APPEND.

	* FilterParser.py (FilterParser): Removed {from,to}-mysql code.
	Moved __create_sql_params method to module-level function
	create_sql_params.  Removed -domains argument and always add the
	domains into the keys.  Made the domains list contain only unique
	domains.

	* Util.py (db_insert): New function, used by the DB_BARE_APPEND
	and DB_CONFIRM_APPEND code.

2003-07-01  Tim Legant  <[email protected]>

	* Util.py (filter_match): Create FilterParser with DB_CONNECTION.

	* FilterParser.py (FilterParser): Fixed two regular expressions
	that were too "greedy".
	(__create_sql_params, __create_sql_criteria, __get_column_index):
	New SQL support functions.
	(__search_sql): Main SQL searching function.
	(firstmatch): Added from-sql/to-sql rules.  Should work for any
	SQL database that has a Python DB API 2.0 module.

	* Defaults.py (DB_CONNECTION): New variable.

2003-06-25  Tim Legant  <[email protected]>

	* Address.py: Fixed ConfirmAddress, removed formatting code from
	DatedAddress.timestamp().

2003-06-20  Gre7g Luterman  <[email protected]>

	* Fixed a bug in the LDAP code found by Chet McNeill.

2003-07-18  Tim Legant  <[email protected]>

	* tmda-rfilter (opt processing): Added '-p/--print' option to
	print successfully confirmed or filtered messages to stdout rather
	than delivering them.  This allows tmda-filter to work as a filter
	in maildrop and procmail.

2003-07-11  Tim Legant  <[email protected]>

	* tmda-inject (make_field): Added code to insert recipient into
	database using the SQL code in DB_BARE_APPEND if both
	DB_BARE_APPEND and DB_CONNECTION are set.  Mimics BARE_APPEND
	functionality.

	* tmda-rfilter (verify_confirm_cookie): Added code to insert
	sender into database using the SQL code in DB_CONFIRM_APPEND if
	both DB_CONFIRM_APPEND and DB_CONNECTION are set.  Mimics
	CONFIRM_APPEND functionality.

2003-07-01  Tim Legant  <[email protected]>

	* tmda-rfilter (main): Create FilterParser with DB_CONNECTION.

	* tmda-inject (main): Create FilterParser with DB_CONNECTION.

2003-06-25  Tim Legant  <[email protected]>

	* tmda-check-address (main): Imported Defaults.py.  Fixed some
	unusual code that apparently doesn't work in later versions of
	Python (different exceptions are raised than were caught).

	* (formattime): New function.

2003-06-17  Tim Legant  <[email protected]>

	* tmda-rfilter (setvuserhomedir): New function.  Called during
	argument processing if the -S (--vhome-script) flag is given to
	update $HOME with the virtual user's home directory.

	* (usage docstring): Added documentation for -S / --vhome-script.

	* (USEVIRTUALDOMAINS): Small fix to make wildcard
	domains in VIRTUALDOMAINS work properly.

2003-06-15  Gre7g Luterman  <[email protected]>

	* tmda-ofmipd: Added a new -t parameter which lets you set a "throttle"
	  script.  The script is called whenever a user tries to send mail
	  (it is passed the sender's authentication user name) and may return
	  0 to permit or non-0 to prevent tofmipd from sending mail.

2003-06-17  Tim Legant  <[email protected]>

	* vmailmgr-vdir.sh, vpopmail-vdir.sh: Modified to return error
	code if home directory lookup fails.

2003-07-11  Tim Legant  <[email protected]>

	* filter-sources.ht: Removed {from,to}-mysql documentation, moved
	-domains documentation to top, since now it is default behavior.

2003-07-09  Tim Legant  <[email protected]>

	* filter-sources.ht: Added section on new sources 'from-sql' and
	'to-sql'.

2003-07-04  Tim Legant  <[email protected]>

	* tmda-vdomains.ht (Title): Added information on tmda-filter's
	ability to work with virtual domains.  Removed unnecessary babble
	about how virtual domains work.  Cleaned up a few examples.  Fixed
	internal links.

2003-07-03  Jason R. Mastaler  <[email protected]>

	* upgrade.ht (Title): New file.

____________________________________________
tmda-announce mailing list
http://tmda.net/lists/listinfo/tmda-announce