ieugen / james-self-hosting-sandbox

A sample project to work on self hosting email server with Apache James
4 stars 1 forks source link

[Important] Initial data seeding when starting the server #15

Open ieugen opened 4 years ago

ieugen commented 4 years ago

When starting the demo or running our tests, it i nice to have a way to have some initial data.

For this we need to know how to seed initial data in the system:

We should be able to read those emails via JMAP.

Arsnael commented 4 years ago

Hi @ieugen

I think we have a pre-provisioned Docker image based on JPA Guice profile initializing a domain and a few users, using the CLI: https://github.com/apache/james-project/tree/master/dockerfiles/run/guice/provisioned

Would that be of any help?

ieugen commented 4 years ago

Thanks.

I will check it out once I get here. Lot of stuff (emails to go through)