- Plesk Onyx for Linux
How to add all the domains hosted in Plesk to mail server's White List at once?
This feature is not implemented in Plesk yet.
Take part in product improvement by creating a Feature request in Plesk UserVoice portal. The top-ranked suggestions are likely to be included in the next versions of Plesk.
As a workaround:
Connect to Plesk server via SSH
Run the following command to add all domains in SpamAssassin white list using the
# for domain in $( plesk bin site --list ); do plesk bin spamassassin --update-server -whitelist add:*@$domain ; done