• 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.

Domain Email Only Aliasing

M

MerickOWA

Guest
I've got 2 domains in plesk. domain1.com and domain2.com. I'm trying to make it so that i setup email accounts on domain1.com and (me@domain1.com for example) and it automatically being setup for (me@domain2.com) without actually having 2 accounts to have to manage.

By editing the /var/qmail/control/virtualdomains file and changing the number on domain2.com to match domain1.com, I seem to have accomplished my goal. However this file gets overwritten by plesk when upgrading or runing the mchk tool.

Is there a better way to accomplish this? Or is there a script i could write that would when mchk does to make sure this setting is always maintained?
 
Back
Top