Hi,@Kocot K
In an on-premises Exchange Server environment, such as Exchange 2019, shared mailboxes don't require their own Client Access License (CAL). However, any user accessing a shared mailbox must have their own CAL. This means that as long as all users have the appropriate licenses, the shared mailbox itself does not require a separate CAL.
If you're using advanced compliance features such as archiving, legal hold, or data loss prevention (DLP), additional licenses may be required for both the shared mailbox and the users who access it. For example, these advanced features may require an Enterprise CAL (ECAL).
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".