I just upgraded from TMDA 0.76, to 0.78, and have some problem with
including Mailman lists. This worked fine in 0.76, so I'm not sure if
something significant has changed.
The following statement causes the trace shown below. I have five
statements like this in total (for five lists); removing them from the
incoming filter problem totally solves this issue.
I've since downloaded today's current release (tmda-CURRENT-20030531) to see
if that would help, but no luck.
The filters/incoming statement causing trouble is:
from-mailman -attr=members ~mailman/lists/adventure/config.pck
deliver=~/Maildir/
After a mail delivery attempt, ~/tmda_debug.log will log:
Uncaught Python 2.2.2 Exception (Sat May 31 04:14:09 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/src/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/src/tmda/bin/tmda-rfilter", line 797, in ?
main()
File "/usr/local/src/tmda/bin/tmda-rfilter", line 745, in main
orig_msgin_size)
File "./TMDA/FilterParser.py", line 971, in firstmatch
UnboundLocalError: local variable 'dbfile' referenced before assignment
Initially I thought there might be issues with permissions, but the files in
~mailman/lists/adventure/ are all 664 (and similarly the directories are
accessible).
Just to eliminate any possibility of other backlevel products, I've upgraded
Python to 2.2.2, and Mailman to 2.1.2 (all current releases).
Anyone have any ideas? I've worked on this for several hours and don't want
to start debugging code if I'm missing something obvious in the
configuration.
Thanks!
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users