Hi Joel,

Actually, I already tried what you suggested, and it didn't work (which
is why I posted on the mailing list). What happens is when qmail hits
.qmail-user1, it will rewrite the receiver's email address according to
the instructions in that file.  So, [EMAIL PROTECTED], will hit
.qmail-user-default (not .qmail-user), and the receiptor will be
rewritten as [EMAIL PROTECTED] (which takes away the user-email
account I wanted to reach in the first place).

I'm wondering if the solution is not to put all the domains I want in
the "locals" file in /var/qmail/control.

Any reasons why this shouldn't be done?  Only restrictions seem to be
that someone in domain1 can't have the same username as domain2

Joel Shellman wrote:
> 
> "John L. Fjellstad" wrote:
> >
> > Hi Joel,
> >
> > Thanks, that answers half of my questions.  I still have my original
> > problem, though, which was to give the user dot-qmail (alias) control.
> >
> > Example of what I mean:
> > I have an account [EMAIL PROTECTED]
> > I like to create a (very small) mailing list using the qmail mechanism,
> > something like [EMAIL PROTECTED] stored in .qmail-list.
> > I want to let the users create the dot-qmail files in their home
> > directories, but the below suggestion looks like they have to access to
> > the ~domain-user directory?  Is it possible to give them 'normal'
> > dot-qmail features?
> >
> > Any suggestions?
> >
> > Thanks,
> >
> > Joel Shellman wrote:
> >
> > >
> > > In the virtualdomains file you have something like:
> > > domain1.com:username1
> > > domain2.com:username2
> > > domain3.com:username3
> > >
> > > Then you have the .qmail-whatever's in the three user's home
> > > directories.
> > <snip snip>
> > > ~username2/.qmail
> > > ~username2/.qmail-whatever3
> > > ~username2/.qmail-whatever4
> > > etc.
> >
> 
> Did you find the answer to your question yet? What you mention is a
> little complicated but I believe you can do it by using something like
> [EMAIL PROTECTED]
> Then in virtualhosts
> domain.com:domainuser
> 
> then in domainuser's directory:
> .qmail-user
> and that file contains:
> &finaluser
> 
> and in finaluser's directory:
> .qmail-user-email
> which contains wherever you wanted [EMAIL PROTECTED] to go
> 
> I believe something like that will work.


-- 
John______________________________________________________________________
email: [EMAIL PROTECTED]
http://www.bayarea.net/~jfjellst/
work: [EMAIL PROTECTED]
icq: thales @ 17755648

Reply via email to