JiscSD / archivematica

Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.
http://www.archivematica.org
GNU Affero General Public License v3.0
0 stars 0 forks source link

Problem: email settings not configurable via environment variables #32

Closed lower29 closed 7 years ago

lower29 commented 7 years ago

There is a requirement to be able to configure settings used for sending email using environment variables, rather than needing to edit settings files. Currently the Archivematica components (of which Dashboard and MCPClient are the most obvious) have hard-coded values in the settings files, rather than looking to environment variables for their values.

In addition, there is a requirement to be able to use the Amazon Simple Email Service (SES) to send email, rather than SMTP. This means that the EMAIL_BACKEND setting needs to be included in the set of parameters that are configurable in this way.

The Storage Service already has some support for using environment variables, but I've created https://github.com/JiscRDSS/archivematica-storage-service/issues/17 for adding SES support there too.

mjaddis commented 7 years ago

Corresponding JIRA issue: https://jiscdev.atlassian.net/browse/RDSSARK-230