• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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