4

I have a Django website and a postfix service running in the same Ubuntu Server 10.04 box.

  1. What type of authentication would you suggest me so that it'll be simple and secure?
  2. If I want my messages to be DKIM/DomainKey signed and compliant with sender-id (so that they don't end up being marked as spam) what should I worry about?

Anybody?

Sergio
  • 4,537
  • 4
  • 33
  • 41

1 Answers1

4

There's a very good explanation by Jeff Atwood about email authentication mechanisms.

Django itself doesn't support DKIM out of the box, but there is a useful snippet you could use to get started. It's a subclass of EmailBackend that automatically signs your message and includes the DKIM-Signature header.

Tiago Brandes
  • 274
  • 2
  • 3