• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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