Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 991 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 991 Bytes

chirpd

A simple docker service for JUST sending emails, using postfix

Getting Started

  1. Write your .env

    DOMAIN=kys.org
    MAIL_HOST=very_cool_namespace.kys.org
  2. Generate DKIM keys:

    ./scripts/gen-dkim

    in data directory should have DKIM DNS value in txt ( pls take exactly in ( ... ). you can keep quotes but some dns service may deny endline ) you should also have SPF and DMARC value to avoid being spam flagged.

  3. Start stack('nt):

    docker-compose up -d --build
  4. Add a mail address:

    python3 manage.py add --email [email protected] --password "your_password"

Test

To send a test email, use the following command:

python3 manage.py test --email [email protected] --password "your_password" --recipient [email protected]

Using mail-tester.com to test the final result