Tim, Thanks for the quick reply.
Jeff Tupper / Pedagoguery Software Inc <[EMAIL PROTECTED]> writes:My dot-qmail file is: (where USER is my username and [EMAIL PROTECTED] is where I want approved messages to go) ------------- /usr/home/USER/prelog |preline /usr/home/USER/tmda-0.68/bin/tmda-filter /usr/home/USER/postlog &[EMAIL PROTECTED] -------------This is fine.I've sent some test messages. Each test message gets appended to "/usr/home/USER/prelog" every few minutes: there are many copies of each test message in "/usr/home/USER/prelog". It seems that tmda-filter is asking for qmail to start over again with each message.That's correct. Most likely something is misconfigured in TMDA and it is deferring the message so you don't lose mail as a result of the misconfiguration. So... 1) Do you have a /usr/home/USER/.tmda directory?
Yes.
Yes. It is on a single line by itself; there is a \n after the key. (Initially there wasn't, but then I tried adding one during testing.)2) Did you generate a key using tmda-keygen and copy it to a file named crypt_key in the ~USER/.tmda directory?
There is no /etc/tmdarc file.3) Do you have either a global (/etc/tmdarc) or per-user (~USER/.tmda/config) configuration file? This isn't strictly necessary, but you mention that TMDA is not logging anything and, by default, that is true. You must enable logging in one or the other of these files. So to solve your problem, one of these config files is effectively a requirement.
I have a ~/.tmda/config configuration file, as follows:
--------------
CONFIRM_APPEND = "/usr/home/USER/.tmda/lists/confirmed"
LOGFILE_DEBUG = "/usr/home/USER/.tmda/logs/debug"
LOGFILE_INCOMING = "/usr/home/USER/.tmda/logs/incoming"
LOGFILE_OUTGOING = "/usr/home/USER/.tmda/logs/outgoing"
OUTGOINGMAIL = "smtp"
SMTPHOST = ...
HOSTNAME = ...
MAIL_TRANSFER_AGENT = "qmail"
--------------
I started with an empty (all commented out) config file and added the above lines one by one, testing each time.
Would my symptoms be expected if the SMTP server didn't want to send out mail? Would there then be no logging to any of the three log files specified in ~/.tmda/config ?
I tried specifying two different SMTP servers (the machine that tmda runs on as well as the smtp server I use for Eudora).
There is no ~/TMDA_DELIVERY_FAILURE file. (I did manage to generate this file once by executing tmda-filter from the command line rather than through qmail - the traceback seemed to indicate that it couldn't find the sender - not surprising since there was no message... After I deleted the file it hasn't since reappeared.)4) Do you have a ~USER/TMDA_DELIVERY_FAILURE file? If you have no log file defined, this is where TMDA will write the stack trace when it has an error. If you find this file, please post its contents.
Best wishes,
Jeff
--
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
