Change DKIM from 2048 to 1024

Get Help
  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here

    Anonymous - 2014-02-02

    Hi there,

    Is it possible to change the DKIM encryption from 2048 back to 1024 - This is primary due to my DNS host not supported that log keys. They will at a later time, but it's currently not possible. I found a guide here for breaking up the key, but it seems like my DNS provider has set a limit in the post field, so that is not an option either.
    So any help would be greatly appreciated, thanks in advance.

    Last edit: Glenn B. Jakobsen 2014-02-02
  • Marius Gologan

    Marius Gologan - 2014-02-02

    First, make sure you split the key correctly by using the keys already split:
    from Linux console run:
    amavisd-new showkeys

    Here is an example of DNS record including the DKIM key for BIND9: 3600 TXT (
    "v=DKIM1; p="

    You just copy yours as is on the BIND9 zone file.

    Last edit: Marius Gologan 2014-02-02
  • Marius Gologan

    Marius Gologan - 2014-02-02

    If that is not working, here is the command that will change dkim from 2048 to 1024:
    sed -i -e "s/2048/1024/" /var/www/bin/ && rm /var/www/dkim/*

    Go to GUI Route and click Apply to get new keys.

    If you will ever update scrollout, you need to rerun the command above after update. Otherwise, all new domains added will have 2048 keys.

  • Glenn B. Jakobsen

    Thanks Marius - Life saver!

    My host has unfortunately set a limit where I post the string - They are working on improving it, but have not come that far yet.

    Last edit: Glenn B. Jakobsen 2014-02-02


Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks