P4DTI issue job000489

TitleMail recipients are not very configurable
Statussuspended
Priorityoptional
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionThe replicator sends e-mail messages to various addresses at various times. See [1]. This is only configurable in very coarse ways (with smtp_server and administrator_address). It would be nice if you could, e.g.
- send all email to the administrator only;
- send conflict reports to the job owner only;
- not send the startup message at all;
- send the startup message to some other alias;
- send poll failure messages to some other alias.
AnalysisCould give a keyword to each of the email circumstances, and to each of the classes of recipient, have some sort of map from keywords to lists of recipient keywords and/or addresses:
mail_config = {'startup': [],
               'conflict': ['job_owner', 'administrator'],
               'poll_failure': ['operator@somecompany.coom'],
              }
How foundcustomer
Evidence[1] <http://info.ravenbrook.com/project/p4dti/master/design/mail/>
[2] job000485
Observed in1.3.3
Introduced in0.3.0
Created byNick Barnes
Created on2002-03-27 17:04:30
Last modified byNick Barnes
Last modified on2018-07-05 17:28:00
History2002-03-27 NB Created.
       2018-07-05 NB Suspended because the P4DTI is obsolete.