Home Products Downloads News Store Support Forums

Stan's Blog

Stan's Blog

Tips and tricks on how to use Maxprog products

Compatible with MS Windows Compatible with MacOS

 Share this page! 

How to use DKIM with MaxBulk Mailer

Topics

With MaxBulk Mailer 8.6.7 we added support for DKIM. DKIM (DomainKeys Identified Mail) is a method for validating the authenticity of email messages. When an email is sent with DKIM activated, it is signed using a private key and then validated on the receiving mail server (or ISP) using a public key on your domain DNS record. Using DKIM is optional but quite recommended since having emails that are signed with DKIM appear more legitimate to your recipients and are less likely to go to Junk or Spam folders. In addition to verifying the authenticity of an email message, DKIM also provides a way for ISPs to track and build a reputation on your domain's sending history.

So, in order to use DKIM first you need a domain and you have to use an email address from that domain as the sender of your emails. For example our domain is 'maxprog.com' and our address 'support' belongs to that domain. If you don't have a domain and/or use a gmail/hotmail/yahoo address for example, this is not for you.

In addition, when adding a DKIM record it is also a good idea to add SPF and DMARC records. I will talk briefly about that below but I will wrote a complete post about email deliverability later.

How does DKIM work?

The process works like this: You publish a cryptographic public key as a specially-formatted TXT record in your domain's overall DNS records. When a mail message is sent with MaxBulk Mailer, the software generates and attaches a unique DKIM signature header to the message. DKIM allows you to associate your domain name with your email messages, thus vouching for their authenticity. You create the DKIM by signing the email with a digital signature. This signature is located in the message's header.

What is SPF?

Another quick method to improve your email delivery rates is to incorporate SPF, or the Sender Policy Framework into your DNS settings. SPF is an email validation protocol designed to detect and block email spoofing by providing a mechanism to allow receiving mail exchangers to verify that incoming mail from your domain comes from an IP Address authorized by you. As DKIM, SPF is not required but highly recommended.You will find more information on SPF here. Don't worry, I will write a post about SPF later.

And what about DMARC?

A DMARC record is the record where the DMARC rule sets are defined. Once SPF and DKIM are in place, you configure DMARC by adding policies to your domain's DNS records in the form of TXT records (just like with SPF or DKIM). You will find more information on DMARC here. I will also write a post about DMARC and email deliverability later.

Where do I create a DKIM record

Best is you use this DKIM wizard. Just enter your Domain name and a DomainKey Selector of your choice. Then click on 'Create keys'. You will automatically get a public and a private key. The public key is the one that will be added to your server DNS record and the private key to MaxBulk Mailer DKIM panel. If you scroll down the page a bit your will see "Step 1: Configure Your DNS Server With The Public Key." with the formatted DKIM DNS record.

As an example, this is what our DNS record looks like:

eMail Verifier connection log for successful verification

You can see the SPF record followed by DMARC and finally the DKIM record (the last two entries).

And how to enter the data into MaxBulk Mailer DKIM panel:

eMail Verifier connection log for successful verification

Here you can see that 'Domain' contains the domain name, 'Selector' the selector we have chosen in the DKIM wizard and finally the private key, as is, including '-----BEGIN RSA PRIVATE KEY-----' and '-----END RSA PRIVATE KEY-----'. The password field can remain empty for the moment.

Checking the DNS record

You can check whether your DKIM DNS record has been properly updated with the Dig command on macOS (with the Terminal app) or with nslookup on MS Windows (with the command prompt). Proceed this way:

macOS > dig [selector]._domainkey.[domain] TXT
Windows > -type=txt [selector]._domainkey.[domain]

In our case since our selector is 'dkim' and our domain 'maxprog.com':

macOS > dig dkim._domainkey.maxprog.com TXT
Windows > nslookup -type=txt dkim._domainkey.maxprog.com

You should get your DKIM record in the 'ANSWER SECTION' of the DIG response. With nslooup the response is the record itself. Note that it can take a few hours for your DNS changes to be propagated so be patient.

You can also verify your DKIM record with those user-friendly tools:

- DKIM Key Checker Recommended!
- Network-Tools.com
- WhatsMyIP.us
- DKIM Core Key Check

Checking the DKIM signature

It is very easy to validate your DKIM settings, just click on the MaxBulk Mailer DKIM window 'Test' button. The software will check everything, your DKIM DNS record and the private and public keys. MaxBulk Mailer will actually sign a dummy message and then try to validate it with the server. If you are successful then you can be sure that all your outgoing messages will be signed!

More information on DKIM:

- DKIM.org - Frequently Asked Questions
- What are DKIM records?
- Protecting Your Brand From Phishing: How to Create a DKIM Record
- DomainKeys Identified Mail
- Email authentication
- Privacy-Enhanced Mail
- What Is DKIM? Everything You Need to Know About Digital Signatures
- Understanding SPF and DKIM to Improve Email Deliverability

All the information above can be quite intimidating for most people, I know that so I recommend you to contact your server support. They should be able to help you with DKIM. They are used to handle that.


Stan Busk - Software Engineer
at www.maxprog.com





Did you like this post? Share it!


Generic questions
New paragraph
How do I install Maxprog software on my computer?
macOS
MS Windows
New paragraph
How can I change an application language?
macOS
MS Windows
New paragraph
How to register the software I've just purchased?
macOS
MS Windows
New paragraph
How can I recover the serials I have lost of products I purchased here?
macOS
MS Windows
New paragraph
How can I recover my serial from a registered application?
macOS
MS Windows
New paragraph
How can I find out the product name and version my serial unlocks?
macOS
MS Windows
New paragraph
Where can I read your software License Agreement?
macOS
MS Windows
New paragraph
The software doesn't start, runs very slowly or crashes often, how comes?
macOS
MS Windows
New paragraph
Double-clicking on my files no longer opens them with the software, why?
macOS
MS Windows
Stan Busk If you want to make the most of the software that you have acquired at Maxprog, do not miss the Stan's Blog. It is a library of Tutorials and Tips covering specific features and tipical problems you may have when using our tools. This page is updated regularly depending on the topics discussed in our public forums and issues reported thru our HelpDesk. If you are interested on what we are currently working on (or want to participate in beta testings) don't miss the Stan's Logbook.
For years, MAX Programming has provided companies around the globe with sophisticated and innovative solutions. Our commitment to quality is not only evident in our products, but also in our people. It is our mission in Professional Support Services to ensure that our products perform to the fullest of their ability in order to meet the business objectives of our customers. We provide the tools and information required for improved productivity. To accomplish this, we offer an array of services including: Technical Support, Education Services and Consulting Services.

Maxprog is part of an internet site network made of desktoolset.com, emaildesignstudio.com, familycash.com, icash.promo, maxbulkmailer.com, maxprog.com, maxprog.net, maxprog.org, maxprog.us, myrecipients.com, newslettercomposer.com, sharedcontents.com, stanbusk.com, stanbusk.pairserver.com, usertools.com.
MaxBulk Mailer is a full-featured and easy-to-use bulk mailer and mail-merge software for macOS and Windows that allows you to send out customized press releases, prices lists, newsletters and any kind of text or HTML documents to your customers or contacts.

MaxBulk Mailer is fast, fully customizable and very easy to use. MaxBulk Mailer handles plain text, HTML and rich text documents and gives full support for attachments. With MaxBulk Mailer you will create, manage and send your own powerful, personalized marketing message to your customers and potential customers.

Thanks to its advanced mail-merge and conditional functions you can send highly customized messages and get the best results of your campaigns. You also have support for international characters, a straightforward account manager with support for all type of authentication schemes including SSL, a complete and versatile list manager, support for importation from a wide range of sources including from remote mySQL and postgreSQL databases.

MaxBulk Mailer is a software tool that you purchase once, no need to pay on a per-email basis to submission services!



 !  WAIT! In order to add a comment below just use your Facebook, Google, Twitter or Disqus login data.

Home Products Downloads News Store Support Forums