Josh Lavin wrote:

On Tue, 19 Oct 2004 15:55:32 -0600, Stephen Warren
<[EMAIL PROTECTED]> wrote:

Josh Lavin wrote:

With the virtualdomain contact user (the prepend) being the TMDA user,
it works fine.

What do you mean by contact user? Are you talking about the userid/gid that qmail delivers mail as? Or, do you simply mean having more than one email address map to the same delivery directory and TMDA configuration?


I'm referring to the contact user as the "prepend" part in
"domain:prepend" as seen in virtualdomains.

But my desire is to have the virtualdomain contact user _not_ be the

TMDA user. This is not possible using "domain:prepend" in the virtualdomains file (where prepend is not the TMDA user).

I don't quite understand this, as above...

I'd like the "prepend" to be one user: josh. Josh does not have TMDA enabled. Josh has a .qmail-joshua file that sends joshua's mail to the "joshua" user, who has TMDA enabled.

OK. I think I understand...

You use the virtual domains feature so that all email for a specific domain gets sent to user josh, so [EMAIL PROTECTED] gets sent to "user" josh-xxx and all the qmail config is in josh's home directory. Likewise, email to [EMAIL PROTECTED] gets sent to [EMAIL PROTECTED]

If that's it, then what you need is a pretty simple extension of the answer to your other question:

In josh's home directory, you have .qmail/.qmail-default to catch mail sent to any address in your domain that isn't explicitly handled elsewhere.

For user [EMAIL PROTECTED], you'll need files .qmail-joshua/.qmail-joshua-default in josh's directory. These should route email to TMDA, with a command-line parameter to specify the location of joshua's TMDA configuration. Similarly, you could have .qmail-xxx/.qmail-xxx-default for [EMAIL PROTECTED] etc.

You can next extension addresses in .qmail, I believe to pretty much arbitrary levels. I believe TMDA should support arbitrary nesting of these extensions, since when it processes email to [EMAIL PROTECTED], TMDA starts looking for extension components from the right-hand-side of the email for "confirm" tags etc.

--
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
[EMAIL PROTECTED]     http://www.wwwdotorg.org/pgp.html

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to