Mailusers.Why sys_userid=sys_groupid in database?

Discussion in 'Installation/Configuration' started by atomlab, Jul 27, 2011.

  1. atomlab

    atomlab New Member

    Hi.
    1.I create client "NewClient1". Login from NewClient1.
    2.Create doman "client-domain.net"
    3.Add two Email Mailbox:
    Code:
      - [email protected]
      - [email protected]
    
    ISPConfig insert users to mysql table mail_user:

    Code:
    mailuser_id  	sys_userid	  sys_groupid	              email	                          
         1                            2                      2                        [email protected]
         2                            2                      2                        [email protected]
    
    Why sys_userid=sys_groupid ?

    sys_groupid = Group number (All users into the domain "client-domain.net")
    sys_userid = Number of the user in the domain "client-domain.net"

    Нow insert for each user personal sys_userid in one domain?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There seem to ebe a misunderstanding on what the sys_userid is. the sys_userid is a internal ID used by ispconfig to configure the permissions for records in the database. The sys_userid is the ID of the user that is currently logged into the ispconfig interface (or when the admin created it, then its the userid of the sys_user that is associated with the client that shall own a record) which has created that specific record. So the sys_userid is always the same for all mailboxes of a given domain in ISPConfig.

    That the sys_userid is identical with the sys_groupid in your example is just a coincident.
     

Share This Page