Change DKIM from 2048 to 1024

Get Help
Anonymous
2014-02-02
2014-02-02
  • Comment has been marked as spam. 
    Undo

    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:

    dkim._domainkey.domain1.com. 3600 TXT (
    "v=DKIM1; p="
    "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAurEJjkReeJTH0rfrqS+M"
    "PwQJS355VucnjKcEyTvh0RFAJAWz/e/Uia7IkgjRTr1FziSAy8nDjiofonclum5h"
    "n/c0XSx0Ebr7LIcw3ycTQxW48+nnH/0rF+y+fdPC5EzaPTQEQ2fVcVkVcgap1BxU"
    "N+BstwDvSF6hO+ALlgJw/8etea4pG3UTzqDkY9fu+5JMQAFWKunoFzQxx1KxRCIC"
    "Fa/oAv3ykKak8K9y/RBhYU+8StnCKou9RsCMwsMREaTcAhWcakhwZdNqVZjZnOcI"
    "aib/efnkXx4RNJXrYrwEWW4lyXOF1pvErqy7W2ZO2ZNgrBPU4c+eGSnvHBHPJTis"
    "WwIDAQAB")

    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/dkim.sh && 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


Anonymous

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