Re: [SOGo] RPM Package build scripts
I'd like to build rpm packages within a docker container. I've created a Dockerfile/Run-Script for debian wheezy and jessie and I'd like to do that also for centos6/7. A very first fork of my debian scripts can be found at: https://github.com/pluhmen/docker-sogo-build-centos7/tree/first_try You're welcome to contribute. Regards, Tilo Am 04.01.2017 um 00:13 schrieb Gordon Messmer (gordon.mess...@gmail.com): > In order to reduce my own overhead, I scripted the process of building > SOGo RPM packages (both v2 and v3) under mock. Right now, the spec > files don't include all of the build dependencies, so those have to be > patched. I've already sent pull requests for both v2 and v3 to correct > that. > > https://github.com/gordonmessmer/build-sogo/tree/master > > (I've sent this before, but I don't see it in the list archives.) signature.asc Description: OpenPGP digital signature
[SOGo] Signing of SOGo/SOPE Source Packages
Hi, it would be really nice if the source packages provided by Inverse Inc. would be signed via gpg or at least there were some Checksum-Files available. Regards, Tilo signature.asc Description: OpenPGP digital signature
Re: [SOGo] How to build the packages for Debian
Am 05.08.2016 um 06:24 schrieb Chris Coleman (ch...@espacenetworks.com): > Yes, it would be most convenient to make one automated build script > which would do all these steps, and produce the rpms and debs. So, > anyone could run the script on their machine, it downloads openchange > source, samba, and sogo source, it makes the build environment, and it > builds openchange, samba, and sogo properly from source fully. The > script outputs the deb and rpm packages. Minimal to no human > intervention required. I would like to intergrate the neccessary steps in my Docker Containers. https://hub.docker.com/u/pluhmen/ > On 8/4/2016 8:00 PM, Slávek Banko (slavek.ba...@axis.cz) wrote: >> I can say that building OpenChange packages is more complicated. The >> first >> obstacle was that on a clean build system occurred FTBFS. Another >> obstacle is the dependence on a newer version of Samba... and Samba >> brings the need for additional dependencies. And after build are >> necessary additional python modules. >> >> Do you really want to go through this again, when is already available >> alternative repository of packages for Debian and Ubuntu? >> > signature.asc Description: OpenPGP digital signature
[SOGo] Automated Container Buildsystem for Package Creation
Hi, I've created two Docker container to automate the Debian package building. Both are able to build version 2 and 3. Both are currently not building with OpenChange support @Slávek ;-) You can find them on DockerHub https://hub.docker.com/u/pluhmen/ and on GitHub https://github.com/pluhmen Simply run them, wait and fetch your packages ^^ Greets, Tilo signature.asc Description: OpenPGP digital signature
Re: [SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)
Am 06.07.2016 um 09:46 schrieb Christian Mack (christian.m...@uni-konstanz.de): > If you do, add an hint, that this cache has to be emptied on SOGo updates. > Else you will have a lot of unspecified trouble. I'm not able to create an account for the wiki. I don't know the answer. o_O TextCha (required) Can this be an impossible question? Regards, Tilo signature.asc Description: OpenPGP digital signature
[SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)
I'm fighting against a unattractive user experience caused by the slowness of the new v3 webui. First thing I've found was "Browser Caching disabled" :-( But: To enable Browser Caching for static content in nginx I've added expires max; http://nginx.org/en/docs/http/ngx_http_headers_module.html#expires to this nginx locations - /SOGo.woa/WebServerResources/ - /SOGo/WebServerResources/ - (^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$) - (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources Final config looks something like: location /SOGo.woa/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; allow all; expires max; } This change gives a (much) better score at google's pagespeed. https://developers.google.com/speed/pagespeed/insights One could update the wiki entry for nginx if this is substantial and reliable ;-) http://wiki.sogo.nu/nginxSettings Greets, Tilo signature.asc Description: OpenPGP digital signature
Re: [SOGo] SOGo not sending scripts to managesieve
Hi Oliver, you can verify working sieve config with the thunderbird sieve plugin [1], it should not return any error when accessing any sieve script. Also it is a good practice watching dovecot logs when accessing managesieve [2]. [1] https://addons.mozilla.org/de/thunderbird/addon/sieve/ [2] http://wiki2.dovecot.org/Logging -> mail_debug = yes Greets, Tilo Am 27.06.2016 um 21:56 schrieb so...@oliver-kabierschke.de: > Hi Tilo, > > thanks for your response. For me it's: > > plugin { > sieve = /var/vmail/%d/%n/.sieve > sieve_dir = /var/vmail/%d/%n/sieve > sieve_before = /var/vmail/sieve/spam-global.sieve > } > > As managesieve does not throw any error despite from the non-existant > sogo script, I suppose, the fault is located on the sogo side and > dovecot is configured correctly. > Is somone else using SOGo 3.1.x on Ubuntu 16.04 with dovecot 2.2.22? > > Oliver > > > -- Originalnachricht -- > Von: "Tilo Werner" <users@sogo.nu> > An: users@sogo.nu > Gesendet: 27.06.2016 12:43:54 > Betreff: Re: [SOGo] SOGo not sending scripts to managesieve > >> Hi, >> >> for dovecot I've got: >> >> plugin { >> sieve = /var/vmail/%d/%n/.dovecot.sieve >> sieve_dir = /var/vmail/%d/%n/.sieve >> sieve_before = /etc/dovecot/sieve.before >> } >> >> where .dovecot.sieve is a link to the active sieve script in folder >> .sieve >> >> ls -la /var/vmail/moosbee.de/tilo/.dovecot.sieve -> .sieve/sogo.sieve >> >> The active script is defined by the link target. >> >> Hope that helps. >> Tilo >> >> Am 27.06.2016 um 00:23 schrieb so...@oliver-kabierschke.de: >>> Hello everybody, >>> >>> I'm having problems with my fresh SOGo 3.1.3 installation on Ubuntu >>> 16.04 with dovecot: when I modify email filters, SOGo does not send >>> sieve scripts to managesieve. I tracked the TCP traffic to the >>> managesieve server: >>> >>> # tcpflow -c -i lo port 4190 >>>> tcpflow: listening on lo >>>> 127.000.000.001.04190-127.000.000.001.56344: "IMPLEMENTATION" "Dovecot >>> Pigeonhole" >>>> "SIEVE" "fileinto reject envelope encoded-character vacation >>> subaddress comparator-i;ascii-numeric relational regex imap4flags copy >>> include variables body enotify environment mailbox date index ihave >>> duplicate mime foreverypart extracttext" >>>> "NOTIFY" "mailto" >>>> "SASL" "PLAIN LOGIN" >>>> "STARTTLS" >>>> "VERSION" "1.0" >>>> OK "Dovecot ready." >>>> >>>> 127.000.000.001.56344-127.000.000.001.04190: AUTHENTICATE "PLAIN" >>>> {100+} >>>> [...] >>>> 127.000.000.001.56344-127.000.000.001.04190: >>>> >>>> 127.000.000.001.04190-127.000.000.001.56344: OK "Logged in." >>>> >>>> 127.000.000.001.04190-127.000.000.001.56346: "IMPLEMENTATION" "Dovecot >>> Pigeonhole" >>>> "SIEVE" "fileinto reject envelope encoded-character vacation >>> subaddress comparator-i;ascii-numeric relational regex imap4flags copy >>> include variables body enotify environment mailbox date index ihave >>> duplicate mime foreverypart extracttext" >>>> "NOTIFY" "mailto" >>>> "SASL" "PLAIN LOGIN" >>>> "STARTTLS" >>>> "VERSION" "1.0" >>>> OK "Dovecot ready." >>>> >>>> 127.000.000.001.56346-127.000.000.001.04190: AUTHENTICATE "PLAIN" >>>> {100+} >>>> [...] >>>> 127.000.000.001.56346-127.000.000.001.04190: >>>> >>>> 127.000.000.001.04190-127.000.000.001.56346: OK "Logged in." >>>> >>>> 127.000.000.001.56346-127.000.000.001.04190: SETACTIVE "" >>>> 127.000.000.001.56346-127.000.000.001.04190: >>>> >>>> 127.000.000.001.04190-127.000.000.001.56346: OK "No scripts currently >>> active." >>>> >>>> 127.000.000.001.56346-127.000.000.001.04190: DELETESCRIPT "sogo" >>>> 127.000.000.001.56346-127.000.000.001.04190: >>>> >>>> 127.000.000.001.04190-127.000.000.001.56346: NO (NONEXISTENT) "Sieve >>> script `sogo' not found" >>> >>> Here the tcp flow
Re: [SOGo] SOGo not sending scripts to managesieve
Hi, for dovecot I've got: plugin { sieve = /var/vmail/%d/%n/.dovecot.sieve sieve_dir = /var/vmail/%d/%n/.sieve sieve_before = /etc/dovecot/sieve.before } where .dovecot.sieve is a link to the active sieve script in folder .sieve ls -la /var/vmail/moosbee.de/tilo/.dovecot.sieve -> .sieve/sogo.sieve The active script is defined by the link target. Hope that helps. Tilo Am 27.06.2016 um 00:23 schrieb so...@oliver-kabierschke.de: > Hello everybody, > > I'm having problems with my fresh SOGo 3.1.3 installation on Ubuntu > 16.04 with dovecot: when I modify email filters, SOGo does not send > sieve scripts to managesieve. I tracked the TCP traffic to the > managesieve server: > > # tcpflow -c -i lo port 4190 >> tcpflow: listening on lo >> 127.000.000.001.04190-127.000.000.001.56344: "IMPLEMENTATION" "Dovecot > Pigeonhole" >> "SIEVE" "fileinto reject envelope encoded-character vacation > subaddress comparator-i;ascii-numeric relational regex imap4flags copy > include variables body enotify environment mailbox date index ihave > duplicate mime foreverypart extracttext" >> "NOTIFY" "mailto" >> "SASL" "PLAIN LOGIN" >> "STARTTLS" >> "VERSION" "1.0" >> OK "Dovecot ready." >> >> 127.000.000.001.56344-127.000.000.001.04190: AUTHENTICATE "PLAIN" {100+} >> [...] >> 127.000.000.001.56344-127.000.000.001.04190: >> >> 127.000.000.001.04190-127.000.000.001.56344: OK "Logged in." >> >> 127.000.000.001.04190-127.000.000.001.56346: "IMPLEMENTATION" "Dovecot > Pigeonhole" >> "SIEVE" "fileinto reject envelope encoded-character vacation > subaddress comparator-i;ascii-numeric relational regex imap4flags copy > include variables body enotify environment mailbox date index ihave > duplicate mime foreverypart extracttext" >> "NOTIFY" "mailto" >> "SASL" "PLAIN LOGIN" >> "STARTTLS" >> "VERSION" "1.0" >> OK "Dovecot ready." >> >> 127.000.000.001.56346-127.000.000.001.04190: AUTHENTICATE "PLAIN" {100+} >> [...] >> 127.000.000.001.56346-127.000.000.001.04190: >> >> 127.000.000.001.04190-127.000.000.001.56346: OK "Logged in." >> >> 127.000.000.001.56346-127.000.000.001.04190: SETACTIVE "" >> 127.000.000.001.56346-127.000.000.001.04190: >> >> 127.000.000.001.04190-127.000.000.001.56346: OK "No scripts currently > active." >> >> 127.000.000.001.56346-127.000.000.001.04190: DELETESCRIPT "sogo" >> 127.000.000.001.56346-127.000.000.001.04190: >> >> 127.000.000.001.04190-127.000.000.001.56346: NO (NONEXISTENT) "Sieve > script `sogo' not found" > > Here the tcp flow ends. No more communication between SOGo and the > managesieve server. > > /var/log/sogo/sogo.log: >> Jun 26 23:45:14 sogod [11583]: [ERROR] > <0x55580dc3f5c0[SOGoAppointmentInboxFolder]:inbox> (-[SOGoGCSFolder > toOneRelationshipKeys]): fetch failed! >> Jun 26 23:45:14 sogod [11583]: "PROPFIND > /dav/oliver/Calendar/inbox/ HTTP/1.1" 207 333/128 0.069 - - 0 >> Jun 26 23:49:35 sogod [11583]: "GET /so/oliver/Preferences > HTTP/1.1" 200 22307/0 0.116 97847 77% 192K >> Jun 26 23:49:36 sogod [11585]: "GET /so/oliver/jsonSettings > HTTP/1.1" 200 1353/0 0.007 - - 0 >> Jun 26 23:49:36 sogod [11584]: "GET /so/oliver/jsonDefaults > HTTP/1.1" 200 4031/0 0.016 - - 0 >> Jun 26 23:49:36 sogod [11583]: "GET > /so/oliver/Calendar/alarmslist?browserTime=1466977768 HTTP/1.1" 200 > 389/0 0.033 - - 0 >> Jun 26 23:49:36 sogod [11583]: "GET /so/oliver/Mail/0/view > HTTP/1.1" 200 5065/0 0.283 - - 0 >> Jun 26 23:49:41 sogod [11583]: "GET > /so/oliver/editFilter?filter=new HTTP/1.1" 200 1780/0 0.008 7536 76% 0 >> Jun 26 23:49:53 sogod [11583]: <0x0x55580dc5dc10[SOGoSieveManager]> > WARNING: Could not delete Sieve script - continuing...: {RawResponse = > "{ok = 0; }"; result = 0; } >> Jun 26 23:49:53 sogod [11583]: "POST /so/oliver/Preferences/save > HTTP/1.1" 200 0/5193 0.260 - - 0 > > In /var/log/mail.err and /var/log/mail.log there are no abnormal entries. > If I create a file named sogo.sieve in the sieve directory, then the > managesieve server returns a positive answer to the delete command of > SOGo, but SOGO doesn't send more commands either. > I at first had installed SOGo version 3.1.2, where the error was already > present. I then did the update in the hope of resolving the problem. > What am I missing? > > Thanks. > > Oliver > -- > users@sogo.nu > https://inverse.ca/sogo/lists signature.asc Description: OpenPGP digital signature