Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-10, 07:27:44

Author Topic: DKIM not valid if I don't use...  (Read 4351 times)

0 Members and 1 Guest are viewing this topic.

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
DKIM not valid if I don't use...
« on: 2017-03-03, 08:21:26 »
I've noticed that  my email get 10 of 10 at mail-tester.com.

But only if I use my smtp as mail.primarydomain.com, and not as mail.secondarydomain.com.

1. primarydomain.com is my main domain name of server, and all email with other domains on this server get DKIM validation OK only if I use in email client SMTP as mail.primarydomain.com and not as mail.secondarydomain.com or as mail.any-other-domain-on-this-server.com?!?

2. mail.secondarydomain.com is one domain example on this server, and I have few domains on this server


Is there anything wrong with my configuration?
Is there anything wrong with mail-tester.com?

I have try both combination with sending on gmail, and gmail say SPF and DKIM validation pass.

Google -> View Source:
Code: [Select]
SPF: PASS with IP-om xx.xx.xx.xx
DKIM: PASS with domain mysecondarydomain.com


 
« Last Edit: 2017-03-03, 08:24:55 by idove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DKIM not valid if I don't use...
« Reply #1 on: 2017-03-03, 08:35:05 »
DKIM already enable for all server if enable 'domainkeys' in 'mail server settings'.

You will see 'TXT record' for '_domainkey' and 'private._domainkey' for each domain.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #2 on: 2017-03-03, 12:10:59 »
Thank you for your suggestions.
But  I already have in "Server Mail Settings" enabled/checked "Enable Domainkey".
Also in every other domain on this server in Manage DNS I have
TXT, _domainkey and private._domainkey.

So, this was already enabled, is there anything else I can do, or check?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DKIM not valid if I don't use...
« Reply #3 on: 2017-03-03, 13:16:08 »
Did you used Kloxo-MR 6.5?. Try 'sh /script/fixdomainkey'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #4 on: 2017-03-07, 07:41:38 »
I'm using latest 6.5.0.f, now I see that there is 6.5.0 version only. Is this the same?
I check today morning without changing and now it is ok. Maybe mail-tester.com domain has some problems?!! :)


Anyway, thank you for your tip, it will be very usefull for domain tranfering on new server, with this command I can see now I can regenerate domainkey. Tnx.

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #5 on: 2017-03-09, 09:38:39 »
Problem still exists, I do not understand:

primary-domain.com (everything is fine, if I use this one domain, mail.primary-domain.com as smtp for any secondary-domain mail),

Code: [Select]
primary-domain.com

---
TXT entry in Kloxo MR:
---
v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkOo84k5HBbUVwhujEQBAjiBn3vwLHEWoIehhB3HImOZxJxKeOOwz0Dk0/rXVaDTuhFhUV9s3/OpSrKZ/FvxBxMc6NDWo8A0Ldii9ehyHlPg8DuHkoQCpVz9O2F6Eu1IrlwI3qBQYUDL/kQn4lhjddX/i1f7I/cvu0j/vEhLJd3QIDAQAB

---
Result from mail-tester:
---
Your DKIM signature is valid
DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message.
The DKIM signature of your message is:

v=1;
a=rsa-sha1;
c=relaxed;
d=de-firmen.com;
h=date:from:to:subject:message-id:mime-version:content-type:content-transfer-encoding;
s=private;
bh=d/WCp4/6nl13989hLxvkham+5Hg=;
b=qNDZ26HqUD6UDWxJLb0Nw3jpn5lzTnj28JqF0e0Sr5Z9Xt8rtm44DmZxkXDlArRntibrHwMl1wCXpZYaykUVZ8gE+S5kb3teCKkNaf/LOdfl5VsMBOdo8kkwlm7B2a40qtn7NTbAKcyUTnHMGJ69vqk3BJy2+y6wSs9D9Xxgqz0=
Your public key is:

"v=DKIM1;
g=*;
k=rsa;
p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdQfmFsTLi/BshrO8A3M1u5kaY08pfrLizD4S9SPbSCBjJf5ib27dSmhITJOZHlxoVkxaTSJELjtsWJgDeET/piQXpB3GlnTaL2umUKIrHv53OMQtJTwtzmzbg1N7vefOk1NaDMl7dVcaZunJFr5Yp7WKPxaSWLWFE9Q/Saah94wIDAQAB"
Key length: 1024bits

and secondary-domain.com when is used as smtp, mail.secondary-domain.com

Code: [Select]
secondary-domain.com

---
TXT entry in Kloxo MR:
---
v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdQfmFsTLi/BshrO8A3M1u5kaY08pfrLizD4S9SPbSCBjJf5ib27dSmhITJOZHlxoVkxaTSJELjtsWJgDeET/piQXpB3GlnTaL2umUKIrHv53OMQtJTwtzmzbg1N7vefOk1NaDMl7dVcaZunJFr5Yp7WKPxaSWLWFE9Q/Saah94wIDAQAB

---
Result from mail-tester:
---
Your DKIM signature is not valid
DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message.
The DKIM signature of your message is:

v=1;
a=rsa-sha1;
c=relaxed;
d=de-firmen.com;
h=date:from:to:subject:message-id:mime-version:content-type:content-transfer-encoding;
s=private;
bh=/txFAm6jPThdEY2asJ3unINrbUQ=;
b=v3CCvLH6nuVbYJEu8OTga2HVcpi03ujbLBh4XwxtIlTRA8qt7c0qVtcrMMb2SFhGs3Zo0FotzU1TqXj65S9YVnCwzOmaxx7+bdz8CKacIHh6vxCOQvMjaiHq4ixQIDxrQH+gf4QWEzCb/PtZtWljiPErLBStPNP+XLA476ZMHp8=
Your public key is:

"v=DKIM1;
g=*;
k=rsa;
p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdQfmFsTLi/BshrO8A3M1u5kaY08pfrLizD4S9SPbSCBjJf5ib27dSmhITJOZHlxoVkxaTSJELjtsWJgDeET/piQXpB3GlnTaL2umUKIrHv53OMQtJTwtzmzbg1N7vefOk1NaDMl7dVcaZunJFr5Yp7WKPxaSWLWFE9Q/Saah94wIDAQAB"
Key length: 1024bits

Your DKIM signature is not valid


Strange right?
What will I get if I start
'sh /script/fixdomainkey' ?

This fill change/update all domains TXT domainkey entry or?

Thank you.
« Last Edit: 2017-03-09, 09:43:19 by idove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DKIM not valid if I don't use...
« Reply #6 on: 2017-03-09, 11:05:14 »
What's website for testing your DKIM?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #7 on: 2017-03-10, 10:55:51 »

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #8 on: 2017-03-16, 07:18:42 »
Have you found something, do I need to start DKIM script?
Tnx.

Offline idove

  • Valuable Member
  • *
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: DKIM not valid if I don't use...
« Reply #9 on: 2017-03-17, 08:18:52 »
And today without any changes test-mailer.com 10/10.
So I suppose there was some problem with mail-tester.com,
also in future I'm testing with sending mail on gmail.com and mail-tester.com as 2nd option.

Thank you,


 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.033 seconds with 18 queries.

web stats analysis