Re: [qmailtoaster] Fwd: DKIM Record

2020-12-02 Thread ChandranManikandan
Hi Eric,

Sorry for the late reply.

I have done the wrong record in the DNS server earlier, now i have put the
correct record and working fine.
Thanks for your help.

On Mon, Nov 23, 2020 at 11:16 PM Eric Broch  wrote:

> 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 
> 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._domainkeyv=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 
>> Date: Wed, Nov 18, 2020 at 2:35 PM
>> Subject: DKIM Record
>> To: 
>>
>>
>> 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 *
>
>

-- 


*Regards,Manikandan.C*


Re: [qmailtoaster] Fwd: DKIM Record

2020-11-23 Thread Eric Broch

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 > 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._domainkeyv=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* mailto:kand...@gmail.com>>
Date: Wed, Nov 18, 2020 at 2:35 PM
Subject: DKIM Record
To: mailto:qmailtoaster-list@qmailtoaster.com>>


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
/*


Re: [qmailtoaster] Fwd: DKIM Record

2020-11-23 Thread ChandranManikandan
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  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 
> Date: Wed, Nov 18, 2020 at 2:35 PM
> Subject: DKIM Record
> To: 
>
>
> 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*


Re: [qmailtoaster] Fwd: DKIM Record

2020-11-19 Thread Eric Broch

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* mailto:kand...@gmail.com>>
Date: Wed, Nov 18, 2020 at 2:35 PM
Subject: DKIM Record
To: >



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
/*


[qmailtoaster] Fwd: DKIM Record

2020-11-19 Thread ChandranManikandan
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 
Date: Wed, Nov 18, 2020 at 2:35 PM
Subject: DKIM Record
To: 


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*