Article ID: 129159, created on Jul 24, 2016, last review on Jul 24, 2016

  • Applies to:
  • Plesk Automation 11.5

Question

How to enable the option Use DomainKeys spam protection system to sign outgoing email messages server wide (for all domains)?

Answer

  1. Enable option Allow signing outgoing mail under Hosting Provider CP > Infrastructure > Mail Service Node > Mail Service Settings.

  2. Login to PA Management node and create list of domains with Mail Services:

    [root@pa115mn ~]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ne"select name from domains where id in (select dom_id from DomainServices where type='mail' and ipCollectionId in (select ipCollectionId from IpAddressesCollections where ipAddressId in (select id from IP_Addresses where ip_address='203.0.113.2')));" > domains_with_mail.txt
    

    Note: 203.0.113.2 - is IP address of Postfix Mail Service node.

  3. Run the command:

    [root@pa115mn ~]# for d in `cat /root/domains_with_mail.txt`;do /usr/local/psa/bin/domain_pref -u $d -sign_outgoing_mail true; done 
    

Search Words

Allow signing outgoing mail

Use DomainKeys spam protection system to sign outgoing email messages

DomainKeys spam protection

DomainKeys

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF