Hi Mike,

What is the value provided in "mailbox.xml"? If you did not change it,
the mailbox is located in a Derby database, not directly on the disk...

Mailrepository are not for storing user mailboxes. They serve to handle
processing errors and such. Please have a look to the Mailbox instead.


Cheers,

Benoit Tellier

Le 20/06/2017 à 04:13, Mike Lepore a écrit :
> I have successfully sent email to a test user, but can't find where the
> INBOX for the user is.
> 
> INFO  17:01:00,766 | james.smtpserver | Id='719735544' User=''
> Connection established from 127.0.0.1
> INFO  17:02:22,799 | james.smtpserver | Id='719735544' User=''
> Successfully spooled mail
> Mail1497906142612-e6a5d56c-2a81-44d4-8f99-3bbc273e38d1 from
> testu...@mydomain.tld on localhost.localdomain/127.0.0.1 for
> [testu...@mydomain.tld]
> INFO  17:02:23,526 | james.mailetcontext | Local delivery with
> ToSenderFolder mailet for mail
> Mail1497906142612-e6a5d56c-2a81-44d4-8f99-3bbc273e38d1 with sender
> testu...@mydomain.tld in folder Sent
> INFO  17:02:23,617 |
> org.apache.james.transport.mailets.delivery.SimpleMailStore | Local
> delivered mail Mail1497906142612-e6a5d56c-2a81-44d4-8f99-3bbc273e38d1
> successfully from <testu...@mydomain.tld> to <testu...@mydomain.tld> in
> folder INBOX
> INFO  17:02:34,754 | james.smtpserver | Id='719735544' User=''
> Connection closed for 127.0.0.1
> INFO  17:02:34,756 | james.smtpserver | Id='719735544' User=''
> Connection closed for 127.0.0.1
> 
> 
> 
> I am trying to configure it to be in a folder on the disk:
> 
>        <!-- File based repositories.  These repositories store all
> message data -->
>        <!-- in the file system. -->
>        <mailrepository
> class="org.apache.james.mailrepository.file.FileMailRepository">
>            <protocols>
>                <protocol>file</protocol>
>            </protocols>
>            <!-- Set if the messages should be listed sorted. False by
> default -->
>          <config FIFO="false" CACHEKEYS="true"/>
>        </mailrepository>
> 
> but I don't see where James puts the inbox.
> 
> thanks,
> Michael Lepore
> michael.lepore.w...@gmail.com
> 
> On 06/17/2017 04:13 AM, Benoit Tellier wrote:
>> Hi,
>>
>> Do you have an indexer.xml in your conf folder?
>>
>> What is its content?
>>
>> Please have a look at a sample working configuration:
>>
>> https://github.com/apache/james-project/tree/master/dockerfiles/run/spring/destination/conf
>>
>>
>> Cheers,
>>
>> Benoit
>>
>> Le 17/06/2017 à 02:05, Mike Lepore a écrit :
>>> I keep getting this error when I try to run james.  I've seen some
>>> discussion on indexer.xml and spring-server.xml, but I don't know what
>>> to do with them and I don't know where to put the sample
>>> spring-server.xml that I see on the james website.  I tried putting the
>>> spring-server.xml in the james/conf folder, but that didn't help.  I'm
>>> not a spring expert, so I'm not real sure how to configure it.  Any
>>> ideas much appreciated.
>>>
>>>
>>> Caused by: org.apache.commons.configuration.ConfigurationException:
>>> Unable to load configuration for component indexer
>>>      at
>>> org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
>>>
>>>
>>>      at
>>> org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPost
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-user-h...@james.apache.org
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to