The server supports multiple email providers. This guide will explain how to configure the Psono server to use Postmark for email delivery.
During the installation of the server you have created a settings.yaml that needs to be adjusted now.
Configure email address
EMAIL_FROM: '[email protected]'
All emails that are sent by the server will come from this email address.Note: Restart the server afterwards
Add Postmark API credentials to setting.yml
EMAIL_BACKEND: 'anymail.backends.mandrill.EmailBackend' POSTMARK_SERVER_TOKEN: 'YOUR_POSTMARK_SERVER_TOKEN'
Replace YOUR_POSTMARK_SERVER_TOKEN with the server token that was provided to you by Postmark.Note: Restart the server afterwards
To send a test email to
[email protected] execute:
python3 ./psono/manage.py sendtestmail [email protected]
or with docker:
docker run --rm \ -v /path/to/modified/settings.yaml:/root/.psono_server/settings.yaml \ -ti psono/psono-server:latest python3 ./psono/manage.py sendtestmail [email protected]
If you receive this test email, then email should be configured proper.
Psono is using Anymail under the hood. You can check out the official documentation here:Edit me