• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

right mailserverconfiguration DKIM - DomainKeys Plesk 12.5

MG_Sky_Georg

New Pleskian
Hello,

i have an issue with my mailserver (postfix on debian with plesk 12.5)

i've checked my mailserver with a test mail an got this response:

==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: neutral
DKIM check: neutral
Sender-ID check: pass
SpamAssassin check: ham

i want to get the pass for the DomainKeys and DKIM check:

i activated the domainkey protection in plesk server and domainsided:

http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=59433.htm

related to this tutorial.

But i've still got the mail check results from above :-(

do you have any other suggestion for me?

Greetings
 
Hi MG_Sky_Georg
How have you set up the milters in Postfix /etc/postfix/main.cf...
Code:
milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:127.0.0.1:12768, inet:127.0.0.1:12345
non_smtpd_milters = inet:127.0.0.1:12345,


Where 127.0.0.1:12345 is DKIM.
Other than that, what does it show in the mail logs?

/var/log/mail.log
/var/log/mail.err

Kind regards

Lloyd
 
hey thanks for the quick reply.

these were missing in the main.cf

but when i test it now the mailtest says:

i should use DKIM:

Die DomainKeys Signatur Ihrer Nachricht ist:

a=rsa-sha1;
q=dns;
c=nofws;
s=default;
d=car-point-allen.de;
b=zZZ9S7RfSRXGUr59vYiEIjwEedt1iPaXbDwE/o4juLCKhdjpZf9x6hq+RL41e2ddJ82xRSrvKM+HFkxUPFygX6qDpFZWgjMz1DqyyS4iiEuvmUB+Qn+s6.....;
h=Received:Date:Message-ID:From:To:Subject:User-Agent:Content-Type:MIME-Version:Content-Disposition:X-PPP-Message-ID:X-PPP-Vhost;

Wir konnten Ihren öffentlichen Schlüssel nicht empfangen.
Bitte stellen Sie sicher, dass Sie Ihren öffentlichen Schlüssel in Ihren DKIM-TextRecord im DNS für Ihre Domain car-point-allen.de mit dem Selektor default eingetragen haben.
Wenn Sie kürzlich Ihr DNS geändert haben, warten Sie 12 Stunden und testen Sie Ihren Newsletter dann erneut, es dauert für gewöhnlich einige Zeit, bis die DNS-Einstellungen verbreitet sind.

but it also says:

i should wait 12 hours if i've set it up short recently..

Should i edit the DNS-Settings of the domain and add the right key?
The mailtestingtool says it is unable to receive the public Key.
I should proof that the public key is inside the DKIM-TextRecord with the selector "default"

but i dont really understand what i have to do now :-(

Mail.err has the following inside:

Feb 9 16:19:10 domain dk_check[28425]: DK_STAT_NOSIG: No signature available in message
 
Last edited:
=========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: permerror
DKIM check: neutral
Sender-ID check: pass
SpamAssassin check: ham

----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result: permerror (DK_STAT_NOKEY: No public key available (permanent failure)
ID(s) verified: )
DNS record(s):
default._domainkey.[domain.de]. TXT (no records)

but in my domain i have the following:


default._domainkey.[domain].de. TXT p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFF7nSV5cTfEP8U8xrH2TVQXt0l1laYaS/da4XKEmT6QnRYxTDhBGYBDQkxD4uvlL0TEWWCcYQT3zWsW1HSjPiIbIZ5taYhL0vBLJw/sAwF7uaJpxu400Vv3jLd...;
 
Right, lets get DomainKeys working first. Are you using Plesk as your domains nameserver or are you using your registrar? 1&1 Control Panel etc.
If yes you need to add the default TXT record there (along with the rest of your records.)

What commands did you use to install OpenDKIM on your system?
You can find a good guide for installing OpenDKIM here...

https://matoski.com/article/spf-dk-dkim-plesk-debian/

Hope that helps
Kind regards

Lloyd
 
Hey thanks for your reply.

I've put the Domainkeys now inside my hosters panel, first i thought they are organised by plesk but my hoster has it's own dns configuration.

Now i've got it working, except the dkim, should i install it manualy like described in the tutorial above? does the method work with plesk 12.5 too?

i haven't installed yet opendkim
 
Great, glad you got that worked out.
Yeah follow that guide and you should be good.
Kind regards

Lloyd
 
Back
Top