• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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