Add email list impot from plain-text file for white or black lists
When adding email to white or black list, Plesk only gives the option to write manualy one address, and you need to click link to add another one. If you made a decent mannagement of your dmarc responses, and extract spam emails or domains from received email, you have a list too large to write by hand. An option to import a plain text with an email address or domain or top level domain really is a must.
Thank you for your input! We will consider this functionality in upcoming releases if it becomes popular.
Everyone, please continue voting for this feature if you consider it important.
In the meantime, assuming that you are referring to the Blacklist in Server-wide mail settings, as a workaround, you can use the following command to import the entries from txt files:
For Blacklist:
cat your_blacklist.txt | while read i; do plesk bin mailserver --add-to-black-list $i;done
Please make sure that you have each entry on a new line.
-- SH