Skip to content

Updating wildduck via git

bunyevacz edited this page Jun 22, 2018 · 15 revisions

Prerequisite

This page assumes you have installed the complete wildduck setup:

  • wildduck IMAP/POP3 server
  • zone-mta smtp server (outgoing emails)
  • haraka and haraka-wildduck plugin (incoming emails)
  • wildduck webmail interface (direct access to wildduck via REST api)
  • mongodb for emails and attachment
  • redis for communication between components (wildduck <-> haraka-wildduck <-> zone-mta) and also for multi-server setup

Via our /setup/get_install.sh script either on VPS or physical server (tested on ubuntu 16.04.4).

Filesystem

After installation .git directory is separated from the programs' folder:

  • /opt/haraka/plugins/wildduck <-> /var/opt/haraka-plugin-wildduck.git
  • /opt/wildduck <-> /var/opt/wildduck.git/
  • /opt/wildduck-webmail <-> /var/opt/wildduck-webmail.git/
  • /opt/zone-mta <-> /var/opt/zone-mta.git/
  • /opt/zone-mta/plugins/wildduck <-> /var/opt/zonemta-wildduck.git/

Precaution must be taken when updating git (git pull), as we need both specify the working director and also the git directory too.

Clone this wiki locally