• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Problem using domain mail aliases

tiennou

New Pleskian
---------------------------------------------------------------
# PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel (Linux) 11.0.9 Update #36

uname -a
Linux *REDACTED* 2.6.38.2-xxxx-std-ipv6-64 #2 SMP Thu Aug 25 16:43:23 UTC 2011 x86_64 GNU/Linux

# PROBLEM DESCRIPTION

I'm trying to set up a domain mail alias (redirect all mails from domain-a.com to domain-b.com, see http://forum.parallels.com/showthread.php?t=257708 for a help request). It's pretty hard to find information about this on the web, but I managed to discover that the mailmng (/opt/psa/admin/sbin/mailmng) CLI command does allow this, it has a --add-domain-alias option.

I've successfully used this to make my domain aliasing work. Mails sent to domain-a.com are delivered to domain-b.com without me having to create a hundred duplicate mailboxes. I can confirm the qmail /var/qmail/control/virtualdomains config file match what I want :
domain-a.com:1
domain-b.com:1
other-domain.com:2
...

The problem is that Plesk seems to overwrite this config (the config file gets reset to each domain name having separate id numbers), so the whole aliasing thing fall apart. It does this seemingly randomly (I don't have any idea when the config gets refreshed, or if it's logged somewhere that the refresh happened). Which is a bug, since I'm using mailmng (which might be undocumented but does what I need).

# STEPS TO REPRODUCE

1) Perform:
/opt/psa/admin/sbin/mailmng --add-domain-alias --domain-name=domain-a.com --domain-alias-name=domain-b.com --set-reject

2) Check that it works by sending a mail to a domain-b.com address, checking that it end up in domain-a.com address.

3) Wait.

4) Have people come see you saying that it doesn't work anymore.

5) Repeat.

# ACTUAL RESULT

Domain mail alias works.

# EXPECTED RESULT

Domain mail alias works, but fails after an undetermined amount of time.

# ANY ADDITIONAL INFORMATION
--------------------------------------------------------------
 
Back
Top