"Trell" <[EMAIL PROTECTED]> writes:

> On our old configuration (and new) we have 1 qmail instance with
> multiple virtual domains. The only thing I notice that is weird
> is that when the tmda.cgi creates the .qmail-name file in the
> domains directory it is not actually creating it there. Example:
> $Doman_Dir: /opt/vpopmail/5.3.30/domains/trells.com
> $User: [EMAIL PROTECTED]
> There is no .qmail-trell in the $Domain_Dir
>
> Now in our old config there was a .qmail-trell in the $Domain_Dir
> however in our new setup (which is identical to the old) this file
> does not get created. Instead there is a .qmail and .qmail-default
> created in the $Domain_Dir/trell directory with the following...
>
> *** Contents of both .qmail and .qmail-default ***
> |preline /opt/tmda/0.90/bin/tmda-filter
> ./Maildir/

This looks like tmda-cgi wasn't told that you were using virtual
domains, so it creates normal, system-user .qmail and .qmail-default
files.  Maybe someone more familiar with tmda-cgi could help you
verify this?

> The log file captures the following...
> *** Content of the TMDA_DELIVERY_FAILURE ***
> Uncaught Python 2.2.3 Exception (Fri Dec 12 09:10:24 2003):
> -----------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/tmda/0.90/bin/tmda-filter", line 53, in ?
>     execfile(os.path.join(execdir, 'tmda-rfilter'))
>   File "/opt/tmda/0.90/bin/tmda-rfilter", line 175, in ?
>     from TMDA import Defaults
>   File "./TMDA/Defaults.py", line 1534, in ?
> ConfigError: Can't find key file:
> /opt/vpopmail/5.3.30/domains/trells.com/.tmda/crypt_key
> Traceback (most recent call last):
>   File "/opt/tmda/0.90/bin/tmda-filter", line 69, in ?
>     raise NameError, 'LOGFILE_DEBUG is not defined'
> NameError: LOGFILE_DEBUG is not defined
>
>
> Any suggestions as to what is going on? and why?
> Yes the /opt/vpopmail/5.3.30/domains/trells.com/.tmda/crypt_key
> does exist and is in the correct place.

If it really does exist, are the permissions correct?  I would guess
that, in your previous environment, it didn't exist.  Instead you had
/opt/vpopmail/5.3.30/domains/trells.com/trell/.tmda/crypt_key.  Note
that the user's directory --------------^^^^^ is in the path to the
crypt_key, whereas in the error message above it isn't.


Tim

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

Reply via email to