AppMail generates DKIM keys that are too long, what can I do?

AppMail generates DKIM keys that are too long, what can I do?

By default, AppMail’s DKIM key size is 2048 bit which should be supported by all DNS platforms, and you should not have any issue adding it as a TXT record.

However, some providers don’t support 2048 bit keys, only 1024, which means when you paste the 2048 bit key, it gets truncated. We suggest reaching out to your service provider and ask them to support 2048-bit keys.
If you indeed have no other option, AppMail offers you the possibility to switch to 1024-bit keys.

To do this, you need to add a new app param. The param you have to enter is:

'email.custom.dkim.key.size'      => 1024,

so the param name is email.custom.dkim.key.size and the param value is 1024.

    • Related Articles

    • Extend AppMail

      AppMail is highly extensible and flexible. You can extend it using a high number of extensions for payments, backup, email validation and so on, you can alter the look of it by either using customisations or custom themes and you can translate it in ...
    • How do I change the default DKIM selector and/or DKIM full selector?

      The DKIM selector and DKIM full selector are defined as application params in the configuration, which means you can override them by adding following params in your apps/common/config/main-custom.php file: 'components' => array( ... ), 'params' => ...
    • Use 2FA in AppMail

      Two-factor authentication (2FA), sometimes referred to as two-step verification or dual-factor authentication, is a security process in which users provide two different authentication factors to verify themselves. This process is done to better ...
    • AppMail and GDPR

      GDPR has been in effect starting 25th of May 2018. We don’t provide legal advice; you should consult your legal advisor regarding the way you conduct your business and what you should do to comply with GDPR. GDPR has a few main principles, below we ...
    • Apache .htaccess for AppMail

      Assuming AppMail is installed in your document root, in an absolute path like: /home/yourdomain/public_html and accessible at https://www.yourdomain.com/ then in /home/yourdomain.com/public_html/.htaccess you will put: # BEGIN rewrite rules <IfModule ...