• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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