Article ID: 6072, created on Feb 24, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.3 for Linux/Unix
  • Plesk 8.6 for Linux/Unix

Symptoms

Parallels Plesk Panel version 8.6 or Parallels Plesk Panel version 9.3 is installed.

Suppose the following mail accounts exist on domain DOMAIN.TLD: test_xx@, test1@ and test2@. They were created through {Domains -> DOMAIN.TLD -> Mail} in Parallels Plesk Panel version 8.6 or through {Domains -> DOMAIN.TLD -> Mail Accounts} in Parallels Plesk Panel version 9.3.

Mail redirect is configured for account test_xx@ through {Domains -> DOMAIN.TLD -> Mail -> test_xx@DOMAIN.TLD -> Redirect}. Redirect is configured to forward messages to test1@, this causes the following configuration of account test_xx@:

~# cat $QMAIL_MAILNAMES_D/DOMAIN.TLD/test_xx/.qmail
| true
| /usr/bin/deliverquota ./Maildir
&test1@DOMAIN.TLD
~#

Also mail group is configured on account test_xx@ with members test1@ and test2@: {Domains -> DOMAIN.TLD -> Mail -> test_xx@DOMAIN.TLD -> Mail Group}. This causes the following configuration:

~# cat $QMAIL_MAILNAMES_D/DOMAIN.TLD/test_xx/.qmail
| true
| /usr/bin/deliverquota ./Maildir
&test2@DOMAIN.TLD
&test1@DOMAIN.TLD
~#

When I disable redirect option for test_xx@ {Domains -> DOMAIN.TLD -> Mail -> test_xx@DOMAIN.TLD -> Redirect}, address test1@ is removed from qmail configuration file:

~# cat $QMAIL_MAILNAMES_D/DOMAIN.TLD/test_xx/.qmail
| true
| /usr/bin/deliverquota ./Maildir
&test2@DOMAIN.TLD
~#


According to Parallels Plesk Panel GUI mail group is configured on account test_xx@ with members test1@ and test2@, they are shown at {Domains -> DOMAIN.TLD -> Mail -> test_xx@DOMAIN.TLD -> Mail Group}. However mail account test1@ is missing according to file system.

Resolution

The problem is a known one and will be fixed in future update of Parallels Plesk Panel that will be released after version 9.3.

Hotfix for Parallels Plesk Panel versions 8.6 and 9.3 is attached.

To install the hotfix you should download the archive and unpack it with tar -zxf. In resulted directory find file MailNameRedirect.php (and MailNameGroup.php for Panel 9) for your Parallels Plesk Panel version and replace existent file $PRODUCT_ROOT_D/admin/plib/mail/MailNameRedirect.php with it (and $PRODUCT_ROOT_D/admin/plib/mail/MailNameGroup.php for version 9.3).

Please remember to backup old files and fix permissions, it should be root:psaadm, 644. You may correct permissions with commands chown and chmod:

For example on RedHat-like and FreeBSD operating systems:

~# chown root:psaadm /usr/local/psa/admin/plib/mail/MailNameRedirect.php
~# chown root:psaadm
/usr/local/psa/admin/plib/mail/MailNameGroup.php
~# chmod 644 /usr/local/psa/admin/plib/mail/MailNameRedirect.php

~# chmod 644 /usr/local/psa/admin/plib/mail/MailNameGroup.php

The files are located in directory /opt/psa/admin/plib/mail/ on Debian and Ubuntu.

Attachments

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 9fa0130c84cac4b292697ade62270a40 b8ef5052d936e902043e41759118114e 165ec78c924fabffe1d80dc3eabc98c6 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF