Howdy list (and Gre7g),

When I 'installed' an account with tmda-cgi,
it created the following .qmail file in the
user's home dir (/usr/local/vpopmail/domains/trevarthan.int.wingnet.net/jesse):


------ begin .qmail file ------
|preline /usr/local/tmda/bin/tmda-filter
./Maildir/
------ end .qmail file ------


However, when I send a message to that user,
I get this in 
/usr/local/vpopmail/domains/trevarthan.int.wingnet.net/TMDA_DELIVERY_FAILURE:


------ begin failure snippet ------
Uncaught Python 2.2.2 Exception (Tue Jun 24 15:51:37 2003):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/tmda/bin/tmda-rfilter", line 118, in ?
    from TMDA import Defaults
  File "./TMDA/Defaults.py", line 1529, in ?
ConfigError: Can't find key file: 
/usr/local/vpopmail/domains/trevarthan.int.wingnet.net/.tmda/crypt_key
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-filter", line 69, in ?
    raise NameError, 'LOGFILE_DEBUG is not defined'
------ end failure snippet ------


To me, this looks an awful lot like tmda-filter doesn't
know where to look for my user's config file.

On my production server, which runs the antiquated qadmin-tmda,
our tmda .qmail files look like this:


------ begin qadmin-tmda .qmail file ------
|preline /usr/local/tmda/bin/tmda-filter -c 
/usr/local/vpopmail/domains/wingnet.net/jesse/.tmdarc -t 
/usr/local/vpopmail/domains/wingnet.net/jesse/.tmda
/usr/local/vpopmail/domains/wingnet.net/rene/Maildir/
------ end qadmin-tmda .qmail file ------


Note the -t and -c options to define template dir and config file.

What am I missing in my tmda-cgi installation to allow
TMDA to properly find my config file?

For reference, I have included my tmda-cgi configure statement
below:


------ begin configure statement ------
   ./configure --base-dir /usr/local/tmda --install-prefix /usr/local/tmda/tmda-cgi \
                --virtual-lookup 'vpopmail1 /usr/local/vpopmail/bin/vuserinfo ~' \
                --mode 'single-user' --target /usr/local/apache/cgi-bin/tmda.cgi \
                --program-auth /usr/local/vpopmail/bin/vchkpw
------ end configure statement ------


Thanks! (And BTW, tmda-cgi is looking pretty darn nice
from what I've seen thus far. I'm looking forward to
the migration from qadmin-tmda to tmda-cgi. Congrats
go to Gre7g and Jim Ramsay!)

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to