One downfall is I run seperate domains same domain name different TLD. and
they are ran by different people, without the TLD we would get conflicting
emails.

Chris Riordan

----- Original Message -----
From: "Devdas Bhagat" <[EMAIL PROTECTED]>
To: "Kevin J. Menard, Jr." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 9:47 AM
Subject: Re: Virtual domains.


> On Thu, 19 Jul 2001, Kevin J. Menard, Jr. spewed into the ether:
> <snip>
> > Pretty cool.  I presume you're building this on top of the HIERSEP
codebase
> > so that [EMAIL PROTECTED] and [EMAIL PROTECTED] have different prefixes?
> Not yet.
>
> > DB> However, at many places, the "user." string is hardcoded. Can
someone
> > DB> please tell me in which files a change *must* be made for this to
work?
> > DB> (Minimally pop and imap).
> > DB> What I'm trying to say is: I have a split function ready, now where
do
> > DB> I put it for it to be available to everyone?
> > DB> Can we move *all* header files to an include directory, please?
> >
> > I don't know what you have in mind, but probably the easiest thing to
do,
> > that I can think of, is to replace the "user" part with a string, which
is
> > configurable via imapd.conf, with the default value being user.  I don't
> No, what I am doing is
> #define MAILBOX_TOP user
> char *domain=MAILBOX_TOP
> char *domainname=NULL;
> split(&username,&domainname)
> domain = domainname
>
> So if the user logs in without the domain, I get domain = user, else I
> get that domain.
>
> > quite know how the HIERSEP code works though, and i wonder if a uid
> > of [EMAIL PROTECTED] would get translated to domain.com^user rather
> > than domain.com.user.  Hmm. . . this may very well cause problems
> > with the on disk structure.  But then again, I don't know all what
> > I'm talking about.
> It doesn't. Thats the point. Currently the disk structure enforces a
> structure like user.username. I am changing this to domain.username
> (Not a TLD, just the first part. So andrew.cmu.edu will require
> user@andrew to login.)
>
> > Best to consult Ken since he wrote that code ;)
> I do plan to integrate this in later, but right now, I would like to
> see all possible changes.
> BTW, grep *is* is very good tool for this. I should have something up
> in about an hour (all my changes commented out, but marked with a DVB).
> Hopefully my code is commented well enough.
>
> Devdas Bhagat
> --
> He has shown you, o man, what is good.  And what does the Lord ask of you,
> but to do justice, and to love kindness, and to walk humbly before your
God?
>

Reply via email to