Hello all,

I know this has been answered before.  I have seen the answer.  But I
can't remember the answer and I can't remember where I saw it before.

A search of the archive for this list was fruitless.

I am trying to set up a virtual domain to be controlled by a user.  I
want her to have complete control over the user names on this virtual
domain.  I'm afraid they'll conflict with other user names I might
eventually set up on other virtual domains in the future.  So I want
all of this configuration in her account, where she can mess with it
to her heart's content.

I do not want her to have to precede these usernames with her
username.  Ideally, qmail would see trek.parts-unknown.org and figure
it all out from .qmail files (or some other configuration) in her
account.

None of these users will be using POP on my server.  My firewall is
configured to prevent POP access (I don't like passwords in clear
text).  All of these users will have their mail forwarded to their
regular e-mail addresses.

For example, [EMAIL PROTECTED] will be forwarded to me at
[EMAIL PROTECTED]

The purpose of this is to set up a secondary MX for our Star Trek fan
club e-mail addresses.  The user in question uses /etc/aliases on her
sendmail setup to configure all this in a relatively compact form, so
it's not like she has a qmail setup I can duplicate.

I tried vpopmail.  It refused to do the configuration, saying that the
virtual domain already existed.  I grumpily understand this: I had
already started configuring the virtual domain.  So I tried removing
this configuration from the qmail control files.  But it still said
the virtual domain already exists.  I tried telling it to delete the
virtual domain, whereupon it said it couldn't add it.  vpopmail
doesn't seem to be helping.

So far I have added trek.parts-unknown.org to
/var/qmail/control/locals and /var/qmail/control/rcpthosts.  I have
put an entry in /var/qmail/control/virtualdomains which looks like:

        trek.parts-unknown.org:star

"star" is her username on my system.  I have set up a bunch of .qmail
files in her account.  One of these is .qmail-xo.  It contains my
e-mail address, [EMAIL PROTECTED]  Another of these is
.qmail-trek, which I think should apply to
[EMAIL PROTECTED], an ezmlm+idx mailing list with all our
members in it.

I can get to the mailing list if I change the above entry in
/var/qmail/control/virtualdomains to:

        trek.parts-unknown.org:star-trek

But then when I send her an e-mail on her virtual domain's username at
[EMAIL PROTECTED], it fails saying, "Sorry, no mailbox here
by that name."

She is able to receive mail on my system; I have a cron job which runs
under her account to mirror the fan club website which produces a
piece of mail for her every day.  When I su'd into her account and ran
mutt, it was all there.

In addition, I tried sending her an e-mail to her username on my
system but on the virtual domain, i.e [EMAIL PROTECTED]
This also got properly delivered.

What this looks like to me is that the virtual domain configuration is
having utterly no effect whatsoever.  I'm sure it isn't supposed to be
this way.  What am I missing?

-- 
David Benfell
[EMAIL PROTECTED]
---
The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature.
                -- Benjamin Franklin.

                                [from fortune]

                 

PGP signature

Reply via email to