Installed new version of Roundcube, cannot add users

Discussion in 'General' started by pawan, Oct 14, 2022.

Tags:
  1. pawan

    pawan Member

    I installed the latest version of roundcube.
    I am able to send and receive emails, but not able to add users from ISPCONFIG interface.
    where and what I need to change.
    all roundcube files are now in /usr/share/roundcube.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Users are not added to Roundcube. Roundcube just connects to the IMAP and SMTP server like any other email client.
     
  3. pawan

    pawan Member

    Hi Till,
    Then the added users ares showing fine in ispconfig, but I am not able to login with new users. existing users before upgrade are just working fine.
    also I could see the added users in ispconfig database - table - mail_user.
    but I always get the error when login to roundcube. - 401-unauthroized.(This is happening for newly added user only)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you tested the new accounts with a different email client like Thunderbird, do they work there?
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Added how? In ISPConfig Panel or did they get added by Roundcube?
    Did you check directly from database the mail user table, are there now double entries for the recently added users?
     
  6. pawan

    pawan Member

    Hi Till,
    I checked in outlook mail client. Receiving mail is working fine. even sending is working, but it is not saving to sent folder and throwing an error like this.
    upload_2022-10-14_22-40-38.png

    @Taleman -
    I added using ISPCONFIG interface. as also there is no double entry in database "mail_user" table. There is just one entry.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You should also check if you upgraded the RoundCube database correctly, installing a new version most likely requires that you update the database schema as well.
     
  8. pawan

    pawan Member

    Hi Till,
    This is resolved.
    Actually I had to set the auto create user to true. it was set as false.
    Code:
    $config['auto_create_user'] = true;
    // Automatically register user in Roundcube database on successful (IMAP) logon.
    // Set to false if only registered users should be allowed to the webmail.
    // Note: If disabled you have to create records in Roundcube users table by yourself.
    // Note: Roundcube does not manage/create users on a mail server.
    $config['auto_create_user'] = true;
     
    till and ahrasis like this.

Share This Page