Skip to content

LangDuaMC/chirpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 user@example.com --password "your_password"

Test

To send a test email, use the following command:

python3 manage.py test --email user@example.com --password "your_password" --recipient recipient@example.com

Using mail-tester.com to test the final result