> > Here's the errors I get in: > > /home/vpopmail/domains/test.dev/TMDA_DELIVERY_FAILURE > > > > Uncaught Python 2.2.2 Exception (Sat Nov 29 08:43:44 2003): > > ----------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/tmda/bin/tmda-filter", line 53, in ? > > execfile(os.path.join(execdir, 'tmda-rfilter')) > > File "/usr/local/tmda/bin/tmda-rfilter", line 175, in ? > > from TMDA import Defaults > > File "./TMDA/Defaults.py", line 1534, in ? > > ConfigError: Can't find key file: > > /home/vpopmail/domains/test.dev/.tmda/crypt_key > > Traceback (most recent call last): > > File "/usr/local/tmda/bin/tmda-filter", line 69, in ? > > raise NameError, 'LOGFILE_DEBUG is not defined' > > NameError: LOGFILE_DEBUG is not defined > > > > The crypt_key is in the users dir not the domain dir. Why is it looking > > here? > > Apparently it's not picking up the -c parameter that tells it to look > for the test user's config file in ./test.dev/test/.tmda. > > > I used vadduser-tmda when creating users. > > What dot-qmail files exist, either in test.dev/ or test.dev/test/? > vadduser-tmda should have created test.dev/.qmail-test and > test.dev/.qmail-test-default. If you have a .qmail-test, please post > its contents here.
# ls -l .qmail* /home/vpopmail/domains/test.dev/test -rw------- 1 vpopmail vchkpw 52 Nov 29 09:00 .qmail lrwxrwxrwx 1 vpopmail vchkpw 6 Nov 29 08:19 .qmail-default -> .qmail ls -l .qmail* /home/vpopmail/domains/test.dev -rw------- 1 vpopmail vchkpw 74 Nov 29 08:29 .qmail-default -rw-r--r-- 1 vpopmail vchkpw 229 Nov 28 20:36 .qmail-test -rw-r--r-- 1 vpopmail vchkpw 232 Nov 28 20:39 .qmail-test2 lrwxrwxrwx 1 vpopmail vchkpw 44 Nov 28 20:39 .qmail-test2-default -> /home/vpopmail/domains/test.dev/.qmail-test2 lrwxrwxrwx 1 vpopmail vchkpw 43 Nov 28 20:36 .qmail-test-default -> /home/vpopmail/domains/test.dev/.qmail-test # cat /home/vpopmail/domains/test.dev/.qmail-test |preline -f /usr/local/tmda//bin/tmda-filter -c /home/vpopmail/domains/test.dev/test/.tmda/config -t /home/vpopmail/domains/test.dev/test/.tmda/templates/ |/home/vpopmail//bin/vdelivermail '' /home/vpopmail/domains/test.dev/test > > Also why the error: > > > > NameError: LOGFILE_DEBUG is not defined > > Because you haven't defined LOGFILE_DEBUG in any config file that TMDA > can find. TMDA falls back to ~/TMDA_DELIVERY_FAILURE when it can't > find this variable, so it's not a real problem. Eventually, you may > want to maintain separate debug log files for individual users and you > can set it then (in each users config file) to point to a file in the > user's home directory. I added the following line to /home/vpopmail/domains/test.dev/test/.tmda/config LOGFILE_DEBUG = "/home/vpopmail/domains/test.dev/test/tmda/log" Yet it's still logging to /home/vpopmail/domains/test.dev/TMDA_DELIVERY_FAILURE ron _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
