Public | Automated Build

Last pushed: a year ago
Short Description
Minimal Docker Image running OpenExchange, with imap-auth
Full Description

docker-ubuntu-open-exchange-imap

Minimal Docker Image running OpenExchange, with imap-auth

Run it using

docker run -d -p 8080:80 sbminimal/docker-ubuntu-open-exchange-im

and access it via your webbrowser at http://127.0.0.1:8080/.

If you want to persist your data, you can link the /data directory to some "local-directory" using

docker run -d -p 8080:80 -v <local-directory>:/data sbminimal/docker-ubuntu-open-exchange-im
Docker Pull Command
Owner
sbminimal

Comments (7)
krzpal
2 years ago

Yes, I tried to use other image: sbminimal/docker-ubuntu-open-exchange image.
But this one after all steps still do not accept my user and pass
Der Benutzername oder das Passwort ist nicht korrekt. (LGI-0006)

How to login to this image ???

sbminimal
2 years ago

Note that this version uses a IMAP server to authenticate. You have to point it to the right server when creating a user ( see the parameters: --imaplogin testuser --imapserver 127.0.0.1 --smtpserver 127.0.0.1 ) <- replace the 127.0.0.1 with your server

If you do not want to authenticate against a IMAP server, you should use the sbminimal/docker-ubuntu-open-exchange image.

More Information on imap auth: http://oxpedia.org/wiki/index.php?title=Authentication_IMAP_Plugin_description

More Information on user management: http://oxpedia.org/wiki/index.php?title=AppSuite:User_management

Hope this helps!

krzpal
2 years ago

I'm trying to login but still I have message :
Auf dem Server trat ein vorübergehender Fehler auf. Die Anfrage konnte nicht verarbeitet werden. (LGI-0003)

krzpal
2 years ago

STEP:1
/opt/open-xchange/sbin/createcontext -A oxadminmaster -P $ADMIN_MASTER_PASSWORD -c 1 -u CONTEXTADMIN -d "Context Admin" -g Admin -s User -p CONTEXTADMIN_PASSWORD -L defaultcontext -e CONTEXTADMIN_EMAIL

and what next?>

krzpal
2 years ago

Please explain step by step because I cant find slolution

sbminimal
2 years ago

If you have a container running with CONTAINER_ID you can docker exec -it CONTAINER_ID bash to get a shell in the container.

The randomized admin password is stored in /data/etc/script_settings.
In the shell inside the container you can do source /data/etc/script_settings to have it set in the variable $ADMIN_MASTER_PASSWORD

To create a new Context with ID 1 and a admin CONTEXTADMIN and password CONTEXTADMIN_PASSWORD and email CONTEXTADMIN_EMAIL use
/opt/open-xchange/sbin/createcontext -A oxadminmaster -P $ADMIN_MASTER_PASSWORD -c 1 -u CONTEXTADMIN -d "Context Admin" -g Admin -s User -p CONTEXTADMIN_PASSWORD -L defaultcontext -e CONTEXTADMIN_EMAIL

Then you can create a user with something like:
/opt/open-xchange/sbin/createuser -c 1 -A CONTEXTADMIN -P CONTEXTADMIN_PASSWORD -u testuser -d "Test User" -g Test -s User -p secret -e testuser@example.com --imaplogin testuser --imapserver 127.0.0.1 --smtpserver 127.0.0.1

See http://oxpedia.org/wiki/index.php?title=AppSuite:Context_management for more details.

krzpal
2 years ago

This is german version.
Please help how to login to oex ?
user-?, pass-?