After setting up tmda, I'm having problems and I think it relates more to how qmail is handling the .qmail file rather than tmda.  I've had qmail running on this machine for a couple of years now without a problem, but when I try to include the tmda-filter command in the .qmail file, all the mail sent to my user account gets left in qmail's mail queue.  No information is made in the ~/.tmda/logs/debug (or any other log file), so I don't think it even makes it to the tmda-filter program.  I've read the FAQ's and have been searching the mail archives without any luck; any assistance is greatly appreciated.
 
Here is some basic OS and installation information :
 
tmda-keygen -V : TMDA/0.81 "Swaps" (Python/2.2.3 on freebsd-4.0-RELEASE-i386)
Installation Type : tarball from tmda.net
MTA Type : qmail (not procmail or maildrop)
 
Here is how my tmda is set up (for user gjukema):
 
~/.qmail : 
    |preline /usr/local/tmda-0.81/bin/tmda-filter
    ./Maildir/
~/.qmail-default (symlink to .qmail)
 
~/.tmda/config :
    # qmail is default, but let's specify it anyway
    MAIL_TRANSFER_AGENT = "qmail"
    CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed")
    LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
    LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
    LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")
 
~/.tmda/filters/incoming
    from [EMAIL PROTECTED] confirm
 
~/.tmda/filters/outgoing
    from [EMAIL PROTECTED] bare
   
****
After sending mail (from [EMAIL PROTECTED]) to the user setup here ([EMAIL PROTECTED]), the mail remains in the qmail queue :
EG: qmail-qread :
    29 Jul 2003 06:25:31 GMT  #1024116  1641  <[EMAIL PROTECTED]>
            local   [EMAIL PROTECTED]
Once I remove the tmda-filter line in ~/gjukema/.qmail, qmail starts delivering the mail to the ./Maildir/. 
 
I've tested the incoming filter file using :
    /usr/local/tmda-0.81/bin/tmda-filter -M [EMAIL PROTECTED] [EMAIL PROTECTED]
 
and get the following output (which looks good to me) :
Checking /home/gjukema/.tmda/filters/incoming
    ---------------------------------------------
    To: [EMAIL PROTECTED]
    From: [EMAIL PROTECTED]
    ---------------------------------------------
    MATCH: from [EMAIL PROTECTED] confirm
 
Thanks in advance for any insight,
Geoff
 
PS. tmda is *exactly* what I've been after for some time - I can't wait to have it running!
 

Reply via email to