How to set up DMARC for IceWarp in Valimail

Updated over a week ago

This article covers the SPF and DKIM authentication processes for IceWarp and how they are managed in Valimail. While only one of the two authentication methods is required for an email to pass DMARC, our recommendation is to configure both whenever possible.

Configuring DKIM authentication for your IceWarp emails


  • Make sure that you have the DKIM feature enabled in IceWarp. You can enable the DKIM feature in remote console > Domain & Accounts -> Global Settings -> Domains -> Enable DKIM



  • Open your remote console and connect to your server.

  • Select the domain where you want to create the DKIM record in the management tab.


  • Click on the "DKIM" tab and click and check the Activate option.


  • Now you can choose your "selector". Selector helps differentiate different DKIMs on your domain. If you have multiple DKIM signatures on your domain, please type in a unique selector word. If you do not have another DKIM signature on your domain, you can choose pretty much any word your want. In our case, we will choose "iwdkim".


  • Now Let's generate your unique key by clicking on the "Generate private key ..." button. After that, change the Bits length to 2048 to generate a more secure key and click "OK" let the key generate, and Click on Save.


  • Now you are presented with your domain Private key, do not share your Private key information outside your server.


  • Now you can Retrieve your selector data by clicking the "Retrieve selector data" button and copying the selector data into your clipboard.


  • Head to your DNS manager on your domain provider and create a new TXT DNS record. The template for the name of the TXT record is the following:


  • In our case, the name of the TXT record is the following:

This is only an example; do not use this in your DNS record.

  • The Value for the TXT records will correspond to the Selector data you copied earlier, if you do not have the selector data, you can click on the "Retrieve selector data" anytime after the private key has been generated.

In our case, the TXT record will look like this:






v=DKIM1; k=rsa; n=2048; p=MIIBIjANBgkqhkiG9...


This is only an example, do not your this in your DNS record. Please note that the value has been shortened for presentation purposes.

You can also find the instructions on how to set up DKIM and SPF for IceWarp, here.

Add an IceWarp DKIM key in Valimail

You can find more detailed information on how to add a DKIM key in Valimail, here:

Configuring SPF authentication for your IceWarp emails

Once you establish that IceWarp is an authorized sender for your domain, you will need to add the service in your Enabled Senders.

You will find more detailed information on how to add a service for your domain in Valimail, here:

Note: We encourage you to use the comment section for any useful information about your sending service, such as the name of the service owner, change request ticket numbers, etc.

Did this answer your question?