I'd recreate
On 11/23/2020 3:59 AM, ChandranManikandan wrote:
Hi Eric,
I have done the above steps earlier in my production server, after
downtime I did not do anything.
When I run the command cat /var/qmail/control/dkim/public.txt dkim
record is displayed and I have copied and put it into our dns server.
i have put the standby server text into dns record during production
server down.
I have removed that and re-configure in dns server after up the
production server, but not working.
Can I do again the same above steps to re-generate the key on the
production server.
On Thu, Nov 19, 2020 at 8:58 PM Eric Broch <[email protected]
<mailto:[email protected]>> wrote:
Did you follow these instructions:
1. Global key (default for all domains)
1. # yum install perl-XML-Simple perl-Mail-DKIM perl-XML-Parser
2. # wget
https://raw.githubusercontent.com/qmtoaster/dkim/master/qmail-remote
3. # wget
https://raw.githubusercontent.com/qmtoaster/dkim/master/signconf.xml
4. # mkdir /var/qmail/control/dkim
5. # mv signconf.xml /var/qmail/control/dkim/
6. # chown -R qmailr:qmail /var/qmail/control/dkim/
7. CentOS 7
# dknewkey /var/qmail/control/dkim/global.key 1024 >
/var/qmail/control/dkim/public.txt
# perl -pi -e 's/global.key._domainkey/dkim1/'
/var/qmail/control/dkim/public.txt
CentOS 8
# cd /var/qmail/control/dkim
# openssl genrsa -out ./global.key 2048 && openssl rsa -in
./global.key -pubout -out ./temp.txt
# cat ./temp.txt | grep -v - | tr -d '\n' | sed
'1s/^/dkim1 IN TXT "k=rsa; p=/' &> ./public.txt && echo
"\"" >> ./public.txt && rm ./temp.txt
8. # qmailctl stop
9. # mv /var/qmail/bin/qmail-remote
/var/qmail/bin/qmail-remote.orig
10. # mv qmail-remote /var/qmail/bin
11. # chmod 777 /var/qmail/bin/qmail-remote
12. # chown root:qmail /var/qmail/bin/qmail-remote
13. # qmailctl start
14. # cat /var/qmail/control/dkim/public.txt
dkim1._domainkey IN TXT "k=rsa;
p=******************************"
15. Create DNS TXT record for your domain using the output
from public.txt above
_Host_ _Text_
dkim1._domainkey v=DKIM1; k=rsa;
p=*************************
16. Your DKIM setup is done.
17. To test send mail to any yahoo email id and check headers.
If errors show in headers then wait for changes to reflect
in DNS.
On 11/19/2020 2:28 AM, ChandranManikandan wrote:
Hi Folks,
Anyone had this experience?
Why its not generating the DKIM Record when sent to Gmail?
It was working well before it ran standby server and now standby
server down and re-up the production server.
But still not showing the dkim record in the message header in gmail.
But dns records propagate which i feed the data from the server.
Anyone had the experience.
Appreciate your help.
---------- Forwarded message ---------
From: *ChandranManikandan* <[email protected]
<mailto:[email protected]>>
Date: Wed, Nov 18, 2020 at 2:35 PM
Subject: DKIM Record
To: <[email protected]
<mailto:[email protected]>>
Hi Folks,
I have updated my dns record of my qmailtoaster record below from
my email server.
cat /var/qmail/control/dkim/public.txt
dkim1 IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNA ..."
But when i tried to send my gmail account it still showed DKIM Fail.
I have ran my standby server one week due to my production server
down, then i have up the production server,
Do i need to regenerate the new dkim record on our server
Appreciate your help.
--
*/Regards,
Manikandan.C
/*
--
*/Regards,
Manikandan.C
/*
--
*/Regards,
Manikandan.C
/*