I have installed TMDA version 1.0.2 by building an RPM on RedHat 7.2.
Python version is 2.2 and TMDA is setup to work with qmail.  TMDA works fine
when running against text file lists of recipients to accept mail from,
however, once setting up an incoming filter against a MySQL database mail is
not delivered and errors are created.

The following is the error that is logged in TMDA_DELIVERY_FAILURE or in the
debug log when its turned on.

Traceback (most recent call last):
  File "/usr/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/bin/tmda-rfilter", line 891, in ?
    main()
  File "/usr/bin/tmda-rfilter", line 830, in main
    orig_msgin_size)
  File "/usr/lib/python2.2/site-packages/TMDA/FilterParser.py", line 1030,
in f\
irstmatch
    found_match = self.__search_sql(
  File "/usr/lib/python2.2/site-packages/TMDA/FilterParser.py", line 843, in
__\
search_sql
    cursor = self.db_instance.cursor()
AttributeError: 'NoneType' object has no attribute 'cursor'

The SQL select query looks correct and the incoming filter line looks
correct.  Can any one shed some light on this?  Thanks.

Derek



_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to