Hi John,
I just took a quick look at your setup and noticed a discrepancy in some
of your directory locations. In the first part of your email you stated
your directory structure was:
...
So now my directory/file setup is now like this:
/home/vpopmail/domain.com/user/.qmail
/home/vpopmail/domain.com/user/.qmail-default
/home/vpopmail/domain.com/user/Maildir/
*/home/vpopmail/domain.com/user/.tmda/*
/home/vpopmail/domain.com/user/.tmda/config
/home/vpopmail/domain.com/user/.tmda/crypt_key
/home/vpopmail/domain.com/user/.tmda/filters/
/home/vpopmail/domain.com/user/.tmda/lists/
/home/vpopmail/domain.com/user/.tmda/logs/
You then showed us your .qmail file:
...
---Begin---
#| /var/qmail/bin/preline /home/vpopmail/tmda-1.1.12/bin/tmda-filter
-S /home/vpopmail/bin/vpopmail-vdir.sh
| /var/qmail/bin/preline /home/vpopmail/tmda-1.1.12/bin/tmda-filter -c
*/home/vpopmail/domains/domain.com/user/.tmda*/config
./Maildir/
---End---
What jumped out at me was the extra directory "domains" between
"vpopmail" and "domain.com"
Further since you are in a virtual domain setup, you do need to ensure
that the $HOME environment variable is getting setup properly so that
the tilde "~" expansion will work, otherwise you should use full paths
within your config file as you did with the CRYPT_KEY_FILE variable.
And my .tmda/config
---Begin---
# -*- python -*-
MAIL_TRANSFER_AGENT = "qmail"
RECIPIENT_DELIMITER = "-"
DELIVERY = "~/Maildir/"
BARE_APPEND = "~/.tmda/lists/whitelist"
CONFIRM_APPEND = "~/.tmda/lists/whitelist"
LOGFILE_DEBUG = "~/.tmda/logs/debug"
LOGFILE_INCOMING = "~/.tmda/logs/incomging"
#CRYPT_KEY_FILE = "~/.tmda/crypt_key"
CRYPT_KEY_FILE = "/home/vpopmail/domains/domain.com/user/.tmda/crypt_key"
---End---
Have you tried running tmda-filter yourself? A simple test to see if
your setup is working is to just issue a command similar to the following:
$ tmda-filter -M [EMAIL PROTECTED] [EMAIL PROTECTED]
where [EMAIL PROTECTED] is one of the following:
* the address of your TMDA user e.g. [EMAIL PROTECTED]
* a valid tagged address generated using the tmda-address script
e.g. [EMAIL PROTECTED]
* an invalid tagged address generated using the tmda-address script
e.g. [EMAIL PROTECTED]
and where [EMAIL PROTECTED] is an address is your whitelist when
using the first recipient address form and a non white listed address
when using the second recipient address form.
If possible you should run these tests from the same user that processes
you incoming mail so you can be sure that there aren't any file
permission issues preventing qmail from executing your tmda filter
setup. Which brings me to my next question, You did set the permissions
on your tmda related files as per the documentation right?
Good luck with the rest of your debugging,
- Dave
begin:vcard
fn:David Grimberg
n:Grimberg;David
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
version:2.1
end:vcard
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users