Hi

I inherited a courier install that I'm trying to put tmda-1.1.9 on.
Currently I'm testing it for one user and having problems.  If anyone 
could review
the below and point me in the right direction that would be greatly 
appreciated.

I send mail to "[EMAIL PROTECTED]" and it get request for confirmation.
I reply to it, but my reply bounces back to me.

                           UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

<[EMAIL PROTECTED]>:
<<< Unknown user.



It seems to me I'm missing something pretty basic but the FAQ and 
instructions all say
"courier needs no further config" to work with tmda.  I'm at a loss as 
to what else I need
to configure? 

Here's some details I hope will help

Here's my .courier file

| /usr/local/bin/courierClamClient.pl | /tmda-1.1.9/bin/tmda-filter | 
/usr/lib/courier/bin/maildrop
(essentially antivirus scanning before passing to courier maildrop; I'd 
like to have tmda filtering happening before delivery if possible.)

I am seeing the message attempts in the user .tmda/pending dir & 
crypt_key is generated
[root@ .tmda]# ls
config  crypt_key  incoming.log  pending  responses

here's my config file (which I left pretty much default)
[root@ .tmda]# more config
# -*- python -*-

# ~/.tmda/config
#
# TMDA configuration file.  See
# http://wiki.tmda.net/ConfigurationVariables for descriptions of all
# the available options.

########################################################
# Required settings.  One from each section is required.
########################################################

MAIL_TRANSFER_AGENT = "qmail"
#MAIL_TRANSFER_AGENT = "postfix"
#MAIL_TRANSFER_AGENT = "exim"
#MAIL_TRANSFER_AGENT = "sendmail"

RECIPIENT_DELIMITER = "-"
#RECIPIENT_DELIMITER = "+"

DELIVERY = "~/Mailbox"
#DELIVERY = "/var/mail/%s" % os.environ.get("USER")
#DELIVERY = "~/Maildir/"
#DELIVERY = "|/usr/bin/procmail ~/.procmailrc-tmda"
#DELIVERY = "[EMAIL PROTECTED]"

####################################################
# Optional settings.
# Here are some recommended configuration variables.
####################################################

BARE_APPEND = "~/.tmda/lists/whitelist"
CONFIRM_APPEND = "~/.tmda/lists/confirmed"
LOGFILE_INCOMING = "~/.tmda/incoming.log"
LOGFILE_OUTGOING = "~/.tmda/outgoing.log"



This is the one error I'm seeing

[root@ mailtest]# more TMDA_DELIVERY_FAILURE

Uncaught Python 2.3.4 Exception (Mon Nov 27 17:11:51 2006):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/tmda-1.1.9/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/tmda-1.1.9/bin/tmda-rfilter", line 218, in ?
    orig_msgin_headers_as_raw_string = Util.headers_as_raw_string(msgin)
  File "./TMDA/Util.py", line 647, in headers_as_raw_string
ValueError: substring not found
Traceback (most recent call last):
  File "/tmda-1.1.9/bin/tmda-filter", line 69, in ?
    raise NameError, 'LOGFILE_DEBUG is not defined'
NameError: LOGFILE_DEBUG is not defined



_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to