Configuring DKIM

After reading the post Debian Mail Server, Part II: SPF and DKIM, I checked my mail server with mail-tester.com and I got 610. With this score, my email can be consired as spam.

After configure DKIM and DMARC, I got 1010.

Sending an empty e-mail to check-auth@verifier.port25.com, I got a SPF/DKIM report by mail that looks like:

SPF check:          pass
DomainKeys check:   neutral
DKIM check:         pass
Sender-ID check:    pass
SpamAssassin check: ham

Much better now.