Skip to main content
Version: 5.4

Linked attachments

BlueMind lets users remove email attachments and show them as download links to recipients. This reduces the size of messages which lightens the load on servers and communications networks: the file is no longer physically sent with the email message and stored on the incoming network in addition to the outgoing network and thereby duplicated and multiplied as messages are forwarded and replied to.

File storage

Location

Files are stored on the BlueMind server itself, in the directory /var/spool/bm-filehosting/<domain>/; they are placed by user in subfolders of the form: /var/spool/bm-filehosting/<domain>/<first letter of UID>/<UID>/Attachments/

UID and BlueMind version

Users migrated from BlueMind 3.0 have a folder in the form /u/user_entity_XXX.

Users created in 3.5, 4.x and 5.x have a folder in the form f/F149E21D-596B-49CF-AECC-AC354139A06B.

Quotas and disk space

Stored files are not counted towards user quotas, which only concern emails, regardless of whether the Drive functionality (ability to retrieve files later) is activated or not.

Therefore, depending on the usage and the number of users in the installation, this space can grow significantly. To prevent server disk space saturation, it is therefore recommended creating a mount point for externalizing storage and to set up monitoring for it.

File hosting service

With the default installation, files are hosted on the BlueMind server itself (see above). A connection to Nextcloud or Alfresco is also possible.

Other services

Thanks to its API, BlueMind is able to interconnect with any other solution (Dropbox, ownCloud, etc.), so don't hesitate to contact us to discuss an implementation to suit your infrastructure.

Implementation

Installation

Les paquets sont installés par défaut via le .bin

manual installation

En cas d'manual installation via apt install bm-full, les paquets doivent être ajoutés :

apt install \
bm-add-on-admin-console-filehosting-settings \
bm-add-on-core-filehosting-filesystem \
bm-add-on-webserver-filehosting \
bm-chooser
# ce paquet est nécessaire pour le connecteur Thunderbird

Puis redémarrer BlueMind.

Implementation takes place in 3 stages:

  1. Define storage server
  2. Activate service for domain(s)
  3. Connecting user accounts

Defining the file hosting server

To activate the service, you must first tell BlueMind which server is to be used to store the detached files by assigning the "Filehosting File" role to the desired server, even in the case of a single-server architecture. To do this:

Enabling the service for the domain

Once the server has been defined, the service must be enabled for the desired domain(s).

Pour cela, se rendre dans Gestion du système > Domaines supervisés > choisir un domaine > onglet Services BM et désigner au moyen de la liste déroulante le serveur sur lequel le rôle a été activé précédemment :

Enabling the features for users

Once the server has been defined and the service has been activated on the domain, access is granted to users by assigning them the appropriate role ; in this way, the functionality can be activated for all users or just some, by name or via groups.

Two complementary roles are available for both groups and users:

  • Pièces jointes détachées : permet aux utilisateurs d'Adding a linked attachment à des messages ou événements d'agenda
  • Drive : permet l'accès au sélecteur de fichiers BlueMind pour Adding an attachment from Drive. Users can browse previously sent files and link them into new messages.
    This saves disk space as the same file is not stored multiple times.
Login to an external account

Coupled with a NextCloud or Alfresco installation, this right gives users access to their personal storage space on it.

For further information, see Managing external accounts.

In the admin console, go to the entities' management section > Directory browser:

  • Choose the group or user you want to assign a role to.
  • Go to the roles' management section:
  • In the "CLOUD" section, check the desired function(s):

Once the roles have been assigned, users are offered the option of detaching attachments:

role activation

Adding or removing a role requires the users concerned to log in again before it takes effect.

Configuration

3 parameters can be specified globally or per domain:

  • Retention period: number of days files are kept on the server
  • Auto detachment limit (MiB1): any file equal to or larger than this threshold will be automatically detached
  • Maximum linked attachment size (MiB1): maximum accepted size for a file

Global configuration

Se rendre dans Gestion du système > System configuration > onglet Filehosting : cet onglet définit les valeurs par défaut pour les nouveaux domaines créés ainsi que pour les domaines dont la configuration n'est pas spécifiée (voir ci-dessous)

Extra options:

  • Backup filehosting data: include user-detached files in the system backup

Configuration by domain

Se rendre dans Gestion du système > Domaines supervisés > choisir un domaine > onglet Filehosting : cet onglet permet de spécifier les valeurs pour le domaine concerné :

Backup by domain

File backup cannot be activated or deactivated on a per-domain basis, but only at the global configuration level (see previous paragraph).

Footnotes

  1. MiB: The unit MiB (MebiByte) is a multiple of the byte, to be distinguished from the MB (megabyte): it represents 1024 kebibytes, itself representing 1024 bytes. So 9 MiB is equivalent to 9.43718 MB. 2