Giter Site home page Giter Site logo

Comments (6)

JoKneeMo avatar JoKneeMo commented on July 17, 2024

Did you mount a volume in the docker-compose.yml file for /var/opt/mailarchiva?

from mailarchiva-docker.

joshuaneedham avatar joshuaneedham commented on July 17, 2024

Thank you for responding so quickly. I did not change anything. If you don't mind I'm still working on figuring out all of this docker stuff so and example would be great. Thank you in advance.

from mailarchiva-docker.

JoKneeMo avatar JoKneeMo commented on July 17, 2024

The default docker-compose from this repo is already configured to mount to the correct location.
If you used that your data should have been retained and subsequent docker compose up -d runs should resume like normal.

from mailarchiva-docker.

joshuaneedham avatar joshuaneedham commented on July 17, 2024

I imported 48+k emails over the course of 3-4 days and there are only 60 total showing now. Not really sure what happened.

from mailarchiva-docker.

JoKneeMo avatar JoKneeMo commented on July 17, 2024

I would try running an import for a shorter time and then restart the container to see what happens.
It may help to post your compose file and the commands you're running.

from mailarchiva-docker.

joshuaneedham avatar joshuaneedham commented on July 17, 2024

So initially I tried the OOTB cloned repo and all the imports went well as mentioned above other than taking a very long time but that's expected. Then I tried setting another location for the config stuff using the docker-compose below and it was just automatically ignoring all imports into the volume. It's more than likely a lack of understanding of MailArchiva and Docker on my part. I am running this on an external SSD if that makes a difference.

The commands run are those in your instructions:

Build:
docker compose build

Run:
docker compose up -d

  mailarchiva:
    image: jokneemo/mailarchiva:8.11.68
    restart: unless-stopped
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      - /Volumes/MailArchiva/config/config:/etc/opt/mailarchiva
      - /Volumes/MailArchiva/config/appdata:/var/opt/mailarchiva
    environment:
      CATALINA_OPTS: -Dproxy=yes
    ports:
      - 8091:8091/tcp # SMTP
      - 8092:8092/tcp # Milter

from mailarchiva-docker.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.