• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

How do I add E-Mail Adresses + Redirections manually?

D

djrazr

Guest
Hello Parallel's

I want to give every user of my Service the possibility to have an own [email protected] Email Redirection.
Therefor i wrote a PHP which does the following tasks:
Creating a new Account ID with entering a Password in 'accounts'.
Taking the ID ('account_id'), the Domain ID ('dom_id'), The username ('mail_name'), the permid with cp permission ('perm_id') and the redirect address:('redir_addr' + 'redirect'=true) and fill a new row in 'mail'.

My own redirections , which are created from the panel are working fine, but all of those "manually" added ones are sending their mails to my admin email address.. -.-


Does someone have a clue? How do i add new redirections over a php script? What is missing?
 
Okay.. found the api and this:
<packet version="1.4.2.0">
<mail>
<create>




<filter>
<domain_id>3</domain_id>
<mailname>
<name>admin</name>
<mailbox>
<enabled>false</enabled>
</mailbox>
<password>12345</password>
<password_type>crypt</password_type>
<permissions>
<cp_access>false</cp_access>
</permissions>
</mailname>
</filter>
</create>
</mail>
</packet>
But how do i add forwarding to the call?
 
Back
Top