Hi Oleg, ok if you want virtualhosting use the JDBCDomainList or XMLDomainList. Then when you add a new user to the server you would connect via telnet to remotemanager and use the FQUN (like [email protected]) when adding a user. Be sure to first create the domain if you use JDBCDomainList via remotemanager. If you use XMLDomainList you just need to add the domain to the domainnames config.
Both of these DomainList implementation works without problems in conjunction with virtualhosting. So can you give me a hint "where" it says to disable virtual hosting ? Maybe its outdated info .. Thx, Norman 2010/4/7 Oleg V Shparber <[email protected]>: > I want just multi-domain mail server, as I understand it is virtual > hosting. When I choose JDBCDomainList implementation, JAMES says to > disable virtual hosting in James.xml. > > В Срд, 07/04/2010 в 10:04 +0200, Norman Maurer пишет: >> Thx Oleg, >> >> I will have a look later today. BTW, are you sure the >> JDBCVirtualUserTable implementation of domainlist is the right one for >> you ? What exactly you want todo ? I'm mostly sure the JDBCDomainList >> is the one you are looking for.. >> >> Bye, >> Norman >> >> >> 2010/4/6 Oleg V Shparber <[email protected]>: >> > Here it is: http://issues.apache.org/jira/browse/JAMES-988 >> > >> > В Вто, 06/04/2010 в 09:31 +0200, Norman Maurer пишет: >> >> Oleg, >> >> >> >> could you fill an jira issue for this in the meantime ? >> >> >> >> http://issues.apache.org/jira/browse/JAMES >> >> >> >> Thx, >> >> Norman >> >> >> >> >> >> 2010/4/6 Norman Maurer <[email protected]>: >> >> > Ah sorry... Didn't saw this, need more coffee. Sounds like a bug then. >> >> > I will have a look shortly. >> >> > >> >> > Bye, >> >> > Norman >> >> > >> >> > >> >> > 2010/4/6 Oleg V Shparber <[email protected]>: >> >> >> Hi Norman, >> >> >> I use Rev 930545 (2010-04-03 20:14:34 +0300) so it isn't the bug you >> >> >> pointed. >> >> >> And as you see I'd like to use >> >> >> <!-- JDBC VirtualUserTable implementation of the domainlist service >> >> >> <bean id="domainlist" >> >> >> class="org.apache.james.vut.JDBCVirtualUserTable" /> >> >> >> >> >> >> not >> >> >> <!-- JDBC implementation of the domainlist service--> >> >> >> <bean id="domainlist" class="org.apache.james.domain.JDBCDomainList"/> >> >> >> because it requires to disable virtual hosting. >> >> >> >> >> >> I do not see the place to specify destinationURL for >> >> >> JDBCVirtualUserTable whet it is used as domain list implementation. >> >> >> >> >> >> >> >> >> В Вто, 06/04/2010 в 07:20 +0200, Norman Maurer пишет: >> >> >>> Hi Oleg, >> >> >>> >> >> >>> are you sure you use latest trunk ? This was fixed some time ago. See: >> >> >>> >> >> >>> http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/domainlist.xml?view=markup >> >> >>> >> >> >>> BTW, you should not upgrade to latest trunk if you have existing mails >> >> >>> which are accessed via POP3. Latest trunk share the same mailstorage >> >> >>> as IMAP, so we need to write an converter first which will copy old >> >> >>> email over.. >> >> >>> >> >> >>> Bye, >> >> >>> Norman >> >> >>> >> >> >>> >> >> >>> 2010/4/6 Oleg V Shparber <[email protected]>: >> >> >>> > Hi, all. >> >> >>> > >> >> >>> > I'm trying to setup James 3 as virtual hosting mail server. So, I >> >> >>> > enabled virtual hosting in James.xml, but got stuck with >> >> >>> > spring-beans.xml. >> >> >>> > >> >> >>> > I use: >> >> >>> > <!-- JDBC VirtualUserTable implementation of the domainlist service >> >> >>> > --> >> >> >>> > <bean id="domainlist" >> >> >>> > class="org.apache.james.vut.JDBCVirtualUserTable" /> >> >> >>> > >> >> >>> > But the result is: >> >> >>> > ... >> >> >>> > Caused by: org.apache.commons.configuration.ConfigurationException: >> >> >>> > destinationURL must configured >> >> >>> > at >> >> >>> > org.apache.james.vut.JDBCVirtualUserTable.doConfigure(JDBCVirtualUserTable.java:84) >> >> >>> > at >> >> >>> > org.apache.james.impl.vut.AbstractVirtualUserTable.configure(AbstractVirtualUserTable.java:81) >> >> >>> > at >> >> >>> > org.apache.james.container.spring.lifecycle.CommonsConfigurableBeanPostProcessor.executeLifecycleMethodBeforeInit(CommonsConfigurableBeanPostProcessor.java:39) >> >> >>> > at >> >> >>> > org.apache.james.container.spring.lifecycle.CommonsConfigurableBeanPostProcessor.executeLifecycleMethodBeforeInit(CommonsConfigurableBeanPostProcessor.java:30) >> >> >>> > at >> >> >>> > org.apache.james.container.spring.lifecycle.AbstractLifeCycleBeanPostProcessor.postProcessBeforeInitialization(AbstractLifeCycleBeanPostProcessor.java:68) >> >> >>> > ... 78 more >> >> >>> > >> >> >>> > I can't find the place to set destinationURL for domainlist, >> >> >>> > there's no >> >> >>> > such option in domainlist.xml. How to configure it? >> >> >>> > >> >> >>> > Thanks. >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > --------------------------------------------------------------------- >> >> >>> > 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]
