Modifying conf.json

You can do this two ways. Directly modifying conf.json in your terminal view or logging in to a Superuser account from the web interface. In both cases you will see your conf.json file. It should already have some sample fillings for a mail object. Which may appear as follows.

{
  "port": 8080,
  "db": {
    "host": "127.0.0.1",
    "user": "majesticflame",
    "password": "",
    "database": "ccio",
    "port":3306
  },
  "mail":{
    "service": "gmail",
    "auth": {
        "user": "[email protected]",
        "pass": "your_password_or_app_specific_password"
        }
  },
  "cron":{
      "key":"change_this_to_something_very_random__just_anything_other_than_this"
  },
  "pluginKeys":{
      "Motion":"change_this_to_something_very_random____make_sure_to_match__/plugins/motion/conf.json"
  }
}

Once modified you can then restart Shinobi to apply the changes.

Mailing Options

The mail object in conf.json is the object used to initiate Nodemailer. So you can follow along on Nodemailer's website on how to use it.

Quick Setup with Gmail

  "mail":{
    "service": "gmail",
    "auth": {
        "user": "[email protected]",
        "pass": "your_password_or_app_specific_password"
        }
  },

The above is a snippet of the mail object in conf.json with some sample Gmail settings. user should be changed to reflect the sender (mail-out) email. If you have 2-Step Verification enabled you will need to create an App Specific Password for Gmail to use in the pass option.

Recieving Emails

The receiver address is the Admin account for each group. The default account, [email protected], is the Admin account for the default group 2Df5hBE. You can login to the Admin account with the regular dashboard and open Settings to change details like Email and Password.