Remote API - virtual mailbox table

Discussion in 'Installation/Configuration' started by SamTzu, Aug 30, 2018.

  1. SamTzu

    SamTzu Active Member

    I'm testing the ISPconfig Remote API for mailbox remote creation and everything seems to work fine.
    I can see the mailbox being created to /var/vmail/
    I can login using webmail but when I try to send anything to that new email address I get this error message
    Recipient address rejected: User unknown in virtual mailbox table.

    I can see these two folders created in /var/vmail/ folder.
    [email protected]

    It seams that sieve files are missing from the user folder.

    Any idea what I'm missing in the Remote User creation?
    Last edited: Aug 30, 2018
  2. SamTzu

    SamTzu Active Member

    I'm thinking it's this part of the code in the Remote script:
          try {
              $user->newSubscription('main', $plan)->create($ccToken, [
                  'email' => $user->email
              'maildir' => '/var/vmail/'.$user->username,
              'homedir' => '/var/vmail',
              'quota' => 1073741824,
              'move_junk' => 'y',
              'custom_mailfilter' => 'spam',
              'access' => 'y',
              'disableimap' => 'n',
              'disablepop3' => 'n',
              'disabledeliver' => 'n',
              'disablesmtp' => 'n'
  3. SamTzu

    SamTzu Active Member

Share This Page