Hey Devdas,


Thursday, July 19, 2001, 4:48:19 AM, you wrote:

DB> I'm working on a patch to suport virtual domains.
DB> The basic idea is:

DB> Instead of enforcing the user.username mailbox, I am moving to a
DB> domain.username mailbox. The user logs in with a user@domain string
DB> which is then mapped to a domain.user mailbox.

Pretty cool.  I presume you're building this on top of the HIERSEP codebase
so that [EMAIL PROTECTED] and [EMAIL PROTECTED] have different prefixes?

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
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.
Best to consult Ken since he wrote that code ;)

-- 
 Kevin

Reply via email to