Re: [SOGo] Hide Mail module/expand page login

2016-08-10 Thread c...@roessner-network-solutions.com

> Am 10.08.2016 um 00:04 schrieb Matteo Manzinello (mat...@manzinello.it) 
> :
> 
> Hi guys,
> I have some few questions:
> 
> - can I hide/remove Mail module in Sogo 3.1.4?

Yes you can.

Add something like this to your UserSources section:

ModulesConstraints = {
Mail = {
nonexistentattr = TRUE;
};
};

I have a special attribute in LDAP for this. So I can modify individual users. 
My conf looks like this and maybe it gives you an idea:

domains = {
"example" = {
SOGoMailDomain = "example.com";
SOGoUserSources = (
{
CNFieldName = cn;
IMAPLoginFieldName = rnsMSDovecotUser;
KindFieldName = Kind;
MailFieldNames = (
mail
);
MultipleBookingsFieldName = Multiplebookings;
UIDFieldName = rnsMSDovecotUser;
baseDN = "ou=people,ou=it,dc=example,dc=com";
bindDN = "cn=sogo,ou=people,ou=it,dc=example,dc=com";
filter = "objectClass='rnsSOGoAccount' AND 
rnsSOGoMember='directory0' AND rnsSOGoEnabled='TRUE'";
bindFields = (
rnsMSRecipientAddress,
uniqueIdentifier
);
ModulesConstraints = {
Calendar = {
rnsSOGoModuleCalendar = TRUE;
};
Mail = {
rnsSOGoModuleMail = TRUE;
};
ActiveSync = {
rnsSOGoModuleActiveSync = TRUE;
};
};
bindPassword = *;
canAuthenticate = YES;
displayName = "Gemeinsame Adressen";
hostname = ldapi://2%Fvar2%Frun2%Fldapi;
id = directory0;
isAddressBook = YES;
scope = SUB;
type = ldap;
}
);
};
...

Christian

> - can I start the web session in expand mode (it's the box near day month 
> year on the top)?
> 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, https://www.roessner-network-solutions.com



smime.p7s
Description: S/MIME cryptographic signature


[SOGo] What is better for battery on mobile devices?

2016-05-23 Thread c...@roessner-network-solutions.com
Hi,

I currently run SOGo-3.1.0 with Apple devices (Macs, iPhones and iPads). I also 
use Dovecot for IMAP. Currently I use directly CalDAV/CardDAV and IMAP with a 
poll interval of 30 minutes. I have seen that I also could use ActiveSync. But 
as I understood, this keeps a connection open (until a timeout of 6 minutes I 
guess).

What is the preferred solution for iOS devices? Does ActiveSync have a negative 
impact for the battery?

Thanks

Christian
—
Christian Rößner B.Sc.
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com



smime.p7s
Description: S/MIME cryptographic signature


[SOGo] LDAP and memberOf for authentication

2016-04-08 Thread c...@roessner-network-solutions.com
Hi,

I have opened a bug ticket two months ago without feedback. I have not asked 
here on the list. So maybe I have configured something wrong and somebody might 
be able to help me solving my issue.

http://sogo.nu/bugs/view.php?id=3532

I have a OU with members and I try to use this "group" for authentication. 
Unfortunately SOGo only prints an error on the website, after two minutes have 
passed.

"An unhandled error occurred."

This is from the logs:

Apr 08 18:21:54 sogod [639]: [WARN] <0x0x7f10c72fd478[WOWatchDogChild]> pid 642 
has been hanging in the same request for 1 minutes
Apr 08 18:22:54 sogod [639]: [WARN] <0x0x7f10c72fd478[WOWatchDogChild]> pid 642 
has been hanging in the same request for 2 minutes

Is the syntax for my filter wrong?

filter = 
"memberOf=ou=exampleserver.de,ou=groupware,ou=it,dc=roessner-net,dc=de";

Any help is welcome :-)

Thanks in advance

Christian

N.B.: Details are in the bug ticket...
—
Christian Rößner B.Sc.
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com



smime.p7s
Description: S/MIME cryptographic signature