Its a simple command line sendmail backend for Django
I like to use msmtp to abstract the smtp server from my projects. Because it is easy to set environment specifity mail server.
pip install django_sendmail_backend
Set the EMAIL_BACKEND var in your settings module
EMAIL_BACKEND = 'django_sendmail_backend.backends.EmailBackend'
If your sendmail binary is not at /usr/sbin/sendmail (see MTA section below), you'll also need to set
SENDMAIL_BINARY = '/path/to/sendmail'
You will need any mta installed (like postfix or exim) and a executable sendmail command.
Try to install msmtp for test
sudo apt-get install msmtp-mta