I've searched the archives, and can't find anyone else mentioning this, but
I found some things which were close.

After upgrading from v0.51 to v0.78, and at the same time changing from a UW
IMAP server (which used mbox files) to Courier IMAP (with Maildir files),
I've been reconfiguring a bunch of products. This may be related to the
conversion as well, but can't figure this one out.  Inbound messages that
are not on the whitelist throw this exception:

Uncaught Python 2.2.2 Exception (Mon Jun  2 21:25:05 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 789, in ?
    main()
  File "/usr/local/src/tmda/bin/tmda-rfilter", line 737, in main
    orig_msgin_size)
  File "./TMDA/FilterParser.py", line 972, in firstmatch
ImportError: No module named Mailman.Bouncer


Something I just checked after reading some other messages in the archive is
that pythonlib must be in the TMDA path, and it will use the first system
version on its path.  I found the old default Red Hat shipped version at:

/usr/lib/python1.5

which has since been renamed.

The actual version of Python TMDA should be picking up is
/usr/local/lib/python-2.2.  After the renaming, I just tested this, but am
still getting the above error.

I'm running on an old Red Hat 6.2 system which for a variety of reasons, its
actually easier to build things from source, so I'd rather understand why
this is happening.

Here is the ~/.tmda/config file, with comments removed to save space, and
thanks!



---
import os                                      # don't remove
MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "-"
ACTION_EXPIRED_DATED = "bounce"
ACTION_INCOMING = "confirm"
ACTION_OUTGOING = "dated=5d"
ALLOW_MODE_640 = 1
BARE_APPEND = "/u2/users/marty/.tmda/lists/whitelist"
BOUNCE_ENV_SENDER = ""
CONFIRM_ACCEPT_NOTIFY = 1
CONFIRM_APPEND = "/u2/users/marty/.tmda/lists/confirmed"
DATADIR = os.path.expanduser("~/.tmda/")
DATED_TEMPLATE_VARS = 0
DATADIR = os.path.expanduser("~/.tmda/")
DATED_TEMPLATE_VARS = 0
DELIVERY = "~/Maildir/"
FILTER_INCOMING = "/u2/users/marty/.tmda/filters/incoming"
FILTER_OUTGOING = "/u2/users/marty/.tmda/filters/outgoing"
FINGERPRINT = []
HMAC_BYTES = 3
HOSTNAME = "sprocket.com"
LOGFILE_DEBUG = os.path.expanduser("~/tmda_debug.log")
LOGFILE_INCOMING = os.path.expanduser("~/tmda_incoming.log")
MAIL_TRANSFER_AGENT = "postfix"
MESSAGE_FROM_STYLE = "angles"
OUTGOINGMAIL = "smtp"
PENDING_CACHE = os.path.expanduser("~/.tmda/pending/.msgcache")
PENDING_CACHE_LEN = 5000
PENDING_LIFETIME = "30d"
PENDING_RELEASE_APPEND = "/u2/users/marty/.tmda/lists/whitelist"
PENDING_WHITELIST_APPEND= "/u2/users/marty/.tmda/lists/whitelist"
PURGED_HEADERS = []
RECIPIENT_HEADER = "x-originally-to"
SENDER_TEMPLATE_VARS = 0
SENDMAIL = "/usr/sbin/sendmail"
SMTPHOST = "64.39.14.75"
TAGS_DATED = ['exp', 'd', 'expires', 'dated']
TAGS_KEYWORD = ['kw', 'hey', 'keyword']
TEMPLATE_DIR = "/u2/users/marty/.tmda/templates"
TIMEOUT = "5d"
USEVIRTUALDOMAINS = 0


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

Reply via email to