"Vladimir Potapov" <[EMAIL PROTECTED]> writes: > In /home/test/TMDA_DELIVERY_FAILURE I see : > > Traceback (most recent call last): > File "/usr/local/bin/tmda-filter", line 53, in ? > execfile(os.path.join(execdir, 'tmda-rfilter')) > File "/usr/local/bin/tmda-rfilter", line 118, in ? > from TMDA import Defaults > File "/usr/local/lib/python2.1/TMDA/Defaults.py", line 89, in ? > execfile(TMDARC) > File "/home/test/.tmdarc", line 3 > import os # don't > ^ > SyntaxError: invalid syntax
It looks like you have an extra space in front of the word 'import'. It should be in column 1 (no leading spaces). > bash-2.05b$ /usr/local/bin/tmda-pending -i -c /home/test/.tmdarc > Traceback (most recent call last): File > "/usr/local/bin/tmda-pending", line 167, in ? import email > ImportError: No module named email Above (in the traceback), the TMDA directory appears in the python2.1 directory (/usr/local/lib/python2.1/TMDA/). That's not right. It should be in /usr/local/lib/python2.1/site-packages. Once you have moved the TMDA directory (and everything in it) into the site-packages directory, TMDA should work fine. The message that you followed step-by-step is very out-of-date. Also, it's oriented toward Linux. I think TMDA is in the OpenBSD ports tree and you would probably have more luck installing it from there. The directory tree at ~/.tmda is still correct, but we recommend using ~/.tmda/config instead of ~/.tmdarc for your configuration file. The files have the same contents; the name and location are different. Then, read about how to set up filters at http://www.tmda.net/config-filter.html Details on the different filter rules can be found at http://www.tmda.net/filter-sources.html Finally, to set up Postfix correctly, follow the Postfix-specific instructions at http://www.tmda.net/config-pre.html http://www.tmda.net/config-server.html If you want to use address tagging on your outgoing mail, follow the instructions at http://www.tmda.net/config-client.html to configure your mail client to use the tmda-sendmail program instead of Postfix's sendmail program. You will also have to create an outgoing filter if you want any other tagging than the default (dated). The FAQ has some useful information for new users, especially in sections 4 and 5. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
