Opps, forgot to send to the group as well.....
On Thu, Aug 7, 2008 at 2:03 PM, Tek Support <[EMAIL PROTECTED]> wrote: > Hi David, I didn't know I could test tmda-filter myself, thank you for > that info. And I do think the vpopmail/domains is appropriate as > that's how vpopmail gets installed. Perhaps because I've changed my > real domain to the word 'domain.com', it looks funny. > > For instance, the path does look like this: > /home/vpopmail/domains/mydomain.com/username/ > > Which is appropriate from everything I know. Because vpopmail uses > the /home/vpopmail/domains/ folder to store a folder for each of your > virtual domains. > ie. > /home/vpopmail/domains/mydomain1.com/ > /home/vpopmail/domains/mydomain2.com/ > /home/vpopmail/domains/mydomain3.org/ > etc. > > But I'll go in now and see what I can about the tmda-filter manual test. > > Thanks > John > > > 2008/8/7 David Grimberg <[EMAIL PROTECTED]>: >> 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 >> > _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users