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 <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 <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.
>

Reply via email to