Robert Burrell Donkin wrote:
On 12/8/08, Megha Agarval <[EMAIL PROTECTED]> wrote:
Robert Burrell Donkin wrote:
On 12/5/08, Megha Agarval <[EMAIL PROTECTED]> wrote:
Robert Burrell Donkin wrote:
On Thu, Dec 4, 2008 at 9:06 AM, Megha Agarval <[EMAIL PROTECTED]> wrote:
Hi,
I am running the spring deployment version of James. The IMAP service
starts
on the required port but while accessing the mailbox I get the
following
exception:
java.lang.ClassNotFoundException:
org.apache.james.mailboxmanager.repository.MailboxManagerMailRepository
In the config file I am using the following in the mailboxmanager
block:
<factory
class="org.apache.james.mailboxmanager.torque.TorqueMailboxManagerFactory">
Any ideas how to fix this ?
I've expanded the smoke tests over the weekend. IMAP was initialiding
but the data access was not configured correctly. Please update to the
latest code and retry.
- Robert
Robert
Hi Robert,
With the latest code, the IMAP service starts fine. I can set up
mailboxes and connect to the server without any exceptions. On sending
mails the sent mails are stored in the sent folder. But I still cant
access the incoming mails in the mailbox. There are no error messages
though.
Is there some configuration required to receive the mails in the user
mailbox ?
IMAP is a mail reading protocol. So, the real question is how to get
your mail into James.
Do you plan to run SMTP?
Download mail from a POP3 server?
From an IMAP account?
Robert
Yes, I am running SMTP to send mails and want to download the mails
through an IMAP account.
But the problem is that the mails are not accessible through the imap
account at the moment.
Regards,
Megha
if you're using an old assembly configuration (rather than vanilla
trunk) you need to update it. this is the current block:
<!-- IMAP server -->
<block name="imapserver"
class="org.apache.james.imapserver.ImapServer">
<provide name="localusersrepository"
role="org.apache.james.api.user.UsersRepository"/>
<provide name="sockets"
role="org.apache.avalon.cornerstone.services.sockets.SocketManager"/>
<provide name="connections"
role="org.apache.james.socket.JamesConnectionManager"/>
<provide name="thread-manager"
role="org.apache.avalon.cornerstone.services.threads.ThreadManager"
/>
<provide name="dnsserver"
role="org.apache.james.api.dnsservice.DNSService"/>
<provide name="James" role="org.apache.james.services.MailServer"/>
<provide name="filesystem"
role="org.apache.james.services.FileSystem"
/>
</block>
- robert
Hi Robert,
I have the same configuration in assmbly.xml as you said.
Here is what I have in config.xml related to imap:
In James Block:
<inboxRepository>
<repository destinationURL="mailboxmanager://#mail/"
postfix=".INBOX" translateDelimiters="true" type="MAIL" />
</inboxRepository>
In Mailboxmanager block:
<mailboxmanager>
<namespaces>
<usernamespace name="#mail" delimiter="."/>
</namespaces>
<factory
class="org.apache.james.mailboxmanager.torque.TorqueMailboxManagerFactory">
<configFile>file://conf/mailboxManagerSqlResources.xml</configFile>
<torque-properties>
<property name="torque.database.default" value="mailboxmanager"/>
<property name="torque.database.mailboxmanager.adapter"
value="derby"/>
<property name="torque.dsfactory.mailboxmanager.factory"
value="org.apache.torque.dsfactory.SharedPoolDataSourceFactory"/>
<property name="torque.dsfactory.mailboxmanager.connection.driver"
value="org.apache.derby.jdbc.EmbeddedDriver"/>
<property name="torque.dsfactory.mailboxmanager.connection.url"
value="jdbc:derby:../apps/james/var/mailboxmanager-derbydb;create=true"/>
<property name="torque.dsfactory.mailboxmanager.connection.user"
value="app"/>
<property name="torque.dsfactory.mailboxmanager.connection.password"
value="app"/>
<property name="torque.dsfactory.mailboxmanager.pool.maxActive"
value="100"/>
</torque-properties>
</factory>
</mailboxmanager>
In ImapServer Block:
<imapserver enabled="true">
<!-- port 993 is the well-known/IANA registered port for IMAPs ie
over SSL/TLS -->
<!-- port 143 is the well-known/IANA registered port for Standard
IMAP4 -->
<port>10143</port>
<handler>
<!-- RFC 3501 requires a minimum timeout of 30 minutes -->
<connectiontimeout>1800000</connectiontimeout>
<streamdump enabled="true" directory="../apps/james/streamdump"
/>
</handler>
</imapserver>
Is this the right config ?
Regards,
Megha
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]