Re: [SOGo] Forwarding to internal domains only

2024-03-06 Thread Kees van Vloten



Op 06-03-2024 om 08:54 schreef qhivert (qhiv...@alinto.eu):

In what documentation you were looking at ?
In here, look for the parameter SOGoForwardConstraints and it is explained  
https://www.sogo.nu/files/docs/SOGoInstallationGuide.html


Hmm, that's interesting.

I looked exactly there around 2 weeks ago and I found only 0,1,2 as 
options for SOGoForwardConstraints and no reference to 
SOGoForwardConstraintsDomains.


But now I see what you also see, it is all documented. Problem solved, 
thanks again, and sorry for the inconvenience.


- Kees.


Quentin
-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Kees van Vloten
Sent: mardi 5 mars 2024 15:33
To: users@sogo.nu
Subject: Re: [SOGo] Forwarding to internal domains only


On 04-03-2024 09:03, qhivert (qhiv...@alinto.eu) wrote:

Hello,
Yes, you can like this:
SOGoForwardEnabled = YES
SOGoForwardConstraints = 3;
SOGoForwardConstraintsDomains = ("gmail.com", "googlemail.com");

The value 3 will check for both internal domain known by sogo and domains in 
the list SOGoForwardConstraintsDomains

Thanks Quentin, I have tested this setting, it works!

This option '3' and the extra config key 'SOGoForwardConstraintsDomains'
are not in the documentation (I checked that before asking here).
Could you add that, please?

- Kees.


Quentin
-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Kees van Vloten
Sent: vendredi 1 mars 2024 15:05
To: users@sogo.nu
Subject: [SOGo] Forwarding to internal domains only

Hi,

I want to allow users to set forwarding to internal mail accounts, so mail 
sogo.conf contains:

   SOGoForwardEnabled = YES;
   SOGoForwardConstraints = 1;

The fact is that there are multiple internal domains and not all users can send 
mails in all domains.

Now it looks like sogo looks at the user's mail identities to determine what 
internal domains are for that user. Because what sogo deems an internal domain 
differs per user.

So if you have identities in example.com and example.org you can forward within 
both, but if you just have an identity in example.com you can only forward to 
example.com addresses. What I want is that all users can forward to both 
because both are in internal domains.

Is it possible to specify a list of internal domains in sogo.conf?
Or perhaps configure a LDAP query to fetch internal domains there?

- Kees.



RE: [SOGo] Forwarding to internal domains only

2024-03-06 Thread qhivert
In what documentation you were looking at ?
In here, look for the parameter SOGoForwardConstraints and it is explained  
https://www.sogo.nu/files/docs/SOGoInstallationGuide.html

Quentin
-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Kees van Vloten
Sent: mardi 5 mars 2024 15:33
To: users@sogo.nu
Subject: Re: [SOGo] Forwarding to internal domains only


On 04-03-2024 09:03, qhivert (qhiv...@alinto.eu) wrote:
> Hello,
> Yes, you can like this:
> SOGoForwardEnabled = YES
> SOGoForwardConstraints = 3;
> SOGoForwardConstraintsDomains = ("gmail.com", "googlemail.com");
>
> The value 3 will check for both internal domain known by sogo and domains in 
> the list SOGoForwardConstraintsDomains

Thanks Quentin, I have tested this setting, it works!

This option '3' and the extra config key 'SOGoForwardConstraintsDomains' 
are not in the documentation (I checked that before asking here).
Could you add that, please?

- Kees.

>
> Quentin
> -Original Message-
> From: users-requ...@sogo.nu  On Behalf Of Kees van 
> Vloten
> Sent: vendredi 1 mars 2024 15:05
> To: users@sogo.nu
> Subject: [SOGo] Forwarding to internal domains only
>
> Hi,
>
> I want to allow users to set forwarding to internal mail accounts, so mail 
> sogo.conf contains:
>
>   SOGoForwardEnabled = YES;
>   SOGoForwardConstraints = 1;
>
> The fact is that there are multiple internal domains and not all users can 
> send mails in all domains.
>
> Now it looks like sogo looks at the user's mail identities to determine what 
> internal domains are for that user. Because what sogo deems an internal 
> domain differs per user.
>
> So if you have identities in example.com and example.org you can forward 
> within both, but if you just have an identity in example.com you can only 
> forward to example.com addresses. What I want is that all users can forward 
> to both because both are in internal domains.
>
> Is it possible to specify a list of internal domains in sogo.conf?
> Or perhaps configure a LDAP query to fetch internal domains there?
>
> - Kees.
>



Re: [SOGo] Forwarding to internal domains only

2024-03-05 Thread Kees van Vloten



On 04-03-2024 09:03, qhivert (qhiv...@alinto.eu) wrote:

Hello,
Yes, you can like this:
SOGoForwardEnabled = YES
SOGoForwardConstraints = 3;
SOGoForwardConstraintsDomains = ("gmail.com", "googlemail.com");

The value 3 will check for both internal domain known by sogo and domains in 
the list SOGoForwardConstraintsDomains


Thanks Quentin, I have tested this setting, it works!

This option '3' and the extra config key 'SOGoForwardConstraintsDomains' 
are not in the documentation (I checked that before asking here).

Could you add that, please?

- Kees.



Quentin
-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Kees van Vloten
Sent: vendredi 1 mars 2024 15:05
To: users@sogo.nu
Subject: [SOGo] Forwarding to internal domains only

Hi,

I want to allow users to set forwarding to internal mail accounts, so mail 
sogo.conf contains:

  SOGoForwardEnabled = YES;
  SOGoForwardConstraints = 1;

The fact is that there are multiple internal domains and not all users can send 
mails in all domains.

Now it looks like sogo looks at the user's mail identities to determine what 
internal domains are for that user. Because what sogo deems an internal domain 
differs per user.

So if you have identities in example.com and example.org you can forward within 
both, but if you just have an identity in example.com you can only forward to 
example.com addresses. What I want is that all users can forward to both 
because both are in internal domains.

Is it possible to specify a list of internal domains in sogo.conf?
Or perhaps configure a LDAP query to fetch internal domains there?

- Kees.



RE: [SOGo] Forwarding to internal domains only

2024-03-04 Thread qhivert


Hello,
Yes, you can like this:
SOGoForwardEnabled = YES
SOGoForwardConstraints = 3;
SOGoForwardConstraintsDomains = ("gmail.com", "googlemail.com");

The value 3 will check for both internal domain known by sogo and domains in 
the list SOGoForwardConstraintsDomains

Quentin
-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Kees van Vloten
Sent: vendredi 1 mars 2024 15:05
To: users@sogo.nu
Subject: [SOGo] Forwarding to internal domains only

Hi,

I want to allow users to set forwarding to internal mail accounts, so mail 
sogo.conf contains:

 SOGoForwardEnabled = YES;
 SOGoForwardConstraints = 1;

The fact is that there are multiple internal domains and not all users can send 
mails in all domains.

Now it looks like sogo looks at the user's mail identities to determine what 
internal domains are for that user. Because what sogo deems an internal domain 
differs per user.

So if you have identities in example.com and example.org you can forward within 
both, but if you just have an identity in example.com you can only forward to 
example.com addresses. What I want is that all users can forward to both 
because both are in internal domains.

Is it possible to specify a list of internal domains in sogo.conf?
Or perhaps configure a LDAP query to fetch internal domains there?

- Kees.



[SOGo] Forwarding to internal domains only

2024-03-01 Thread Kees van Vloten

Hi,

I want to allow users to set forwarding to internal mail accounts, so 
mail sogo.conf contains:


    SOGoForwardEnabled = YES;
    SOGoForwardConstraints = 1;

The fact is that there are multiple internal domains and not all users 
can send mails in all domains.


Now it looks like sogo looks at the user's mail identities to determine 
what internal domains are for that user. Because what sogo deems an 
internal domain differs per user.


So if you have identities in example.com and example.org you can forward 
within both, but if you just have an identity in example.com you can 
only forward to example.com addresses. What I want is that all users can 
forward to both because both are in internal domains.


Is it possible to specify a list of internal domains in sogo.conf?
Or perhaps configure a LDAP query to fetch internal domains there?

- Kees.