1. Preliminary Steps
Repository Synchronization
- In your Bitbucket, perform a fork sync from the shared
config_default
repository into the client-specific repository. - As a result,
storage.conf
will be updated with paths for Postbox files,containers.conf
will be updated with the container version, andcommands.conf
will be updated with the relevant deployment code.
- In your Bitbucket, perform a fork sync from the shared
Updating Local Configurations
- After resolving any merge conflicts that arise during the sync, run a
git pull
on the client-specific config on the DMS host to retrieve the latest version. - Make sure the deployment script is also up to date by running
update_scripts.sh
.
- After resolving any merge conflicts that arise during the sync, run a
Verifying DMS Availability
- Before deploying Postbox, ensure that your DMS instance is running normally and responding as expected.
Enabling Postbox in DMS
- In your
dms.conf
file, add the linePOSTBOX_ENABLED=true
(placed strictly above the HTTPS parameter). This tells the DMS to load and enable the Postbox functionality.
- In your
2. Deployment Process
Deployment Command
- Deploy Postbox using the
postbox
parameter. For example:deploy.sh -vvv postbox
- Postbox will work with or without HTTPS, depending on the general DMS configuration.
- Deploy Postbox using the
Configuring the
PAT_DMS_SETTINGS
Table- Designating a “Receiving” Case
- In Patricia, you need a case (for example, VA1DE00) to which all incoming emails will be saved.
- In
PAT_DMS_SETTINGS
, set this case number usingpostbox.incoming.mail.case
.
- Start Date
- In
postbox.initial.date
, specify the date inyyyy-mm-dd
format from which Postbox will start processing emails. - Any emails received before this date will be ignored, preventing older emails from being reprocessed.
- In
- List of Tracked Addresses
- In
postbox.email.listener.addresses
, specify the email addresses for Postbox to track (via the “To” and “Cc” fields). - Emails sent to other addresses in the same domain are not shown in Postbox to maintain privacy.
- In
- List of Users with Access to Postbox
- In
postbox.users
, define a JSON array of strings (user logins) that can access Postbox. For example:["user1", "user2", "admin"]
- In
- Email Lifetime
- In
postbox.incoming.mail.lifetime
, specify the number of days (default is 20) after which an email will no longer be displayed in Postbox. - If an email is older than the defined number of days, it will not appear to users.
- In
- Term List URL
- In
postbox.termlist.url
, set the path to the term list report (for example,reports/1234
). - Postbox can use this URL to open the term list report in Patricia if needed.
- In
- Designating a “Receiving” Case
3. Accessing Postbox
- HTTPS deployment:
https://<dmsserver>/postbox
- Non-HTTPS deployment:
http://<dmsserver>:9083/postbox
4. Additional Notes
- Compatibility: Postbox is available starting from DMS version 1.10.0. The version of Postbox must match the version of the Nuxeo container.
- Licensing: A valid DMS license, including Postbox rights, is required and can be requested from the client contact in Patrix or Serviva.