Hi Eric,

the error about not able to add domain should be fixed in current
trunk. If you still have the problem open an jira issue.

What is the problem with the mappings?
Could you give me some details?

Thx
Norman

2010/4/7, Eric Charles <[email protected]>:
> Hi Oleg,
>
> This is usually the steps I take to configure james (from trunk):
> - James.xml : <enableVirtualHosting> true </enableVirtualHosting>
> - spring-beans.xml : comment <bean id="domainlist"
> class="org.apache.james.domain.XMLDomainList" />
> - spring-beans.xml : uncomment <bean id="domainlist"
> class="org.apache.james.vut.JDBCVirtualUserTable" />
> - domainlists.xml : uncomment
> <repositoryPath>db://maildb/domain</repositoryPath>
> <sqlFile>file://conf/sqlResources.xml</sqlFile>
>
> This should allow james to work with an embedded derby to manage
> multiple domains.
>
> run.sh :
> - the first time, you will get a
> org.apache.commons.configuration.ConfigurationException: Configured
> defaultdomain could not get added to DomainList (not very welcome
> message...)
> - don't worry, run twice: it works.
>
> telnet localhost 4555 (root / root)
> adddomain test.com
> listdomains
> Domains:
> test.com
> localhost
> 127.0.1.1
> 204.12.0.50
> 127.0.1.1
> adduser [email protected] badpwd
> User [email protected] added
> listusers
> Existing accounts 1
> user: [email protected]
>
>
> I still have a small concern about mapping.
> forward and alias have been removed
> (http://markmail.org/message/4ihtdtqiggcu74cl).
>
> I tried to make the trick with the mapping function (say for example
> [email protected] is the same as [email protected] and the same as
> [email protected]), but I didn't succeed to make it work.
>
> Hope this help you.
> Tks,
>
> Eric
>
>
> On 01/-10/-28163 08:59 PM,  wrote:
>> 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
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to