just an example, you move only the file that you need to modify
do rm -rf /etc/e-smith/templates-custom/etc/sogo/sogo.conf
then follow up
just an example, you move only the file that you need to modify
do rm -rf /etc/e-smith/templates-custom/etc/sogo/sogo.conf
then follow up
wait the example is not good. Let me some time to test it in real condition, except if someone beat me first
Of course. I think the problem is caused by the SOGo version, at least I think soâŠ
Thank you very much for your help.
You should read about Templates â NethServer 7 documentation
the issue is not relevant from the SOGo version
@stephdl
Thanks for your advice, I will look into it, but unfortunately I have a more serious problem right now.
Thank you for the well wish, it arrived. I was luckyâŠ
Solution:
mkdir -p /etc/e-smith/templates-custom//etc/sogo/sogo.conf/
cp /etc/e-smith/templates/etc/sogo/sogo.conf/* /etc/e-smith/templates-custom/etc/sogo/sogo.conf/
vi /etc/e-smith/templates-custom/etc/sogo/sogo.conf/45user_source
âŠ
} elsif($sssd->isAD){
# user source: AD
$bindPassword =~ s/"/"/;
$OUT .= <<EOF
/* 45 AD authentication */
SOGoUserSources =(
{
id = AD_Users;
type = ldap;
CNFieldName = cn;
IDFieldName = $CustomEmailField;
UIDFieldName = sAMAccountName;
IMAPLoginFieldName = $CustomEmailField;
canAuthenticate = YES;
bindDN = â$bindDNâ;
bindPassword = â$bindPasswordâ;
baseDN = â$userDNâ;
bindFields = $CustomEmailField;
hostname = $ldapURI;
filter = â(objectClass=âuserâ) AND (sAMAccountType=805306368)â;
MailFieldNames = ("$CustomEmailField");
scope = SUB;
displayName = â$DomainName usersâ;
isAddressBook = YES;
},
âŠ
vi /etc/e-smith/templates-custom/etc/sogo/sogo.conf/50webinterface
/* 50 Web Interface */
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
SOGoMailAuxiliaryUserAccountsEnabled = {$sogod{âMailAuxiliaryUserAccountsEnabledâ} || âYESâ};
SOGoMailCustomFromEnabled = YES;
SOGoForceIMAPLoginWithEmail = YES;
//SOGoFirstDayOfWeek = 1;
//SOGoMailReplyPlacement = âaboveâ;
//SOGoMailSignaturePlacement = âaboveâ;
signal-event nethserver-sogo-update
Important!
After elsif, you need to change id = AD_Users according to the highlighted lines.
Do not use the SOGoForceIExternalLoginWithEmail option, instead add the SOGoForceIMAPLoginWithEmail option in the 50webinterface file according to the highlighted line.
Can someone confirm that he also manages to set it up?
wavesâŠwe could imagine to make it up inside the module. Sorry but for now I am busy on NS8
No worries. I was able to solve my current problem. The rest will happenâŠ