Page MenuHomeDevCentral

Update mailer configuration
Open, NormalPublic

Description

Phabricator updated configuration format for mailer, to use a JSON document.

An example for Mailgun is the configuration for DevCentral:

[                                                      
  {                                                    
    "key": "nasqueron-mailgun",                        
    "type": "mailgun",                                 
    "options": {                                       
      "domain": "devcentral.nasqueron.org",            
      "api-key": "key-00000000000000"
    }                                                  
  }                                                    
]

We need to generate such document from environment variables in the setup container script,
then provide it using ./bin/config set --stdin cluster.mailers < /tmp/mailers.json

Key could be "default-<mailer type>".

Related Objects

Event Timeline

dereckson triaged this task as High priority.Dec 6 2019, 07:53
dereckson created this task.
dereckson updated the task description. (Show Details)
dereckson lowered the priority of this task from High to Normal.Mar 28 2022, 22:09