Where can I find the DKIM key for iRedMail?

August 16, 2013 5.3k 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/iRedMail.tips but I couldn't find it there. I then went to /var/lib/dkim/mydomain.com.pem 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) "
6 Answers
I figured out, I did: amavisd-new showkeys and I got it
but when I goto mydomain.com/mail

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/iRedMail.tips 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;

Have another answer? Share your knowledge.