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.

I have discovered this is not possible with TMDA and virtualdomains.

What I then thought to do was have a "[EMAIL PROTECTED]:prepend" line before
the same domain's "domian:prepend" line. To test it, I only used one
line, "[EMAIL PROTECTED]:joshua", leaving out the other normal
line of "thiamine.kdw.us:josh".

This configuration does not work with virtualdomains. The
mailer-daemon message I sent earlier was incorrect, my fault. After
fixing it, I resent a message to joshua, and confirmed it, but the
confirm bounced with "not in control/locals..."

Apparently, while [EMAIL PROTECTED] works fine, joshua-* does
not, in the "[EMAIL PROTECTED]:prepend" configuration.

I then put back the "thiamine.kdw.us:josh" line, and removed the
.qmail-joshua files.  Then the confirmation bounced with "no such
user".

>  > Alternatively, I would like to use "[EMAIL PROTECTED]" as the TMDA
>  > account, but is not this impossible with virtualdomains? (I know it's
>  > entirely possible if I don't care about virtualdomains.)
> 
> This should work fine. Simply have a .qmail/.qmail-default that don't
> use TMDA, and delivery just like normal, then add a
> .qmail-tmda/.qmail-tmda-default that call TMDA like a regular TMDA
> setup. TMDA should just work.

Confirmed that this works. It doesn't solve the problem above, but I
needed this config for another virtualdomain, so thanks!

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

Reply via email to