1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to switch on signing outgoing messages using domainkeys for multiple domains?

Discussion in 'Plesk 11.x for Linux' started by Mshaker, Jan 14, 2013.

  1. Mshaker

    Mshaker Basic Pleskian

    18
    85%
    Joined:
    Oct 21, 2010
    Messages:
    75
    Likes Received:
    0
    I've searched the user manual and CLI manual and I can't find the option to switch on domainkeys for multiple domains in plesk 11 (I'm referring to the option Control Panel > Mail tab > Change Settings > Use DomainKeys spam protection system to sign outgoing e-mail messages checkbox).

    How can I enable this for multiple domains at once ?? It seems that Plesk 11 is missing all the bulk operations options that plesk 9 had ??
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,536
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    Try to use something like:

    # for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/subscription_settings -u $i -sign_outgoing_mail true; done

    BTW, bulk operations options from 9.x have been replaced by Service Plans/Subscriptions model.
     
  3. Mshaker

    Mshaker Basic Pleskian

    18
    85%
    Joined:
    Oct 21, 2010
    Messages:
    75
    Likes Received:
    0
    Your post was exactly what I was looking for. Thanks IgorG!
     
Loading...