Hello folks, I'll try to be clear as I can.  I have a qmail server
running on CentOS 5 (qmailtoaster setup).  I am now trying to setup
TMDA and having a very difficult time.  I have read through as many
pages as I can find about it, but still nothing seems to work.

I think it's important to explain that I have a new machine with new
OS and new qmail install, with a bit of old configuration.  Let me see
if I can explain it clearly.  I had a server running Fedora Core 2 at
xyz hosting company.  They sucked.  We decided to host our mail server
in house.  So we bought a nice new server.  At xyz hosting I had
qmailrocks configuration with TMDA.  But my TMDA was a but
unconventional because I couldn't understand how it was supposed to be
setup and so after a lot of time I finally found a way that it would
work, not that it was supposed to, but it did work.  The
unconventional part was simply where the .tmda/config file was
located.  I had all of my .qmail-user and .qmail-user-default and
named my "config" file as ".tmda-user" files,  all located in
/home/vpopmail/domains/domain.com/.  And I hard coded all of the paths
to config files, etc., and everyone had their own config file, and I
also was using the mysql to hold some whitelists and blacklists.  And
it worked for a few years, so it couldn't have been all bad.

And now with my new server I've downloaded the latest TMDA.  I'm not
trying to upgrade at all, but just starting from scratch and re-doing
all of my TMDA configurations as they should be.  I've read all of the
instructions, and can't seem to get it working.  And the most
difficult part of it all is that my emails are not coming through, and
there aren't any log files or error files to consult for help.  I
currently have the same domain and users in that domain as previously
at xyz.  I was hoping to simply use the old configurations but that
doesn't seem to work.  So that's why I decided to download the latest
TMDA and start over from scratch on my TMDA setup.

Oh yeah, "domain.com" is not my real domain - and "user" is also
substituted for the real thing.

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/

and such.  It might be important to say that I don't yet have a
~/.tmda/pending folder yet, as no emails are even getting in that far.

Below is my .qmail file.  I had tried to use the ~ approach but it
wasn't working, so I also tried using full paths to everything, and it
also didn't work.  So line 1 and line 2 are the same thing, just
trying different ways.  I've also tried it without the full paths (|
preline tmda-filter -S /home/vpopmail/bin/vpopmail-vdir.sh) without
any luck either.  And yes I did move the vpopmail-vdir.sh file into
the /home/vpopmail/bin/ directory, and tested it manually and it seems
to work at the shell.

---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---

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---


So, when I send an email to the "user", with the .qmail file as shown
above, I don't get the email, and I don't get anything in my pending
file, and I don't get any debug logs and I don't get any incoming
logs.  I get nothing.  I've looked all over the place for one of those
"TMDA_DELIVERY_FAILURE" logs files and they don't exist anywhere.  So
if I comment out the top two lines in .qmail (dealing with TMDA), the
email does show up in my Inbox.  In fact all emails (loads of tests I
had been sending) start to show up in my Inbox.  But if I use either
lines 1 or 2, I don't get anything.

If anyone can tell me what is wrong I would greatly appreciate it.  Or
if anyone has any idea what to try, or how to get some log files to
work, I would appreicate that too.

Can you see anything that I've done wrong?  It must be me right?  Or
maybe I don't have some python package installed right?  I'm so
confused at this point.  I followed the instructions best that I
could.  This "user" that I am working with is my own personal account
and it existed in the prior setup.  If I need to get rid of it and use
a brand new user thats fine, but that doesn't make any sense since
qmail and vpopmail are able to use and send to this user and all of my
users just fine.  But I'm willing to try any suggestions.

Thanks
John
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to