Where can I find the DKIM key for iRedMail?

Posted August 16, 2013 9.8k views
I'm trying to install iRedMail on my droplet. I'm at the part where I should add the TXT record in the droplet's control panel for the DKIM record. I went to /root/iRedMail- 0.8.5/ but I couldn't find it there. I then went to /var/lib/dkim/ I found the RSA Private Key but when I try to submit that in the control panel I get "Data is too long (maximum is 256 characters) "

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
6 answers
I figured out, I did: amavisd-new showkeys and I got it
but when I goto

I get

Unable to connect to the database!
Did you change any of MySQL's user passwords? Is MySQL running?

sudo service mysql start
No, I did not change any of mysql's passwords.
And yes Mysql is running perfectly.
Hmm. Did you modify any of the files in mail/?
Hi, have the same problem here...

How can i find the DKIM key for iRedMail?

I went to /root/iRedMail- 0.8.5/ but I couldn't find it there.

I didnt understand what he did to make it work,
when I use this command (amavisd-new showkeys) in the terminal, I get this:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
drop_priv: No such username:

What is the issue?
You can find more about this problem, here;