Intro

This specific script adds a webmaster email address with standard aliases like [email protected] and [email protected], but without an actual mailbox. The messages are forwarded to an address at another domain name. It will also enable the antivirus scanning.

When an address already exists it writes an error and continues to the next domain.

Script

You can run the code manually to process all of your existing domains, but with the instructions below you can also have it executed each time a new domain is added to Plesk Onyx.