• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Plesk Creates root@domain.com Coming from Ensim 4.x

KrazyBob

Regular Pleskian
When using the Plesk Migratiion Manager on Virtuozzo 3 Plesk is migrating in all email addresses correctly *except* that Plesk creates root@domain.com as an alias for what was the default Ensim user address (like site-admin@domain.com)

root@ is getting spammed to death on several servers.

Where is this root@ *alias* written to? It is not in the standard alias file.

I don't write BASH, so let me ask about a script that could travel to each domain, look for the root@ alias, delete it, and save the file back.

Thanks in advance.
 
Hello!

Really, Ensim creates defautl aliases

MAILER-DAEMON ---> postmaster
postmaster ---> root
site_blackhole ---> /dev/null
root ---> default-address
catch-all ---> default-address

Youd could use

/usr/local/psa/bin/mail --update site-admin@domain.com -aliases del:root

to remove this alias by command line.

Thanks.
 
Thank you for the reply.

Your answer is great but assumes that the email address is site-admin@domain.com. I still need to figure out which of many email addresses per domain contains the alias.
 
The easiest way is to analyze dump you made from ensim. There aliases stored as

<alias>ALIAS_NAME</alias>.

Thanks.
 
Thanks again, but we have long since deleted the migration files. I was hoping for an automatced soltion as opposed to a manual process of thousands of domains.
 
You could use Plesk API.

You could analyze results from script like this (for example)

awk -F: '{print $1, ":", $5; }' /var/qmail/users/assign | grep '\-<ALIAS>\ :'

where <ALIAS> - alias you found.
 
Back
Top