Is what you sent wrapping or is it all on the same line?
It needs to be on the same line...

|preline -f /opt/tmda-1.0.3/bin/tmda-filter -c
/home/vpopmail/domains/mydomain.com/myuser/.tmda/config
./Maildir/

Sam


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Alberto García
Sent: Thursday, June 24, 2004 3:41 AM
To: [EMAIL PROTECTED]
Subject: Re: virtual domains problem


This is the config file i use. I'm using absolute paths:

CONFIRM_APPEND =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist"
DELIVERED_CACHE =
"/home/vpopmail/domains/mydomain.com/myuser/pending/.delivered_cache"
BARE_APPEND =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist"
PENDING_BLACKLIST_APPEND =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/blacklist"
PENDING_WHITELIST_APPEND =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/whitelist"
CRYPT_KEY_FILE =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/crypt_key"
CONFIRM_APPEND =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/lists/confirmed"
LOGFILE_DEBUG =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/debug"
LOGFILE_INCOMING =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/incoming"
LOGFILE_OUTGOING =
"/home/vpopmail/domains/mydomain.com/myuser/.tmda/logs/outgoing"

With this configuration i get this message
in /home/vpopmail/domains/mydomain.com/.tmda/logs/debug:

Uncaught Python 2.2.1 Exception (Wed Jun 23 22:44:12 2004):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/opt/tmda-1.0.3//bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/opt/tmda-1.0.3/bin/tmda-rfilter", line 175, in ?
    from TMDA import Defaults
  File "./TMDA/Defaults.py", line 1529, in ?
ConfigError: Can't find key
file: /home/vpopmail/domains/mydomain.com/.tmda/crypt_key

it seems like tmda is looking for the .tmda directory in the root of the
domain directory and not in the user directory.

I've done some changes to the .qmail-myuser file:
|preline -f /opt/tmda-1.0.3/bin/tmda-filter
-S /opt/tmda-1.0.3/contrib/vpopmail-vdir.sh
-c /home/vpopmail/domains/mydomain.com/myuser/.tmda/config
-t /home/vpopmail/domains/mydomain.com/myuser/.tmda/templates/

|/home/vpopmail/bin/vdelivermail '' 
|/home/vpopmail/domains/forzis.com/alberto

But it still won't work :-(

Thanks!

El Miércoles, 23 de Junio de 2004 15:17, Samuel Hill escribió:
> What does your /home/vpopmail/domains/mydomain.com/myuser/.tmda/config
> File say?
>
> It may be that it is not specified where anything is...
> Crypt key, debug files, etc.
>
> Sam
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Alberto García
> Sent: Wednesday, June 23, 2004 5:11 AM
> To: [EMAIL PROTECTED]
> Subject: virtual domains problem
>
>
> Hi,
>
> I'm having some problems to make tmda work.
> I'm running qmail + vpopmail (with virtuals domains) on debian woody. 
> I have created the .tmda directory structure in the users directory 
> (let say /home/vpopmail/domains/mydomain.com/myuser/.tmda/)
>
> my dot-file (lets say .qmail-myuser) is:
> |preline -f /opt/tmda-1.0.3/bin/tmda-filter
>
> -S /home/vpopmail/bin/vpopmail-vdir.sh myuser mydomain.com
>
> |/home/vpopmail/bin/vdelivermail '' 
> |/home/vpopmail/domains/mydomain.com/myuser
>
> when an email arrives, i get a failure message in /root directory!
>
> /root/TMDA_DELIVERY_FAILURE
>
> who caontains:
>
> Uncaught Python 2.2.1 Exception (Wed Jun 23 10:06:00 2004):
> -----------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/tmda-1.0.3/bin/tmda-filter", line 53, in ?
>     execfile(os.path.join(execdir, 'tmda-rfilter'))
>   File "/opt/tmda-1.0.3/bin/tmda-rfilter", line 175, in ?
>     from TMDA import Defaults
>   File "./TMDA/Defaults.py", line 1529, in ?
> ConfigError: Can't find key file: /root/.tmda/crypt_key Traceback 
> (most recent call last):
>   File "/opt/tmda-1.0.3/bin/tmda-filter", line 71, in ?
>     fp = open(LOGFILE_DEBUG, 'a')
> IOError: [Errno 2] No such file or directory: '/root/.tmda/logs/debug'
>
> It seems like tmda-filter isn't working with virtual domains (with 
> root user only).
>
> What am i doing wrong?
>
> Thanks!
>
>
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED]) 
> http://tmda.net/lists/listinfo/tmda-users
>
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED]) 
> http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

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

Reply via email to