I'm doing this very patch to both vpopmail and courier-imap as you discuss
it.  I will pass my changes back to you when I complete them later today.
:)

The change was very simple to make but it does not allow you to override
the uid or gid fields any longer. :(

Tim

On Wed, 5 Jan 2000, iv0 wrote:

> 
> I was looking at something similar yesterday. A vhosting setup where
> each domain put it's web files under a users directory and wanted to put 
> thier vpopmail email under that users directory too.
> 
> From the vpopmail code I thought of a way to handle it. Currenly it
> assumes the ~vpopmail/domains directory. But if instead
> it parsed that information from the /var/qmail/users/assign file.
> And change the vadddomain program to allow setting which uid/gid and
> directory to use for the domain directory.
> 
> Ken Jones
> www.inter7.com
> 
> > Rich Stock wrote:
> > 
> > I am somewhat new to qmail, but i have successfully(for the most part
> > anyhow) setup qmail on a couple servers,  It so far has been easy to
> > install and maintain.
> > However when i decided i would like to setup virtual domains I feel I
> > dont really understand how or why qmail works the way it does, and how
> > i can get it to work the way i would like(or something close to the
> > way i would like).  I am writing this with the hope that someone will
> > know what i need to do to get qmail completely setup the way I
> > envision.
> > 
> > I would like qmail to handle virtual domains by putting mail from a
> > virtualdomain that ~user owns in ~user/mail/somevirtualpopuser instead
> > of vpopmail having directories for each domain under its sub directory
> > i could care less if the ~user even owns the mail directory, i more or
> > less would like a quota limitation on mail in a per-domain basis so
> > that all users wouldn't suffer (as much) it someone got their domain
> > email bombed or something else which would have the same effect.  then
> > i would like qmail-pop3d to check to what domain a pop3 connection
> > request was issued to (sortof like wu-ftpd will with virtual ftp
> > servers and chroot to the directory of the user that owns the domain
> > the request came for) so it could only serve mail for users@thatdomain
> > and unlike vchkpw where you enter the user%domain to login you just
> > have the pop client configured to get mail from your domain, and you
> > wouldn't need any special user names.
> > 
> > but im not picky, and could just do symbolic links or something to get
> > the virtualdomains mail to their users directories that own them. any
> > suggestions that anyone may have, probably short of learning c(because
> > i need a sort of quick fix) would be appriciated.  feedback as to why
> > this would be dumb/impractical is also welcome.
> > 
> > -Rich Stock
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to