Take a look at the faq: http://james.apache.org/FAQ.html#7
It explains the virtual user table. This allows you to have users on lots of different domians (including the same username on multiple domains). Basically... 1. set up james in general 2. set up that table 3. set up that mailet 4. insert users into that table as well as the user table (if using database for normal user table) James by default can handle mail for different domains, but james only uses the username to determine the mail account: ie [EMAIL PROTECTED] and [EMAIL PROTECTED] both go to bob. VirtualUserTable can be used to map [EMAIL PROTECTED] to bob.domain1.com and [EMAIL PROTECTED] to bob.domain2.com - two different usernames. There is no equivilent to apache httpd virtualhost configuration, as that relies on the http 'Host' header, and there is no equivilent in SMTP. The only real problem i came accross with virtual hosting with james, is that to add a new domain, you need to add a new hostname to the config.xml file and restart james. I wrote some code that alters james's behaviour to consider anything in the domain column of VirtualUserTable as local. Give it a go, and post back any specific questions you have. Daniel. > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Ahmed Mohombe > Sent: 13 December 2004 16:54 > To: [EMAIL PROTECTED] > Subject: Re: vhosts question > > > > > > See the VirtualUserTable mailets. > Thanks for the hint. > I see it but I do not understand, cause I see not "REAL" example how to > configure the thing :( . I read all the docs available for JAMES and > the entire WIKI but I'm not a bit smarter about how to do it :( . > > Thanks in advance, > > Ahmed. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
