Tim Legant ([EMAIL PROTECTED]) wrote:

> > |preline /home/vpopmail/tmda/bin/tmda-filter -c 
>/home/vpopmail/domains/lists.net/home/vpopmail/domains/lists.net/ggd/Maildir/
> 
> This looks very messed up.  Is it possibly a copy/paste error, or does
> the file look like this?  The -c flag is expecting the full path and
> filename of the ggd user's .tmdarc (or .tmda/config).  It looks as if
> you have /home/vpopmail/domains/lists.net and then the next line, the
> delivery line accidently got smashed into the end of the first line.

It is copy/paste error. I used the line generated automagically by
qadmin-tmda utility which uses the form:

|preline /path/tmda-filter -c /path ../ggd/.tmdarc -t /path ../ggd/.tmda

The ../tmda look has the contents:
vpopmail@gaura:~/domains/lists.net/ggd/.tmda > ls -al
total 15
drwxr-x---    5 vpopmail vchkpw        196 Kol 11 15:14 .
drwx------    9 vpopmail vchkpw        395 Kol 11 15:20 ..
-rw-rw----    1 vpopmail vchkpw        374 Kol  9 22:37 confirm_accept.txt
-rw-rw----    1 vpopmail vchkpw        546 Kol  9 22:37 confirm_request.txt
-rw-------    1 vpopmail vchkpw         41 Kol 11 15:14 crypt_key
drwxr-x---    2 vpopmail vchkpw         83 Kol  9 22:37 filters
drwxr-x---    2 vpopmail vchkpw         85 Kol  9 22:37 lists
drwxr-x---    2 vpopmail vchkpw        179 Kol 11 14:54 pending
vpopmail@gaura:~/domains/lists.net/ggd/.tmda >

while the ../tmda directory has the log subfolder.

> The first line could also look like this if you're using .tmdarc files:
> 
> |preline /home/vpopmail/tmda/bin/tmda-filter -c 
>/home/vpopmail/domains/lists.net/ggd/.tmdarc
> 
> Make sure that the file looks like one of the examples above.  You may
> have stored the user config files somewhere else, so just modify the
> above paths to match your system.


So mine match the 2nd example (plus path to template directory).
 
> You don't need the -sender links or the -dated links.  The
> -ggd-default link will take care of all of those.  So you really only
> need the basic .qmail-ggd file and the .qmail-ggd-default link.

This lines are created by qadmin-tmda, but I removed them.

> I set up a virtual domain on my system exactly like you have this set
> up.  You're not using vpopmail for incoming mail, only for the virtual
> POP user password management (and perhaps roaming support).  So I
> didn't install vpopmail.

Yes, at the moment I am just testing the whole setup on my localhost (before
installing everything on the server).

> DATADIR = "/home/vpopmail/domains/example.com/test/.tmda/"
> 
> With that one non-default setting, TMDA is working perfectly here.
> Investigate the DATADIR issue and the .qmail-ggd mangling above and
> let us know if you get any further.

I did everything as you explained, but still the same error -tmda doesn't strip
the prepend part (lists.net) and generates wrong Reply-To: address.

In tmda_incoming_log I see the following:
Date: Sun Aug 11 14:54:31 CEST 2002
From: ggd <[EMAIL PROTECTED]>
Rept: ggd <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: tmda test
Actn: CONFIRM action_incoming

Is it OK that To: address contains prepend part?

I was also inspecting tmda-rfilter Python code (although I'm not speaking 
Python) and the code which strip off the prepend is correct and the variable
vdomain_match should become "1".

I do not know why the prepend is not stripped off :-(

Any further advice for debugging?

Sincerely,
Gour

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

Reply via email to