- 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, perform the following steps:
Connect to the server via SSH
Run the following command to add all domains in Spamassassin White List using the format: *@example.com
# for domain in $( plesk bin site --list ); do plesk bin spamassassin --update-server -whitelist add:*@$domain ; done