Ubuntu 14.04 and Unable to Send Email Notifications

I’ve got the kegbot server up and running, but every time I try to send a test email, no email is received.

I configured the local_settings.py file (details below) and setup sendmail on my VM instance. I’m able to send mail using sendmail, but I must be missing some setting to get everything to flow together between kegbot, sendmail and django.

Any ideas?

Tell Kegbot use the SMTP e-mail backed.

EMAIL_BACKEND = ‘django.core.mail.backends.smtp.EmailBackend’

SMTP server hostname (default: ‘localhost’) and port (default: 25).

EMAIL_HOST = 'localhost’
EMAIL_PORT = 25

Credentials for SMTP server.

EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False

In order to send email, you would need to configure a SMTP server to handle the sending. I use Postfix, but there are several available. Just be careful in the setup if they are open to the internet; make sure you aren’t set up as an open relay.