• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Get DKIM with API is possible?

MicheleP

Basic Pleskian
Hi
I've external DNS service, and I need to set the DKIM record for mail service for domains (not one)
I know that I can:
go in plesk,
search the domain,
select the domain,
select the MAIL tab,
select mail settings,
enable the DKIm flag
apply the change
click the "external DNS" link
copy the DNS record.
And then modify my external DNS service....

There is no API to enable DKIM and get the DKIM record??
Thanks
 
I use XML API for some operations (with some limitations)
Havent used the DNS API as I've external DSN service, and never used REST, sorry, and as you say has limitations (unknown to me)
Hoped in something more simple
I have to hire a REST developer to have a cup of tea
However thanks
 
Hi
I've external DNS service, and I need to set the DKIM record for mail service for domains (not one)
I know that I can:
go in plesk,
search the domain,
select the domain,
select the MAIL tab,
select mail settings,
enable the DKIm flag
apply the change
click the "external DNS" link
copy the DNS record.
And then modify my external DNS service....

There is no API to enable DKIM and get the DKIM record??
Thanks

I have a similar issue. I don't really mind what the DKIM key is, because this can be queried from the Plesk DNS server using a host lookup (eg nslookup). However, the issue for me (and I think for the original poster) is how to turn on the DKIM flag for a particular subscription.

I can see where the flag is in MYSQL (see below), however, I'm not sure what the parameter is called in the API syntax.

select domains.id,name,value AS 'DKIM' from domains,Parameters where domains.id=Parameters.id and parameter='domain_keys_sign';


| id | name | DKIM |
+----+---------------------------------+------+
| 20 | mydomain1.co.uk | true |
| 22 | mydomain2.com | true |
| 5 | mydomain3.org | true |
 
I have a similar issue. I don't really mind what the DKIM key is, because this can be queried from the Plesk DNS server using a host lookup (eg nslookup). However, the issue for me (and I think for the original poster) is how to turn on the DKIM flag for a particular subscription.

I can see where the flag is in MYSQL (see below), however, I'm not sure what the parameter is called in the API syntax.

select domains.id,name,value AS 'DKIM' from domains,Parameters where domains.id=Parameters.id and parameter='domain_keys_sign';


| id | name | DKIM |
+----+---------------------------------+------+
| 20 | mydomain1.co.uk | true |
| 22 | mydomain2.com | true |
| 5 | mydomain3.org | true |

You need the spam-protect-sign node using the mail set_prefs API call:


 
Back
Top