Article ID: 112737, created on Nov 7, 2011, last review on Aug 12, 2014

  • Applies to:
  • Plesk 10.x for Linux
  • Plesk 10.x for Windows

Symptoms

The following request to create a mailname sent under a reseller account returns error:

Request:
<packet version="1.6.3.0">
  <mail>
    <create>
      <filter>
        <site-id>70</site-id>
          <mailname>
            <name>example1</name>
              <mailbox>
                <enabled>true</enabled>
                <quota>-1</quota>
              </mailbox>
              <forwarding>
                <enabled>true</enabled>
                <address>example1@example.com</address>
              </forwarding>
              <password>
                <value>example-pass</value>
                <type>plain</type>
              </password>
            </mailname>
          </filter>
        </create>
      </mail>
</packet>

Response:
<packet version="1.6.3.0">
  <mail>
    <create>
      <result>
        <status>error</status>
        <errcode>1006</errcode>
        <errtext>Permission denied.</errtext>
      </result>
    </create>
  </mail>
</packet>

Resolution

Upgrade Parallels Plesk Panel to version 10.3 or higher.
Replace file %plesk_dir%\admin\plib\api-rpc\ AgentMail.php with the fixed version taken from the attached archive.
 

Attachments

dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 85a92ca67f2200d36506862eaa6ed6b8 c796c01d6951fa24ed54c7f1111667c6 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF