• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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