On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to enable/disable DKIM signing for all domains in Plesk for Linux

Follow

Comments

5 comments

  • Avatar
    Fouad Ahmed Fouad

    Thanks, this solved it in no time!

    0
    Comment actions Permalink
  • Avatar
    Vojkan Cvijanovic (Edited )

    3. Run the following command to enable DKIM signing for all domains:

    for domain in $(plesk db -Ne 'SELECT name FROM domains WHERE parentDomainId=0;'); do plesk bin domain_pref --update $domain -sign_outgoing_mail true; done

    This didn't work for me on CentOS 7 + Plesk 18.

    I get:
    -bash: syntax error near unexpected token `do'

    0
    Comment actions Permalink
  • Avatar
    Renan Genova Ferreira

    Hi, Vojkan Cvijanovic!

    The command should work there - please make sure you run it as root and that no extra characters are copied over.

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Emilio Ortiz

    If you have problems validanting DKIM records first disable all (false) and after enabled all (true).

    0
    Comment actions Permalink
  • Avatar
    Senaka

    I have executed the 3rd command with "false" and then run again with "true". But gmail saying my server domain email's DKIM is "FAIL". How to fix it please? Can we regenerate new Key domain domains?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request