Articles in this section

How to enable DKIM signing for all domains in Plesk for Windows Server

Plesk for Windows kb: how-to ABT: Group B

Applicable to:

  • Plesk for Windows

Question

How to enable DKIM signing for all domains in Plesk for Windows Server?

Answer

  1. Connect to a Plesk server via RDP.

  2. Start a command prompt as an Administrator and run the command below to generate a list of all domains:

    C:\> "%plesk_bin%\dbclient.exe" --direct-sql --sql="SELECT name FROM domains" > C:\dns.txt

  3. Allow signing outgoing mail by DKIM spam protection on a server level:

    C:\> plesk bin mailserver.exe --sign-outgoing-mail true

  4. Enable DKIM signing for all domains:

    C:\> for /f "skip=1" %i in (C:\dns.txt); do ("%plesk_cli%\domain_pref.exe" --update %i -sign_outgoing_mail true)

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.