Redirecting Settings

Mail account can redirect all incoming correspondence to a specified e-mail address. To enable the redirect feature for a particular mail account, request packet should contain the redirect node within the mailname parent node.

The redirect node does not have a special data type, it is defined within the parent node as follows:

 

The following sample packet creates a mail account, and makes it redirect all incoming messages to techdept@example.com:

<packet version="1.4.2.0">
<mail>
<create>
   <filter>
      <domain_id>12</domain_id>
      <mailname>
          <name>bfischer</name>
          <redirect>
              <enabled>true</enabled>
              <address>techdept@example.com</address>
          </redirect>
      </mailname>
   </filter>
</create>
</mail>
</packet>