• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue API "remove email" call breaks Webmail

pge

New Pleskian
Hi all,

General Infos first:

Code:
Product version: Plesk Obsidian 18.0.20.2
     OS version: Ubuntu 18.04 x86_64
     Build date: 2019/11/01 13:00
       Revision: 8990d615e1ba3c129f3e9a49ad9a3ff28d99aa08

i have created a site and added access to the api via panel.ini.

Now i create a mailaccount using

Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet>
<mail>
<create>
   <filter>
      <site-id>3</site-id>
      <mailname>
          <name>testaccount7</name>
          <mailbox>
                <enabled>true</enabled>
                <quota>1024000</quota>
          </mailbox>
          <password>
                <value>pvL2o7pjc</value>
                <type>crypt</type>
          </password>
      </mailname>
   </filter>
</create>
</mail>
</packet>

Verify it has been created and also try webmail login. Everything cool.

Now i try to delete said account with

Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet>
<mail>
<update>
  <remove>
   <filter>
      <site-id>3</site-id>
      <mailname>
          <name>testaccount7</name>
      </mailname>
   </filter>
  </remove>
</update>
</mail>
</packet>

I get a

Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
  <mail>
    <update>
      <remove>
        <result>
          <status>ok</status>
          <mailname>
            <name>testaccount7</name>
          </mailname>
        </result>
      </remove>
    </update>
  </mail>
</packet>

But the account still is there on the plesk frontend, but all of the sudden the webmail. URL shows "connection refused".
 
No Feedback at all?
This must be a common issue and someone else must have experienced this?
 
Back
Top