What demo-mode used to do was to inject an imap mock implementation which
takes a bunch of plain messages from a folder.

I've been checking the code and I've seen that It is broken because the
mock stuff was moved to another package and this injection is broken right
now, so don't use it until we decide what to do with that. There are some
old messages in the mailing list related with this.

Install James in local, it is pretty easy if you follow the documentation
(or ask any question here if you have any problem): Basically download the
last beta package, uncompress it, modify the domain name in a configuration
file and start it (as root), and you should have a smtp and imap servers
running, then create a bunch of users.

- Manolo

On Wed, Apr 25, 2012 at 3:01 PM, echo <echo...@gmail.com> wrote:

>
> I updated the hupa website last days, there is a document [1] which
>> describes how to change hupa configuration.
>>
>> Basically, if you are using a linux pc, the easiest way is to create a
>> file in your home .hupa/config.properties, copy the content of the default
>> server/src/main/webapp/WEB-INF/conf/config.properties and modify the
>> parameters:
>> - for demo:
>> IMAPServerAddress=demo-mode
>> SMTPServerAddress=demo-mode
>>
> Yes, I use linux pc to test like this, but it failed. Do you think it is
> necessary to use demo mode to test?
>
>
>> - for james in local:
>> IMAPServerAddress=localhost
>> IMAPServerPort=143
>> IMAPS=false
>>
>> SMTPServerAddress=localhost
>> SMTPServerPort=25
>>
>> I've not tested demo mode lately (user demo, pass demo), but it was
>> broken sometime ago after a refactoring.
>> I used to develop in demo mode because it was very fast and useful when
>> working offline.
>>
>> Try to read the documentation and send any corrections you consider (best
>> way is sending a patch via jira)
>>
>> - Manolo
>>
>> [1] http://james.apache.org/hupa/configuration.html
>>
>> Thanks, I will try.
>
> --
> *echo*
>

Reply via email to