[SOGo] BTS activities for Monday, January 09 2017
Title: BTS activities for Monday, January 09 2017 BTS Activities Home page: http://www.sogo.nu/bugs Project: SOGo For the period covering: Monday, January 09 2017 idlast updatestatus (resolution)categorysummary 3882 2017-01-09 09:20:18 updated (open) Backend Calendar Can't dismiss missed reminders for recurring events or deleted event 3981 2017-01-09 10:47:53 updated (open) Web Mail images are not handled properly in forwarded or replied to messages 3982 2017-01-09 11:44:20 updated (open) Web Mail webmail delegation 3984 2017-01-09 10:26:17 updated (open) with external server Sogo does not work with Active directory and LDAP connection; No logging information 3985 2017-01-09 11:28:54 updated (open) with SOGo Participant availability is not displayed with the "provider for google calendar" addons in Mozilla thunderbird 3966 2017-01-09 15:49:34 feedback (reopened) ActiveSync Missing contact information without type 3923 2017-01-09 15:49:33 resolved (fixed) ActiveSync Activesync parse of xml document error with ampersand (&) in company name 3943 2017-01-09 15:49:34 resolved (fixed) ActiveSync Crash with active sync from version 3.2.2 to 3.2.4 and propably higher 3956 2017-01-09 15:49:34 resolved (fixed) ActiveSync DOS with huge E-Mails while synchronizing with ActiveSync 3960 2017-01-09 15:49:34 resolved (fixed) ActiveSync XML-Entities in Address 3964 2017-01-09 15:49:34 resolved (fixed) ActiveSync Reminders for tasks don't get synced to/from activesync devices.. 3965 2017-01-09 15:49:34 resolved (fixed) ActiveSync Wrong sync of invitations 3969 2017-01-09 15:49:34 resolved (fixed) ActiveSync Active Sync HTTP 500 Error 1084 2017-01-09 15:49:34 resolved (fixed) Backend Address Book Support photos import from LDIF file 1760 2017-01-09 15:49:34 resolved (fixed) Backend Address Book LDIF entries with ": " in an attribute value aren't imported into the address book 3523 2017-01-09 15:49:34 resolved (fixed) Backend Address Book Global AddressBooks not working with multi domains. 2253 2017-01-09 15:49:34 resolved (fixed) Backend General SOGoGroup does not resolve LDAP Group users via the User Sources UIDField but via the Groups Source UIDField 2850 2017-01-09 15:49:34 resolved (fixed) Backend General Regression: Blocking after too much failed login attempts does not work anymore 3510 2017-01-09 15:49:34 resolved (fixed) Backend Mail DOS through uploading large attachments 3241 2017-01-09 15:49:34 resolved (fixed) GUI Stored XSS in address book 3666 2017-01-09 15:49:34 resolved (fixed) GUI missing scrollbar in case of a lot of invitees 3983 2017-01-09 12:04:20 resolved (fixed) GUI Using Backspace while writing email delete messages. 2683 2017-01-09 15:49:34 resolved (fixed) Web Address Book Contact photo is not displayed in Web Address Book if photo is containing referring URI 2308 2017-01-09 15:49:34 resolved (fixed) Web Calendar imported appointments (file.ics) do not show up on Kontact / Korganizer using caldav 2865 2017-01-09 15:49:34 resolved (fixed) Web Calendar SOGo does not interpret date-time without timezone correctly 3974 2017-01-09 10:17:52 resolved (fixed) Web Calendar public calender access different ssl port not showing 3978 2017-01-09 15:49:34 resolved (fixed) Web Calendar Problem after inserting a new event and browsing existing events 3979 2017-01-09 15:49:34 resolved (fixed) Web Calendar Getting event notification popup for old events in SOGo 2 web 2135 2017-01-09 15:49:34 resolved (fixed) Web General User Enumeration and Guessable User Account with SOGo web interface
Re: [SOGo] At WOWorkersCount 600 keep consuming CPU and RAM with no clients connected.
On 17-01-09 04:13 PM, Ludovic Marcotte (lmarco...@inverse.ca) wrote: Check of your "sogo" user isn't running out of file descriptors for the master sogod process. Do a "su - sogo" and run "ulimit -n". I did have errors earlier that hinted at running out of file descriptors, but I thought I solved it. root@mail01:~# ulimit -Sn 65000 root@mail01:~# su - sogo sogo@mail01:~$ ulimit -n 823000 sogo@mail01:~$ ulimit -Sn 823000 sogo@mail01:~$ ulimit -Hn 823000 Btw, I am testing with version 3.2.4 (build @shiva.inverse 201612290757) I will try running with the latest. Thanks, Greg -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] At WOWorkersCount 600 keep consuming CPU and RAM with no clients connected.
On 2017-01-09 3:45 PM, Greg Kunyavsky (gr...@kgbconsulting.ca) wrote: We are hoping to support several thousand push email users using sogo. I am trying to push the worker count higher. Currently I am not testing any clients yet, just trying to get sogo to start with a large number of worker processes and sit idle. At 400 processes, they take 27MB (RES) each and consume no CPU (with no clients connected). That's 10GB RAM used out of 80GB total. Everything is great. Somewhere above 400, there is a problem.If I run 600, they keep growing and all keep consuming CPU. The log looks clean to me, all processes print "notified the watchdog that we are ready" and then no more messages. I set all debug options to yes in the conf file and still nothing. Zero messages in mysql error log. Load average goes above 300 and within 1min all memory and swap are consumed and the server becomes unresponsive. Is there any way to turn on more debugging? Any other suggestions? Check of your "sogo" user isn't running out of file descriptors for the master sogod process. Do a "su - sogo" and run "ulimit -n". What average memory usage per worker I should budget for ? (27MB < ? < 325MB) It depends on your SxVMemLimit value. I've just pushed in commits 841fdb96cc7b30804d0f9917af4a58a19bf8091c and 5e775ea4ceec6c64c3f7e8dc345c1be91e2e22e4 a better output upon startup: Jan 09 22:08:05 sogod [31158]: version 3.2.4 (build r...@sogo.example.com 201701091607) -- starting Jan 09 22:08:05 sogod [31158]: vmem size check enabled: shutting down app when vmem > 384 MB. *Currently at 182 MB* Jan 09 22:08:05 sogod [31158]: <0x0x55a153a0[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo': Jan 09 22:08:05 sogod [31158]: <0x0x55a153a0[SOGoProductLoader]> MainUI.SOGo, Appointments.SOGo, Contacts.SOGo, Mailer.SOGo, ActiveSync.SOGo, MailPartViewers.SOGo, ContactsUI.SOGo, CommonUI.SOGo, PreferencesUI.SOGo, MailerUI.SOGo, SchedulerUI.SOGo, AdministrationUI.SOGo *Jan 09 22:08:05 sogod [31158]: All products loaded - current memory usage at 238 MB* Jan 09 22:08:05 sogod [31158]: |SOGo| WOHttpAdaptor listening on address *:2 So at 238 MB with a SxVMemLimit set at SxVMemLimit, each sogod work can consume about 146MB of RAM before getting restarted. Of course, some can consume more than that for a few seconds (while generating huge responses for example). Thanks, -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence (http://packetfence.org) and Fingerbank (http://fingerbank.org) -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] At WOWorkersCount 600 keep consuming CPU and RAM with no clients connected.
Hello, We are hoping to support several thousand push email users using sogo. I am trying to push the worker count higher. Currently I am not testing any clients yet, just trying to get sogo to start with a large number of worker processes and sit idle. At 400 processes, they take 27MB (RES) each and consume no CPU (with no clients connected). That's 10GB RAM used out of 80GB total. Everything is great. Somewhere above 400, there is a problem.If I run 600, they keep growing and all keep consuming CPU. The log looks clean to me, all processes print "notified the watchdog that we are ready" and then no more messages. I set all debug options to yes in the conf file and still nothing. Zero messages in mysql error log. Load average goes above 300 and within 1min all memory and swap are consumed and the server becomes unresponsive. Is there any way to turn on more debugging? Any other suggestions? What average memory usage per worker I should budget for ? (27MB < ? < 325MB) Saw this mesage once only " *** stack smashing detected ***: /usr/sbin/sogod terminated" Thanks, Greg ulimit -Sn 65000 start-stop-daemon -c sogo --start -pid /var/run/sogo/sogo.pid --exec /usr/sbin/sogod -- -WOWorkersCount 600 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo-crash4.log top top - 21:31:24 up 1:33, 1 user, load average: 306.05, 80.65, 27.34 Tasks: 917 total, 601 running, 316 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.6 us, 92.2 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st KiB Mem : 82492592 total, 7448204 free, 74073376 used, 971004 buff/cache KiB Swap: 7811068 total, 7811068 free,0 used. 7730608 avail Mem 8883 sogo 20 0 294848 27812 13944 S 2.5 0.0 0:00.08 sogod 6793 root 20 0 0 0 0 S 2.5 0.0 0:03.00 kworker/u8:1 8448 sogo 20 0 2392124 126608 14008 R 1.6 0.2 0:00.35 sogod 8467 sogo 20 0 2392124 126604 14008 R 1.6 0.2 0:00.34 sogod 878 root 20 0 0 0 0 S 1.4 0.0 0:05.96 jbd2/dm-5-8 8858 sogo 20 0 2392088 132764 14008 R 1.4 0.2 0:00.38 sogod 8500 sogo 20 0 2392124 136844 14008 R 1.1 0.2 0:00.32 sogod 8633 sogo 20 0 2392128 142992 14008 R 1.1 0.2 0:00.33 sogod -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] multi-domain and identical usernames
I'm happy to say that finally I made it working. Not through SOGo configuration, but via custom javascript. My data model for Exim, dovecot and roundcube is that user gets authenticated everywhere with full usern...@domain.tld Users are able to login in roundcube with username only (without domain) because roundcube takes care of concatenating username and correct domain. This was not possible in SOGo out of the box. I modified this file /usr/share/GNUstep/SOGo/WebServerResources/js/Common.js and now SOGo login screen behaves the same way as roundcube. Namely: 1. user enters only his/her username on the logon page 2. JS script takes care of concatenating '@alpha.com' or '@beta.com' to the username depending whether user is accessing mail.alpha.com or mail.beta.com Of course data model for SOGo also use full usern...@domain.tld for c_uid I am not that much of web or JS developer, so if anybody has an opinion on this approach, I am looking forward to read it. One more problem to solve - https://sogo.nu/bugs/view.php?id=3981 and SOGo webmail will be ready for our production : ) Can't wait. On Sun, Jan 8, 2017 at 7:26 PM, Christoph Kreutzer wrote: > Hi, > > in my experience your configuration is just not possible (however I’m > unable to find it specifically written in the docs). > But there are several parts about it: > - see SOGoEnableDomainBasedUID, > - „c_uid - will be used for authentication“ > - „c_name - which can be identical to c_uid - will be used to uniquely > identify entries“ > > What would be possible: > see SOGoLoginDomains > And maybe you could modify the login page, so that the domain value is > selected using JS and eventually hidden. See: https://sogo.nu/nc/ > support/faq/article/how-to-customize-the-html-2.html > > But I’m afraid a vHost-based config doesn’t seem to be possible. > > Don’t you like your users signing in using their mail address? I find that > more intuitive, personally. > > Best regards, > Christoph > > Am 08.01.2017 um 18:22 schrieb To Ja (goa.ra...@gmail.com) >: > > Hi Kai-Uwe. > Thank you for your input. I really appreciate it. > However I don't see how just this data model should support my requirement > (the same usernames on multiple domains). > > I already have Exim+Dovecot+Roundcube combo that supports it perfectly. > I am now hoping to replace Roundcube with SOGo as a webmail. > However what is simple in Roundcube, where I can define separate config > for mail.alpha.com and mail.beta.com > > // try to load host-specific configuration > $config['include_host_config'] = array( > 'mail.alpha.com' => 'alpha_config.inc.php', > 'mail.beta.com' => 'beta_config.inc.php', > ); > > This seems imposible in SOGo out of the box. > Hopefully I am wrong with that statement and that's why I am asking other > users for opinion. > > Thanks! > > > On Sun, Jan 8, 2017 at 4:21 PM, "Kai-Uwe Rommel" wrote: > > users-requ...@sogo.nu wrote on 08.01.2017 15:40:02: > > > > Hi SOGo users. > > Has anyone managed to set up multi-domain configuration with > > webmail, where users login just with their usernames and identical > > usernames are handled correctly? > > What I mean: > > j...@alpha.com and j...@beta.com will use just "joe" as a username in > > their webmails (mail.alpha.com and mail.beta.com). > > I've spent whole day trying to do that, with no success yet. > I am using MySQL as the authentication source and user table for > Dovecot and SOGo. My user table looks like this (names changed): > select * from mail.dovecot_user > +---+--+++-- > --++ > | uuid | gid | cn | email | home > | active | > +---+--+++-- > --++ > | 10003 | 5000 | julius.schulz | julius.sch...@dom.com | > /var/spool/mail/dom.com/julius.schulz | 1 | > | 10004 | 5000 | clemens.schulz | clemens.sch...@dom.com | > /var/spool/mail/dom.com/clemens.schulz | 1 | > | 10001 | 5000 | joachim.schulz | joachim.sch...@dom.com | > /var/spool/mail/dom.com/joachim.schulz | 1 | > | 10018 | 5000 | root | r...@localhost.dom.com | > /var/spool/mail/dom.com/joachim.schulz | 1 | > | 10002 | 5000 | postmaster | postmas...@dom.com | > /var/spool/mail/dom.com/joachim.schulz | 1 | > | 10016 | 5000 | ebay_wf| ebay...@dom.com| > /var/spool/mail/dom.com/joachim.schulz | 1 | > | 10020 | 5000 | agnes.meier| agnes.me...@dom.com| > /var/spool/mail/dom.com/agnes.meier| 1 | > ... > > I am using "cn" as the column to use for login, so users log in > with "firstname.lastname" only. As you can see, for one mailbox > I have defined a few aliases this way. This is in this case > not for different domains but you should be able to use it > that way as well. But in addition, you would have to configure > Postfix to accept e-mails
Re: [SOGo] Can't share a calendar
On 2017-01-09 12:57 PM, "Fernando Salas" (fsalas@novanet.network) wrote: I ave no changed to 9 tables MySQL schema. Is this the reason for that error message? Show your sogo.conf file. Thanks, -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence (http://packetfence.org) and Fingerbank (http://fingerbank.org) -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Can't share a calendar
Dear Friends, I'm running Sogo 3.2.4 nightly build, I have no issues until now. I tried to share a calender witj other mail user and I got this error: Jan 09 12:48:24 sogod [7704]: [ERROR] <0x0x7f6dd3da1f88[SQLSource]> could not run SQL 'SELECT * FROM users WHERE (LOWER(c_cn) LIKE '%vpineiro@%' OR LOWER(mail) LIKE '%vpineiro@%') AND domain IS NULL': NAME:ExecutionFailed REASON:Unknown column 'domain' in 'where clause' Jan 09 12:48:24 sogod [7704]: 200.29.243.5 "GET /SOGo/so/fsalas@novanet.network/usersSearch?search=vpineiro@ HTTP/1.1" 200 13/0 0.010 - - -668K I ave no changed to 9 tables MySQL schema. Is this the reason for that error message? Thanks for your support. Fernando Salas -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
Hi! Unfortunatelly it is not working with CaldavSynchronizer. When photo mapping is enabled, CalDav returns the following error: "System.FormatException: Invalid length for a Base-64 char array or string.". Somebody already had this issue, but the answer wasn't very good: https://sourceforge.net/p/outlookcaldavsynchronizer/discussion/general/thread/d6640b37/ Is there anything that we can do to make it work with CalDavSynchronizer, too? Thank you. --- [1] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [1] http://www.csmcalderaria.com.br [2] Em 2017-01-09 10:46, Christoph Kreutzer escreveu: > Hi Alex, > > That's easy. > SOGo by default uses the photo LDAP attribute. You need to create a Mapping > from photo to thumbnailPhoto or jpegPhoto, or both. See the documentation for > LDAP UserSource mapping, I don't have it in my mind. > > It should look somehow like > photo = ("thumbnailPhoto", "jpegPhoto") > > Best regards, > Christoph > > Am 09.01.2017 um 13:03 schrieb Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) : > > Hi! > > Thanks for reply. If I understood, your examples are on how to add images to > AD. My MS-AD already have users images, I wanna use them in SOGo, like I > alredy do in Roundcube, GLPI, Openfire, etc. > > How can I import/show my AD users images into SOGo? > > Cheers. > > --- > > [1] > ALEX ZUOTOSKI > Tecnologia da Informação > Fones: +5541-3641-4250 / Ramal 229 > E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br > [1] > > http://www.csmcalderaria.com.br [2] > > Em 2017-01-09 09:48, Szládovics Péter escreveu: 2017-01-09 12:29 keltezéssel, > Alexandre Zuotoski Neto (t...@csmcalderaria.com.br) írta: > > Hi! > > I saw that SOGo now supports active directory avatars (I guess that it also > supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If so, how > to do it, please? > > Thanks you! > Hi Alexandre, > > For example: if you have a thumbnail in /path/example.jpg, then you can do it > with the following method. > echo "dn: cn=example.user,dc=example,dc=com > changetype: modify > add: jpegPhoto > jpegPhoto:< file://path/example.jpg [3] > - > add: thumbnailPhoto > thumbnailPhoto:< file://path/example.jpg [3]" | ldapmodify -D > cn=administrator,dc=example,dc=com -W It adds both attribute to the user's > attributes after you give the administrator' password. > You need the ldap-utils package for do that. > > If user have an other jpeg thumbnail avater, then you need to use the > "replace" command instead of "add". I think you can use the ldbmodify instead > of ldapmodify with similar syntax, but not sure to same. I usually use above. > > Cheers, > Peti > > -- > users@sogo.nu > https://inverse.ca/sogo/lists [4] -- users@sogo.nu https://inverse.ca/sogo/lists [4] -- users@sogo.nu https://inverse.ca/sogo/lists Links: -- [1] http://www.csmcalderaria.com.br [2] http://www.csmcalderaria.com.br/ [3] file://path/example.jpg [4] https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
2017-01-09 13:46 keltezéssel, Christoph Kreutzer (kreutzer.christ...@gmail.com) írta: Hi Alex, That's easy. SOGo by default uses the photo LDAP attribute. You need to create a Mapping from photo to thumbnailPhoto or jpegPhoto, or both. See the documentation for LDAP UserSource mapping, I don't have it in my mind. It should look somehow like photo = ("thumbnailPhoto", "jpegPhoto") You're right! https://sogo.nu/files/docs/SOGoInstallationGuide.html#_ldap_attributes_mapping I searched 'jpegphoto' and 'thumbnailphoto', but neither on the doc. But this link contains the "photo" part. :) Thanks. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
Hi Christoph, Thanks, that did the trick. Actually I had added the mapping, but I guess that that I've chosen the wrong attribute, now to be sure that it will bring the image, I used both (like in your example). The documentation like that explains how to do it is here: https://sogo.nu/files/docs/SOGoInstallationGuide.html#_ldap_attributes_mapping Here is how my sogo.conf looks like now - I just replaced some personal data, like server names and passwords, by uppercase words, like MY_AD_DOMAIN, for example: " SOGoUserSources = ( { type = ldap; hostname = "ldap://MY_AD_SERVER_ADDRESS_GOES_HERE";; baseDN = "CN=users,DC=MY_AD_DOMAIN"; //bindAsCurrentUser = YES; bindDN = "ADUSER_TO_READ_MY_AD@MY_DOMAIN"; bindPassword = "MY_AD_USER_THAT_READS_AD"; filter = "((memberOf='CN=SOME_AD_LEVEL,CN=Users,DC=MY_AD_DOMAIN' AND NOT useraccountcontrol:1.2.840.113556.1.4.803:='2') OR (memberOf='CN=SOME_AD_LEVEL_FOR_GROUPS,CN=Users,DC=MY_AD_DOMAIN'))"; //filter = "mail='*'"; scope = SUB; // The algorithm used for password encryption when changing // passwords without Password Policies enabled. // Possible values are: plain, crypt, md5-crypt, ssha, ssha512. userPasswordAlgorithm = plain; IDFieldName = cn; bindFields = (sAMAccountName); CNFieldName = cn; // value of UID field must be unique on whole server. UIDFieldName = sAMAccountName; IMAPLoginFieldName = mail; SearchFieldNames = (cn, sn, displayName, mail, otherMailbox, name); canAuthenticate = YES; displayName = "THE NAME FOR MY GLOBAL CATALOG THAT WILL SHOW UP IN SOGO INTERFACE"; id = directory; isAddressBook = YES; mapping = { photo = ("thumbnailPhoto","jpegPhoto"); }; } ); " Now I'll try to make it work with CalDavSynchronizer with Outlook and if it works, that will be just perfect. Thank you! --- [1] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [1] http://www.csmcalderaria.com.br [2] Em 2017-01-09 10:46, Christoph Kreutzer escreveu: > Hi Alex, > > That's easy. > SOGo by default uses the photo LDAP attribute. You need to create a Mapping > from photo to thumbnailPhoto or jpegPhoto, or both. See the documentation for > LDAP UserSource mapping, I don't have it in my mind. > > It should look somehow like > photo = ("thumbnailPhoto", "jpegPhoto") > > Best regards, > Christoph > > Am 09.01.2017 um 13:03 schrieb Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) : > > Hi! > > Thanks for reply. If I understood, your examples are on how to add images to > AD. My MS-AD already have users images, I wanna use them in SOGo, like I > alredy do in Roundcube, GLPI, Openfire, etc. > > How can I import/show my AD users images into SOGo? > > Cheers. > > --- > > [1] > ALEX ZUOTOSKI > Tecnologia da Informação > Fones: +5541-3641-4250 / Ramal 229 > E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br > [1] > > http://www.csmcalderaria.com.br [2] > > Em 2017-01-09 09:48, Szládovics Péter escreveu: 2017-01-09 12:29 keltezéssel, > Alexandre Zuotoski Neto (t...@csmcalderaria.com.br) írta: > > Hi! > > I saw that SOGo now supports active directory avatars (I guess that it also > supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If so, how > to do it, please? > > Thanks you! > Hi Alexandre, > > For example: if you have a thumbnail in /path/example.jpg, then you can do it > with the following method. > echo "dn: cn=example.user,dc=example,dc=com > changetype: modify > add: jpegPhoto > jpegPhoto:< file://path/example.jpg [3] > - > add: thumbnailPhoto > thumbnailPhoto:< file://path/example.jpg [3]" | ldapmodify -D > cn=administrator,dc=example,dc=com -W It adds both attribute to the user's > attributes after you give the administrator' password. > You need the ldap-utils package for do that. > > If user have an other jpeg thumbnail avater, then you need to use the > "replace" command instead of "add". I think you can use the ldbmodify instead > of ldapmodify with similar syntax, but not sure to same. I usually use above. > > Cheers, > Peti > > -- > users@sogo.nu > https://inverse.ca/sogo/lists [4] -- users@sogo.nu https://inverse.ca/sogo/lists [4] -- users@sogo.nu https://inverse.ca/sogo/lists Links: -- [1] http://www.csmcalderaria.com.br [2] http://www.csmcalderaria.com.br/ [3] file://path/example.jpg [4] https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
Hi Alex, That's easy. SOGo by default uses the photo LDAP attribute. You need to create a Mapping from photo to thumbnailPhoto or jpegPhoto, or both. See the documentation for LDAP UserSource mapping, I don't have it in my mind. It should look somehow like photo = ("thumbnailPhoto", "jpegPhoto") Best regards, Christoph > Am 09.01.2017 um 13:03 schrieb Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) : > > Hi! > >Thanks for reply. If I understood, your examples are on how to add images > to AD. My MS-AD already have users images, I wanna use them in SOGo, like I > alredy do in Roundcube, GLPI, Openfire, etc. > >How can I import/show my AD users images into SOGo? > > Cheers. > > > > --- > > Alex Zuotoski > Tecnologia da Informação > Fones: +5541-3641-4250 / Ramal 229 > E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br > > http://www.csmcalderaria.com.br > > Em 2017-01-09 09:48, Szládovics Péter escreveu: > >> 2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto >> (t...@csmcalderaria.com.br) írta: >>> Hi! >>> >>>I saw that SOGo now supports active directory avatars (I guess that it >>> also supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If >>> so, how to do it, please? >>> >>> Thanks you! >>> >> >> Hi Alexandre, >> >> For example: if you have a thumbnail in /path/example.jpg, then you can do >> it with the following method. >>> echo "dn: cn=example.user,dc=example,dc=com >>> changetype: modify >>> add: jpegPhoto >>> jpegPhoto:< file://path/example.jpg >>> - >>> add: thumbnailPhoto >>> thumbnailPhoto:< file://path/example.jpg" | ldapmodify -D >>> cn=administrator,dc=example,dc=com -W >> It adds both attribute to the user's attributes after you give the >> administrator' password. >> You need the ldap-utils package for do that. >> >> If user have an other jpeg thumbnail avater, then you need to use the >> "replace" command instead of "add". I think you can use the ldbmodify >> instead of ldapmodify with similar syntax, but not sure to same. I usually >> use above. >> >> Cheers, >> Peti >> -- >> users@sogo.nu >> https://inverse.ca/sogo/lists > -- > users@sogo.nu > https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
Peti, I really appreciate your reply. No big deal about your misunderstanding, I wasn't clear enought on original my question. I also can confirm that there is nothing on the documentation about it, so if someone could show us the way, that would be great. This is the only feature that I am waiting for to finally put SOGo in production here. Cheers, --- [1] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [1] http://www.csmcalderaria.com.br [2] Em 2017-01-09 10:17, Szládovics Péter escreveu: > 2017-01-09 13:03 keltezéssel, Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) írta: > >> Hi! Thanks for reply. If I understood, your examples are on how to add >> images to AD. My MS-AD already have users images, I wanna use them in SOGo, >> like I alredy do in Roundcube, GLPI, Openfire, etc. How can I import/show my >> AD users images into SOGo? Cheers. > > Sorry for misunderstanding :( > I don't find that part on the documentation, but the changelog really > reference about that feature. Links: -- [1] http://www.csmcalderaria.com.br [2] http://www.csmcalderaria.com.br/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
2017-01-09 13:03 keltezéssel, Alexandre Zuotoski Neto (t...@csmcalderaria.com.br) írta: Hi! Thanks for reply. If I understood, your examples are on how to add images to AD. My MS-AD already have users images, I wanna use them in SOGo, like I alredy do in Roundcube, GLPI, Openfire, etc. How can I import/show my AD users images into SOGo? Cheers. Sorry for misunderstanding :( I don't find that part on the documentation, but the changelog really reference about that feature. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
Hi! Thanks for reply. If I understood, your examples are on how to add images to AD. My MS-AD already have users images, I wanna use them in SOGo, like I alredy do in Roundcube, GLPI, Openfire, etc. How can I import/show my AD users images into SOGo? Cheers. --- [2] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [2] http://www.csmcalderaria.com.br [3] Em 2017-01-09 09:48, Szládovics Péter escreveu: > 2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto > (t...@csmcalderaria.com.br) írta: > >> Hi! >> >> I saw that SOGo now supports active directory avatars (I guess that it also >> supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If so, how >> to do it, please? >> >> Thanks you! > > Hi Alexandre, > > For example: if you have a thumbnail in /path/example.jpg, then you can do it > with the following method. > >> echo "dn: cn=example.user,dc=example,dc=com >> changetype: modify >> add: jpegPhoto >> jpegPhoto:< file://path/example.jpg [1] >> - >> add: thumbnailPhoto >> thumbnailPhoto:< file://path/example.jpg [1]" | ldapmodify -D >> cn=administrator,dc=example,dc=com -W > It adds both attribute to the user's attributes after you give the > administrator' password. > You need the ldap-utils package for do that. > > If user have an other jpeg thumbnail avater, then you need to use the > "replace" command instead of "add". I think you can use the ldbmodify instead > of ldapmodify with similar syntax, but not sure to same. I usually use above. > > Cheers, > Peti > > -- > users@sogo.nu > https://inverse.ca/sogo/lists Links: -- [1] file://path/example.jpg [2] http://www.csmcalderaria.com.br [3] http://www.csmcalderaria.com.br/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] AD avatar - How to?
2017-01-09 12:29 keltezéssel, Alexandre Zuotoski Neto (t...@csmcalderaria.com.br) írta: Hi! I saw that SOGo now supports active directory avatars (I guess that it also supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If so, how to do it, please? Thanks you! Hi Alexandre, For example: if you have a thumbnail in /path/example.jpg, then you can do it with the following method. echo "dn: cn=example.user,dc=example,dc=com changetype: modify add: jpegPhoto jpegPhoto:< file://path/example.jpg - add: thumbnailPhoto thumbnailPhoto:< file://path/example.jpg" | ldapmodify -D cn=administrator,dc=example,dc=com -W It adds both attribute to the user's attributes after you give the administrator' password. You need the ldap-utils package for do that. If user have an other jpeg thumbnail avater, then you need to use the "replace" command instead of "add". I think you can use the ldbmodify instead of ldapmodify with similar syntax, but not sure to same. I usually use above. Cheers, Peti -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] AD avatar - How to?
Hi! I saw that SOGo now supports active directory avatars (I guess that it also supports MS-AD thumbnalPhoto/jpegPhoto attribute). Is it correct? If so, how to do it, please? Thanks you! -- [1] ALEX ZUOTOSKI Tecnologia da Informação Fones: +5541-3641-4250 / Ramal 229 E-mails: a...@csmcalderaria.com.br / t...@csmcalderaria.com.br [1] http://www.csmcalderaria.com.br [2] Links: -- [1] http://www.csmcalderaria.com.br [2] http://www.csmcalderaria.com.br/ -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] [Help] Sogo and External SMTP
Hi, I'm trying to configure sogo to send email notifications using an external SMTP server. The problem is that, in some users, the password of the mail server is different to the ldap one. This causes sogo not send the e-mail to the attendees when a new event is created. /* Mail */ SOGoDraftsFolderName = Drafts; SOGoSentFolderName = Sent; SOGoTrashFolderName = Trash; SOGoMailingMechanism = smtp; SOGoMailDomain = mydomain.com; SOGoSMTPServer = mail.mydomain.com; SOGoIMAPServer = imaps://mail.mydomain.com; SOGoSMTPAuthenticationType = PLAIN; SOGoForceExternalLoginWithEmail = YES; SOGoMailSpoolPath = /var/spool/mail/sogo; NGImap4ConnectionStringSeparator = "/"; // SOGoMailCustomFromEnabled = YES; // SOGoMailCustomEmail = s...@mydomain.com; /* Notifications */ SOGoAppointmentSendEMailNotifications = YES; SOGoACLsSendEMailNotifications = YES; SOGoFoldersSendEMailNotifications = YES; SOGoNotifyOnPersonalModifications = YES; This is part of the sogo.conf file. /etc/cron.d/sogo is already configured with the -p /credfile. What should I change again? Best Regards, Andrea Cuccuru -- users@sogo.nuhttps://inverse.ca/sogo/lists