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