Postfix/DKIM

This guide will show you how to configure Postfix to use DomainKeys and DKIM

DKIM
Set selector name to "mydkim" (without the quotes),select "[1] 1024 bits" for your key. Your key will be created now. Copy it now and we will paste it into your Bind file later.

Edit the following file. Defaults are fine except for the following.

Now edit your bind configuration.

Now edit your postfix configuration. The following is two separate lines.

Domainkeys
Set selector name to "mydk" (without the quotes), Before selecting "[1] 512 bits" for your key see the "Notes" below. Your key will be created now. Copy it now and we will paste it into your Bind file later.

Edit the following file making sure to replace domain.tld with your domain.

Now edit your bind configuration. The following is two separate lines.

Now edit your postfix configuration. The following is two separate lines. We just append the DomainKeys to the DKIM line.

Services
Start up all the services...

You may want to configure these services to start at boot

That's it, you should now have DKIM and DomainKey signed emails.

Testing
You can test your Domainkey/DKIM setup by sending a blank email to check-auth@verifier.port25.com. You will receive an email within about 30 seconds letting you know if your Domainkey/DKIM passes the test.