Use ssmtp instead of sendmail for st2actionrunner
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Please consider using ssmtp for email sending from core.sendmail:
https://manpages.ubuntu.com/manpages/focal/en/man8/ssmtp.8.html
Recent versions of sendmail don't work well without configuration, which is difficult within a Docker container.
Ubuntu provides a package for ssmtp, which provides an alternative sendmail executable, suitable for typical smarthost setups. It can be configured easily via two small text files, which can be mounted as volumes.
Locally tested and works well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the core.sendmail entry point used by st2actionrunner and inspect how email sending is packaged and configured in its Docker container. Check the Ubuntu ssmtp package and its two mounted configuration files, then verify that typical smarthost email sending works without relying on sendmail configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- backend, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100