Tim Legant wrote:
Well, this is certainly one problem.  Any string variables in your
.tmdarc file need to be quoted.  This should be

LOGFILE_INCOMING = "/var/log/tmda_incoming.log"

But in an earlier message you listed a different path (A/lnb/tmda/log/
or something similar) and that LOGFILE_INCOMING variable was correctly
quoted.  At this point I'm lost as to which server has the problem and
which .qmail files and TMDA configuration you are posting.

Try fixing this and we'll go from there, I guess.


Tim

Hi Tim,
Here again is my ~vpopmail/domains/crosswind.net/A/lnb/.tmdarc
#  NOTE: ~/.tmdarc must be chmod 400 or chmod 600

import os                                      # don't remove
import time
localtime = time.localtime(time.time())
YYYYmm = time.strftime('%Y-%m',localtime)
WHITELIST_AUTO_APPEND = 1

#####################################################################
# Optional variables; the rest may be omitted from the .tmdarc if you
# wish to take their sensible default values.  Random examples, and
# not defaults are shown below.  Consult Defaults.py for more info.
#####################################################################

ACTION_INCOMING = "confirm"

ACTION_OUTGOING = "dated"

# ALLOW_MODE_640 = 0

BARE_APPEND =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/lists/whitelist"

BOUNCE_ENV_SENDER = ''

CONFIRM_ACCEPT_NOTIFY = 1

CONFIRM_ACCEPT_TEMPLATE =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/confirm_accept.txt"

CONFIRM_APPEND =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/lists/whitelist"

# CONFIRM_CC = "[EMAIL PROTECTED]"

CONFIRM_MAX_MESSAGE_SIZE = 50000

CONFIRM_REQUEST_TEMPLATE =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/confirm_request.txt"

DATADIR =
os.path.expanduser("/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/")

# DATED_TEMPLATE_VARS = 0

# FILTER_BOUNCE_CC = "[EMAIL PROTECTED]"

# FILTER_DROP_CC = "[EMAIL PROTECTED]"

FILTER_INCOMING =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/filters/incoming"

# FILTER_OUTGOING =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/filters/outgoing"

FULLNAME = "lnb"

# HMAC_BYTES = 3

HOSTNAME = "crosswind.net"

MESSAGE_FROM_STYLE = "angles"

# SENDER_TEMPLATE_VARS = 0

# TIMEOUT = "5d"

# TIMEZONE = "Pacific/Auckland"

USERNAME = "lnb"

USEVIRTUALDOMAINS = 1

VIRTUALDOMAINS = "/var/qmail/control/virtualdomains"

BOUNCE_TEXT_FILTER_INCOMING = """Message rejected by recipient."""

BOUNCE_TEXT_INVALID_CONFIRMATION = """This confirmation address is
invalid."""

BOUNCE_TEXT_NONEXISTENT_PENDING = """Your original message could not be
located."""

TEMPLATE_DIR ="/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/"

FINGERPRINT = ["message-id", "from", "date"]
LOGFILE_DEBUG =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log/tmda_debug.log"

LOGFILE_INCOMING =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log/tmda_incoming.log"

PENDING_DELETE_APPEND =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/lists/blacklist"

PENDING_RELEASE_APPEND =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda/lists/whitelist"

Just a note that although
/usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log exists, there is
no file in the log dir.

What I was trying to show you in the previous mail was, part of the
/root/TMDA_DELIVERY_FAILURE file. 

What I was trying to see was, by running by hand as root in the tmda/bin
dir, ./tmda-filter  and of course there was no argument to the command
line, if it worked in any way at all. It does. But, when mail is coming
in, what ever is supposed to set tmda into motion is not working.

Here is the output of tmda-filter by hand as user lnb with no args on
the Server with the problem we are trying to fix:

lnb@zing:/usr/local/src/tmda-0.56/bin$ ./tmda-filter
Exception ~/TMDA_DELIVERY_FAILURE
Looking at the contents of ~/TMDA_DELIVERY_FAILURE on the server with
the problems shows:

Uncaught Python 2.2.1 exception (Mon Sep  9 21:38:40 2002 UTC):
---------------------------------------------------------------
Traceback (most recent call last):
  File "./tmda-filter", line 50, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/src/tmda-0.56/bin/tmda-rfilter", line 115, in ?
    from TMDA import Defaults
  File "./TMDA/Defaults.py", line 171, in ?
ConfigError: Can't find key file: /home/lnb/.tmda/crypt_key
Traceback (most recent call last):
  File "./tmda-filter", line 64, in ?
    from TMDA.Defaults import LOGFILE_DEBUG
ImportError: cannot import name LOGFILE_DEBUG

Looking above, it just tells me that it can't find what it needs in ~lnb
which does make sense as there is no Maildir in any users /home 


Now the same output from my Server that has a good working tmda:

lnb@panda:/usr/local/src/tmda-0.42/bin$ ./tmda-filter
Can't open configuration file: /home/lnb/.tmdarc

Surely the difference in the output means more than just a different
version. I mean, I hope this is a clue we are looking for.

 

Thanks again,
Lanny

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

Reply via email to