Sogo don't send appointments

I have found something important, looks like the solution for this problem!
Here the important part about Sogo.conf:

/* 45 AD authentication */
SOGoUserSources =(
{
id = AD_Users;
type = ldap;
CNFieldName = cn;
IDFieldName = sAMAccountName;
UIDFieldName = sAMAccountName;
IMAPLoginFieldName = userPrincipalName;
canAuthenticate = YES;
bindDN = “INTERN\DS1$”;
bindPassword = “deleted…”;
baseDN = “dc=intern,dc=org”;
bindFields = (
sAMAccountName,
userPrincipalName
);
hostname = ldaps://intern.org;
filter = “(objectClass=‘user’)”;
// MailFieldNames = (“userPrincipalName”);
scope = SUB;
displayName = “intern.org users”;
isAddressBook = YES;
},

  1. )
    I have uncommented MailFieldNames because “userPrincipalName” is user@intern.org, the primary domain used during setup and wrong in my case. Do not forget to restart sogod service! Now based on the documentation of SOGo regarding “MailFieldNames”:

An array of fields that returns the user’s email addresses (defaults to mail when unset)…

2.)
“Defaults to mail” triggers next action >> go into AD or use phpLDAPadmin and set field “E-Mail” to user@realdomain.

3.)
Login into Sogo. Then email shown for the user automatically changed to user@realdomain, also under imap settings the account name itself is correct now!
Make an event, change it, delete it: Mails are sent out correct!
Same if done over caldav connector!

Can you imagine the feeling when you have found a solution to a problem you have beed searching for months ahh :relieved:

Pls cross check. If OK we can discuss if a change in sogo.conf is useful or not…

3 Likes