Hi,
I recently upgraded my TMDA install to 0.68, which gave me the following
errors:
Uncaught Python 2.2.2 Exception (Tue Jan 28 11:06:12 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 763, in ?
main()
File "/usr/local/bin/tmda-rfilter", line 758, in main
do_default_action(default_action, 'action_incoming', bouncetext)
File "/usr/local/bin/tmda-rfilter", line 392, in do_default_action
bouncegen('request')
File "/usr/local/bin/tmda-rfilter", line 661, in bouncegen
send_bounce(bounce_message, mode)
File "/usr/local/bin/tmda-rfilter", line 362, in send_bounce
ar.create()
File "/usr/local/lib/python2.2/site-packages/TMDA/AutoResponse.py", line
171, in create
errors='replace')
TypeError: __init__() got an unexpected keyword argument 'errors'
Thinking that this was probably handelled by now, I grabbed a CVS snapshot
of roughly 11 o'clock today. This made the load on my server sky-rocket to
roughly 8.00, so I quickly killed it off (and subsequently got heaps of
spam, of course). The error I get from that one is:
Uncaught Python 2.2.2 Exception (Tue Jan 28 11:39:35 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 143, in ?
mta = MTA.init(Defaults.MAIL_TRANSFER_AGENT, Defaults.DELIVERY)
TypeError: init() takes no arguments (2 given)
Thinking that this has to do with initialisation in both instances,
perhaps my config file should be updated? Or is this a genuine bug?
Here follows my config file
# -*- python -*-
MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "+"
DELIVERY = os.path.expanduser("~/mbox")
TEMPLATE_DIR = os.path.expanduser("~/.tmda/lists/templates")
WHITELIST = os.path.expanduser("~/.tmda/lists/whitelist")
#CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed")
CONFIRM_APPEND = WHITELIST
BARE_APPEND = WHITELIST
CONFIRM_APPEND = WHITELIST
PENDING_BLACKLIST_APPEND = os.path.expanduser("~/.tmda/lists/blacklist")
PENDING_DELETE_APPEND = os.path.expanduser("~/.tmda/lists/deleted")
PENDING_RELEASE_APPEND = WHITELIST
PENDING_WHITELIST_APPEND = WHITELIST
LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")
FILTER_INCOMING = os.path.expanduser("~/.tmda/filters/incoming")
ADDED_HEADERS_CLIENT = {'X-Primary-Address' : '[EMAIL PROTECTED]'}
ACTION_OUTGOING = "bare=append"
Thank you very much for your input. :)
Cheers
Nik
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users