Email notifications and messages¶
Notifications and messages within Canopy can be sent via email. There are user-driven messages and also system-driven messages. A system-driven message might be one relating to an operation having completed (e.g. report ready for download or report due with client today). The content of many of these can be modified via the Message templates system.
In order to set this up, the following settings need to be configured
EMAIL_TRANSPORT=smtp EMAIL_HOST=localhost EMAIL_PORT=25 EMAIL_HOST_USERfirstname.lastname@example.org EMAIL_HOST_PASSWORD=canopyemailpassword EMAIL_USE_TLS=required EXTERNAL_BASE_URL=https://YOUR_CANOPY_URL/
EXTERNAL_BASE_URL is used as the prefix for any links sent
out via email. This is typically set to the production URL of your
It’s also possible to change the author email (
default: email@example.com) and name (
default: CheckSec Canopy Notifications). These settings should be in
the Admin → Settings interface.
If these are not present, you can add them as follows (from the command line):
sudo canopy-manage shell_plus
Create and save the following settings:
email_author_address = Setting(setting="EMAIL_AUTHOR_ADDRESS", value="firstname.lastname@example.org") email_author_address.save() email_author_name = Setting(setting="EMAIL_AUTHOR_NAME", value="Pentest Team Notifications") email_author_name.save()