Can't login after create email via API

Discussion in 'Server Operation' started by Dario82, Mar 17, 2016.

  1. Dario82

    Dario82 New Member

    Hi
    After adding email account via API, I can't login to email account.
    mail.err:
    ---------------
    Mar 17 16:30:14 hosting03 dovecot: imap: Error: user user@domain: Invalid settings in userdb: userdb returned 0 as uid
    Mar 17 16:30:14 hosting03 dovecot: imap: Error: Invalid user settings. Refer to server log for more information.
    -------------------

    Where is problem?

    Thank you
    Dariusz
     
  2. ztk.me

    ztk.me ISPConfig Developer ISPConfig Developer

  3. Dario82

    Dario82 New Member

    Mail service is working.
    When I edit(just save without any change) mailbox after added via API, then I can loggin to mailbox.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then the email address was not added correctly e.g. due to a missing value in $params array. Add a mailbox by api and then compare its record with one that you created in ispconfig to see which param your api call is missing.
     
    Dario82 likes this.
  5. Dario82

    Dario82 New Member

    I miss guid and uid.
    Thank you
     

Share This Page