Skip to content
cintiadr edited this page Jul 7, 2025 · 4 revisions

License

Open-source license.

Description of the service

SMTP used to relay e-mails for [email protected] aliases to the actual e-mail addresses of our users.

It is exposed publicly at smtp.openmrs.org, but can be used only by unauthenticated clients restricted by IPs to Atlassian servers specified here so that e-mails from Atlassian JIRA/Wiki reach our users or any authenticated client using credentials stored in SMTP_USERNAME and SMTP_PASSWORD variables in the .env file.

It relays e-mails via the Mandrillapp SMTP service.

See https://github.com/openmrs/openmrs-contrib-itsm-id/ for more details on the setup

On schedule, an updater will attempt to get the new IPs from Atlassian. Logs are available in /data/docker/volumes/id-stg_ip_updater_logs/_data/ip_updater.log In datadog, you can see metrics atlassian.ip_updater.ip_count (how many IPs) and atlassian.ip_updater.postfix_reload_success (1 if process is running) related to it. HTTP endpoints /postfix and /status give a bit of insight about it as well

How to access it

  • smtps://smtp.openmrs.org

How to restart it

cd /root/docker/id-new
docker-compose restart postfix

Logs location

cd /root/docker/id-new
docker-compose logs postfix

Backup restoring

No need. Uses LDAP to read user e-mails.

Clone this wiki locally