• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Plesk Creates [email protected] 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 [email protected] as an alias for what was the default Ensim user address (like [email protected])

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 [email protected] -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 [email protected]. 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