• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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 ([email protected] for example) and it automatically being setup for ([email protected]) 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