Dear Mathias,
Good day,
Many thanks for our feedback. The authantication we are using is under 
Postgress SQL . Could you please send me an example from your below suggestions 
about "authView" & "add a dedicated column"?
Many thanks again for your feedback.
Best regards,

________________________________
From: [email protected] <[email protected]> on behalf of Matthias Kneer 
<[email protected]>
Sent: Monday, March 1, 2021 1:16 AM
To: [email protected] <[email protected]>
Subject: Re: [SOGo] Restrict Web Access at SOGo from specific User - Domain

Hi,

> If we tried to login to
> an email account with the other domain ([email protected]), then the system
> should not proceed. Your assistance is highly appreciated.

What kind of authentication / user backend are you using?

If you are using SQL, you just have to modify your authView to only
return users of domain a.com. You could also add a dedicated column to
your mail users table like "sogoLogin" and only return users in your
view where "sogoLogin" is true / 1.

If you are using LDAP, there's an specific example in the installation
guide (https://www.sogo.nu/files/docs/SOGoInstallationGuide.html) under
"5.4. Authentication using LDAP".

> the following filter to return only entries belonging to the
> organization Inverse with a mail address and not inactive:
> filter = "(o='Inverse' AND mail='*' AND status <> 'inactive')";

This can of course be specifically altered to your requirements.

- Matthias
--
[email protected]
https://inverse.ca/sogo/lists
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to