Tim Legant wrote:

> When TMDA has a problem and LOGFILE_DEBUG hasn't been set or it can't
> open LOGFILE_DEBUG, it writes the error out to a file called
> TMDA_DELIVERY_FAILURE in the home directory.  Since you tested this as
> root (it appears), the file should be in /root/TMDA_DELIVERY_FAILURE.

> The problem is that when you run tmda-filter from the command line,
> the environment variables it needs are not present, which is probably
> the error you'll find in TMDA_DELIVERY_FAILURE.

> Can you post any lines from /var/qmail/users/assign that mention your
> vpopmail user (lnb, I mean, not vpopmail)?  Also, any lines from
> /var/qmail/control/virtualdomains that mention lnb?


Hello Tim,

If I run it on one of the working servers that I run, it does work by
hand:
lnb@panda:/usr/local/src/tmda-0.42/bin$ ./tmda-filter
Can't open configuration file: /home/lnb/.tmdarc
lnb@panda:/usr/local/src/tmda-0.42/bin$

Now panda is not associated with crosswind. And as you see it runs an
older tmda. 

>From your last mail regarding both /var/qmail/control/virtualdomains and
/var/qmail/users/assign

The virtualdomains only contains domain info such as:
crosswind.net:crosswind.net

and the assign file contains only domain info as in:

+crosswind.net-:crosswind.net:90:90:/usr/home/vpopmail/domains/crosswind.net:-::
No actual users (as in lnb) are found in either of these two files.

As for the file in /root called /root/TMDA_DELIVERY_FAILURE
It contains entries such as:
Uncaught Python 2.2.1 exception (Sun Sep  8 13:22:26 2002 UTC):
---------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/src/tmda-0.56/bin/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 "/usr/local/src/tmda-0.56/TMDA/Defaults.py", line 604
     LOGFILE_INCOMING = /var/log/tmda_incoming.log
                        ^
 SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/usr/local/src/tmda-0.56/bin/tmda-filter", line 64, in ?
    from TMDA.Defaults import LOGFILE_DEBUG
  File "/usr/local/src/tmda-0.56/TMDA/Defaults.py", line 604
     LOGFILE_INCOMING = /var/log/tmda_incoming.log
                        ^
 SyntaxError: invalid syntax

Uncaught Python 2.2.1 exception (Sun Sep  8 13:22:44 2002 UTC):
---------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/src/tmda-0.56/bin/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 "/usr/local/src/tmda-0.56/TMDA/Defaults.py", line 604
     LOGFILE_INCOMING = /var/log/tmda_incoming.log
                        ^
 SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/usr/local/src/tmda-0.56/bin/tmda-filter", line 64, in ?
    from TMDA.Defaults import LOGFILE_DEBUG
  File "/usr/local/src/tmda-0.56/TMDA/Defaults.py", line 604
     LOGFILE_INCOMING = /var/log/tmda_incoming.log
                        ^
 SyntaxError: invalid syntax



Tim, thanks for your continuing help. On the server I am trying to fix
is 1200+ users who very much want to filter out some pretty disgusting
spam.

Regards,
Lanny

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

Reply via email to