Hi Eric.
Thanks for the tips.
I did set enable VirtualHosting to true and my mailserver defaultDomain is specified as gerrymatte.ca which also appears in the list of domain names in domainlist.xml.
Do you see any other problems ?
Thx
<mailserver>
   <!-- CHECKME! -->
   <!-- This is the postmaster email address for this mail server. -->
   <!-- Set this to the appropriate email address for error reports -->
   <!-- If this is set to a non-local email address, the mail server -->
   <!-- will still function, but will generate a warning on startup. -->
   <postmaster>[email protected]</postmaster>

<!-- Set to true to support virtualHosting. If virtualHosting support is enabled the server will accept thread every user independ on -->
   <!-- domain level. -->
   <enableVirtualHosting>true</enableVirtualHosting>

<!-- Set the default domain which will be used if an email is send to a recipient without a domain part --> <!-- If not defaultdomain is set the first domain of the DomainList get used -->
   <defaultDomain>gerrymatte.ca</defaultDomain>

<!-- This is the name used by the server to identify itself in the RemoteManager -->
   <!-- protocol.  If autodetect is TRUE, the server will discover its -->
<!-- own host name and use that in the protocol. If discovery fails, --> <!-- the value of 'localhost' is used. If autodetect is FALSE, James -->
   <!-- will use the specified value. -->
<!-- Set the default helloName which is used in all services if not overridden in the specific service-->
   <helloName autodetect="false">www.dmsservices.ca</helloName>
</mailserver>

<!-- XML based DomainList implementation -->
 <domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
   <domainnames>
        <servername>gerrymatte.ca</servername>
        <servername>gerrymatte.com</servername>
        <servername>dmsservices.ca</servername>
        <servername>candnoilfield.com</servername>
        <servername>localhost</servername>
        <servername>69.11.121.248</servername>
        <servername>127.0.0.1</servername>
        <servername>192.168.12.10</servername>
   </domainnames>
   <autodetect>false</autodetect>
   <autodetectIP>true</autodetectIP>
 </domainlist>

--------------------------------------------------
From: "Eric Charles" <[email protected]>
Sent: Tuesday, November 02, 2010 11:36 PM
To: "James Users List" <[email protected]>
Subject: Re: James 3.0-M1 fails to startup on Windows server 2003


I also see multiple uncaught exceptions complaining that the configured
defaultDomain does not exist in the DomainList.
Does anyone know how I can determine what the defaultDomain is ?
I suspect I have to add something to the domainlist.xml but I have no idea what that might be - possibly the machine name for the server ?The list of domains I have configured is quite lengthy because I plan to
support multiple email domains.
The defaultDomain is configured in the mailserver.xml and is localhost
by default.

For multiple domains, check that you enableVirtualHosting is true in mailserver.xml. Also the defaulitDomain in mailserver.xml should be in the list of domainnames in domanilist.xml (if defaultDomain is localhost, you should have it in domainnames)

Fore more dynamic domain management (add/remove/list vai the remotemanager - telnet localhost 4555), you can comment in domainlist.xml the XML section and
uncomment the JPA section (the domains will be persisted in the database).

Tks,

Eric


---------------------------------------------------------------------
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