Skip to end of metadata
Go to start of metadata


BlueMind version 3.5 introduces the possibility to detach email attachments and show them as download links to recipients. This makes sent messages lighter 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.

On this page:


File storage

Files are stored on the BlueMind server, in the directory /var/spool/bm-filehosting/<domain>/.

Folder structure

Files are stored in sub-folders by User Identifier (UID), with the path /var/spool/bm-filehosting/<domain>/<UID initial>/<UID>/Attachments

Note that folders for users migrated from BlueMind 3.0 will be shown as /u/user_entity_XXX and folders for users created in version 3.5 will be shown as f/F149E21D-596B-49CF-AECC-AC354139A06B.

Files stored in this way are not accounted for in user quotas –  which only apply to emails – whether the Drive feature – the possibility to find folders later on – is enabled or not.

As a result, depending on usage and the install's number of users, this can take a lot of space. In order to prevent disk space overload, we recommend that you create a disk mount that allows you to store data externally which you set up monitoring for.


Installing packages

In a default BlueMind install, sending email attachments as links is not available to all users. To let them access this feature, you must install the required packages and restart the server:

Debian/Ubuntu RedHat

As things stand, files are stored on the BlueMind server itself. A connection with Nextcloud is also possible.

In the future, BlueMind will enable interconnection with other external file sharing services such as Dropbox, ownCloud, Pydio, etc.

Selecting a server

BlueMind must be told which server must be used to store files remotely. To do this, you must set the appropriate server as "Fichiers de Filehosting" (File hosting files), even if you are in a single server architecture.

  • log in as admin0
  • go to System Management > Application Server > [select server] > "Server roles" tab
  • in the section "BM services", check "Filehosting data":

If this role isn't assigned to any BlueMind server, the main server will be used to store files by default.

Enabling the linked attachment feature

Once the packages are installed, the feature must be enabled for users. This is done by assigning them the appropriate role. Linked attachments can be enabled for all users or specific ones only, individually or through groups.

Two new additional rights are available:

  • Linked attachments: allows users to detach and link files to email messages.
  • Drive: gives access to BlueMind's file browser. 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.

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:
    • For groups, go to the "Roles" tab
    • For users, stay in the "General" tab and scroll down to the "Roles" section
  • In the "CLOUD" section, check the features you want to enable:

Set up

Once the packages are installed and roles are assigned, users have access to the linked attachments feature with a default maximum file size of 5MiB.

Configuration options

To change this limit and access more configuration options:

  • log into BlueMind as admin0
  • go to System Management > System Configuration > Filehosting tab:
    • Retention time: number of days files will be kept on the server, from the original sent date
    • Auto detachment limit: size for which email attachments are automatically added as links
    • Maximum detached attachment size: maximum file size permitted
      This is the maximum size permitted per file, several files whose total size exceeds the limit can be attached to and detached from a single email message provided each individual file does not exceed the limit.
    • Backup File hosting data: if this box is checked, the storage folder on the server will be included in BlueMind backup tasks.

The MiB (Mebibyte) is a multiple of a byte, not to be confused with the MB (megabyte): it is equal to 1024 kebibytes, which itself is equal to 1024 bytes.

Therefore, 9 MiB equals 9,43718 MB

  • No labels