- Server operating system version
- AlmaLinux 9.4
- Plesk version and microupdate number
- 18.0.63
Hi all,
I configured DKIM for a domain via Plesk ("use the DKIM anti-spam system to sign outgoing emails").
The entries are in the DNS.
> default._domainkey.mydomaineB.com ==> v=DKIM1; p=MIGfM.....
> _domainkey.mydomaineB.com ==> o=-
> _dmarc.mydomaineB.com ==> v=DMARC1;p=none;rua=mailto:....
When I test a shipment for example. with a PHP function in domain hosting,
$headers = "From: [email protected]\r\n" .
"Reply-To: [email protected]\r\n" .
"Return-Path: [email protected]\r\n" .
"X-Mailer: PHP/" . phpversion();
$parameters = '-f mydomaineB.com';
mail("[email protected]", "This is a test", "This is a test.", $headers, $parameters);
DKIM signature is not valid.
With Gmail:
ARC-Authentication-Results: i=1; mx.google.com;
dkim=fail [email protected] header.s=default header.b=Pnwz1tTx;
...
With another:
DKIM not valid.
..
v=1;
a=rsa-sha256;
c=relaxed/relaxed;
d=wedge.area-team.fr;
s=default;
...
Your public key is:
"v=DKIM1;
p=MIGfM...
...
Key length: 1024bits
Your DKIM signature is invalid
The domain is managed with 3 other domains with a Plesk Admin license.
I don't know if this has any consequence but a few months ago these domains were under a single subscription with a main domain on a server with a Plesk Pro license.
We used Plesk Migrator.
How to fix this? Thank you.
Erwan
I configured DKIM for a domain via Plesk ("use the DKIM anti-spam system to sign outgoing emails").
The entries are in the DNS.
> default._domainkey.mydomaineB.com ==> v=DKIM1; p=MIGfM.....
> _domainkey.mydomaineB.com ==> o=-
> _dmarc.mydomaineB.com ==> v=DMARC1;p=none;rua=mailto:....
When I test a shipment for example. with a PHP function in domain hosting,
$headers = "From: [email protected]\r\n" .
"Reply-To: [email protected]\r\n" .
"Return-Path: [email protected]\r\n" .
"X-Mailer: PHP/" . phpversion();
$parameters = '-f mydomaineB.com';
mail("[email protected]", "This is a test", "This is a test.", $headers, $parameters);
DKIM signature is not valid.
With Gmail:
ARC-Authentication-Results: i=1; mx.google.com;
dkim=fail [email protected] header.s=default header.b=Pnwz1tTx;
...
With another:
DKIM not valid.
..
v=1;
a=rsa-sha256;
c=relaxed/relaxed;
d=wedge.area-team.fr;
s=default;
...
Your public key is:
"v=DKIM1;
p=MIGfM...
...
Key length: 1024bits
Your DKIM signature is invalid
The domain is managed with 3 other domains with a Plesk Admin license.
I don't know if this has any consequence but a few months ago these domains were under a single subscription with a main domain on a server with a Plesk Pro license.
We used Plesk Migrator.
How to fix this? Thank you.
Erwan