1. Home
  2. Knowledge Base
  3. Settings
  4. Global settings g_legal

Global settings g_legal

The legal archive feature is ideal for keeping a copy of incoming emails in an archive. You can enable user level searching of the archive. And store the data locally (recommended) or on your Amazon storage.

Use the config page in SurgeMail admin to quickly configure it.

The basic settings you need are:

    g_legal_archive_enable "TRUE"
    g_legal_archive_local "TRUE"
    g_legal_archive_path "/usr/local/surgemail/legal_archive"
    g_legal_archive_hostid "1"
    g_legal_archive_encrypt_key "yoursecret" <-- change this and never loose it!
    g_legal_archive_keep "3 months" <-- specify retention time based on disk space

This setting has no further documentation currently available

Syntax: g_legal_archive_accesskey string

This setting has no further documentation currently available

Syntax: g_legal_archive_add string

This setting has no further documentation currently available

Syntax: g_legal_archive_bucket string

This setting has no further documentation currently available

Syntax: g_legal_archive_enable bool

This setting has no further documentation currently available

Syntax: g_legal_archive_encrypt_key string

This setting has no further documentation currently available

Syntax: g_legal_archive_hostid int

This setting has no further documentation currently available

Syntax: g_legal_archive_keep int

This setting has no further documentation currently available

Syntax: g_legal_archive_local bool

This setting has no further documentation currently available

Syntax: g_legal_archive_nofail bool

This setting has no further documentation currently available

Syntax: g_legal_archive_only bool

This setting has no further documentation currently available

Syntax: g_legal_archive_path string

This setting has no further documentation currently available

Syntax: g_legal_archive_secretkey string

This setting has no further documentation currently available

Syntax: g_legal_archive_show bool

Messages are always stored now regardless of spam score

Syntax: g_legal_archive_spam bool

Was this article helpful?

Related Articles