Re: [SOGo] UTF characters in addressbook

2013-09-02 Thread Szládovics Péter

2013-09-01 22:08 keltezéssel, Szládovics Péter írta:

Dear Guys,

I dont know it is a unique thing or not, but I have a little encoding 
problem.
In my Thunderbird and the SOGo web UI I see the '?' characters in 
names, where originally placed the 'ű' or 'ő' characters.
In the mysql the encoding is latin1_swedish_ci. If I change it to 
utf8_general_ci, this solve my problem?


I'm planning this:

service sogo stop
mysqldump sogo | sed 's/\(CHARSET=\)latin1\(;\)$/\1utf8\2/' | mysql sogo
service sogo start

Should it help on me?

PS: The terminal is hu_HU.UTF-8


I was not too patient in this situation, and tried it after a full DB 
backup.
I needed an alter database command too to set the default encoding, 
cause SOGo will create other tables at the future.


It's working. :)
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Marcio Merlone

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] nginx with SOGo

2013-09-02 Thread Mayak
On Sun, 2013-09-01 at 13:34 -0700, J. wrote:
 I see a couple of links online, but nothing in the FAQ. I'm running a
 server with Ubuntu 12.04LTS and using nginx to serve a few domains'
 sites. I'd like to add SOGo without also installing Apache. Is this
 reasonably convenient for a low-mid-level IT guy, or would it be
 better to just use Apache? Honestly, my head is already spinning a bit
 after reading all the LDAP docs, so I might already be in over my
 head, but thought I'd ask here. Thanks.
 
 
 

hi,

this is working for me

server {
listen   443;
server_name  sogo.domain.com
rewrite ^/$ https://sogo.domain.com/SOGo;
access_log  /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;


ssl  on;
ssl_certificate  /etc/x509/service.apache/domain.com.pem;
ssl_certificate_key  /etc/x509/service.apache/domain.com.key;

ssl_session_timeout  5m;

ssl_protocols  SSLv2 SSLv3;
ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:
+EXP;
ssl_prefer_server_ciphers   on;

location ^~ /SOGo {
  proxy_passhttp://127.0.0.1:2/SOGo;
  proxy_redirecthttp://127.0.0.1:2/SOGo/;

  proxy_set_header  X-Real-IP   $remote_addr;
  proxy_set_header  X-Forwarded-For 
$proxy_add_x_forwarded_for;
  proxy_set_header  Host
sogo.airchina.ru;
  proxy_set_header  x-webobjects-server-protocolHTTP/1.0;
  proxy_set_header  x-webobjects-remote-hostsogo.airchina.r;
  proxy_set_header  x-webobjects-server-namesogo.domain.com;
  proxy_set_header  x-webobjects-server-url
https://sogo.domain.com;
  proxy_connect_timeout 90;
  proxy_send_timeout90;
  proxy_read_timeout90;
  proxy_buffer_size 4k;
  proxy_buffers 4 32k;
  proxy_busy_buffers_size   64k;
  proxy_temp_file_write_size64k;

  client_max_body_size  50m;
  client_body_buffer_size   128k;
  break;
}

location /.woa/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location /SOGo.woa/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location /SOGo/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
  alias /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2;
}
}

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] ZEG install script

2013-09-02 Thread Szládovics Péter

2013-07-08 18:10 keltezéssel, Szládovics Péter írta:
This http://www.onlinedemo.hu/71-zeg-install-script webpage contains 
some informations and resctrictions, and you can download the tarball 
with the script from it.


Please read the page from the begin to the end as attentively.


Dear Gents,

I updated the sript again - no, I don't know about errors, this just a 
feature-release :)


I insert to the script the 19th step, which is configire an update site 
for your SOGo. If you use the SOGo site with Thunderbird, you can manage 
(and build!) the customized SOGo Integrator (and SOGo Connector too) 
extension for your site.

The package contains a new script - updateplugins.sh
This refreshes the plugins site based on Inverse's updated GIT repository.

If your site has been already built with this script, you need the 
followings:


1. login your site as normal user
2. get the script (e.g. with wget)
3. expand the script to a temporary folder
4. copy thy updateplugins script to /usr/local/bin directory
5. copy the config.sh to your home directory
6. you can remove the temporary elements
7. edit the yourhome/config.state, change the found number to 19, then
   saveexit
8. run the yourhome/config.sh

Cheers,
Peter
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Szládovics Péter

2013-09-02 14:05 keltezéssel, Marcio Merlone írta:

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


Follow the readme - and I didn't have any error.

If you got the HTTP500, it maybe cause an error in the .php script - eg. 
missing ; or  or ) or any other.

When you get this error, then see the apache error logs.
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Need help on Sieve rules

2013-09-02 Thread Anna Christina Naß

Hallo,

I've set up a SOGo installation for (mostly) personal use (I've migrated 
from Horde).


My question is:

I need a certain function for one Sieve rule that I had in my previous 
setup.
I like to copy(!) each incoming mail into a special All Mails folder 
in my IMAP mailbox and mark this copy as Seen.


In my last setup using Horde's filter tool, the Sieve file that has been 
created looks like this:


snip
[... other rules for mailing lists...]

if exists From  {
addflag \\Seen;
fileinto Alle Mails;
removeflag \\Seen;
}

if exists From  {
fileinto INBOX;
}
snip

Now I want to rebuild my filter settings in SOGo.

But I did not find a way to say
... fileinto :copy Alle Mails (like RFC 3894 tells)
... removeflag \\Seen

Does anyone have an idea on how to implement this using SOGo?

Or should I file a feature request for :copy or removeflag?

Thank you

Kind regards,
Anna Christina Naß
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Mailing list problem?

2013-09-02 Thread Szládovics Péter

Dear Guys,

I think there is a problem in your mailing list infrastructure. Some 
mails are delayed more hours.

This is my email way from the send to the arrive:

From my workstation to my SMTP:
Received: Mon,  2 Sep 2013 15:25:33 +0200 (CEST)

From my SMTP to vizzini SMTP:
Received: Mon,  2 Sep 2013 09:25:38 -0400 (EDT)

It's okay cause timezone.
From vizzini SMTP to my SMTP:
Received: Mon,  2 Sep 2013 17:22:35 +0200 (CEST)

It isn't okay, two hours delay.
I see the delay is there after the amavisd process at the userid 111 
postfix process, before the outgoung amavisd checking - based on 
received headers.


One of my mails tomorrow delayed more than 14 hours :(

Could you improve the throughput please?
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] nginx with SOGo

2013-09-02 Thread Federico Alberto Sayd

On 01/09/13 17:54, Mayak wrote:

On Sun, 2013-09-01 at 13:34 -0700, J. wrote:
I see a couple of links online, but nothing in the FAQ. I'm running a 
server with Ubuntu 12.04LTS and using nginx to serve a few domains' 
sites. I'd like to add SOGo without also installing Apache. Is this 
reasonably convenient for a low-mid-level IT guy, or would it be 
better to just use Apache? Honestly, my head is already spinning a 
bit after reading all the LDAP docs, so I might already be in over my 
head, but thought I'd ask here. Thanks. 





hi,

this is working for me

server {
listen   443;
server_name  sogo.domain.com
rewrite ^/$ https://sogo.domain.com/SOGo;
access_log  /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;


ssl  on;
ssl_certificate  /etc/x509/service.apache/domain.com.pem;
ssl_certificate_key  /etc/x509/service.apache/domain.com.key;

ssl_session_timeout  5m;

ssl_protocols  SSLv2 SSLv3;
ssl_ciphers  
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;

ssl_prefer_server_ciphers   on;

location ^~ /SOGo {
  proxy_pass http://127.0.0.1:2/SOGo;
  proxy_redirect http://127.0.0.1:2/SOGo/;

  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header Host sogo.airchina.ru;
  proxy_set_header x-webobjects-server-protocol HTTP/1.0;
  proxy_set_header x-webobjects-remote-host sogo.airchina.r;
  proxy_set_header x-webobjects-server-name sogo.domain.com;
  proxy_set_header x-webobjects-server-url 
https://sogo.domain.com;

  proxy_connect_timeout 90;
  proxy_send_timeout 90;
  proxy_read_timeout 90;
  proxy_buffer_size 4k;
  proxy_buffers 4 32k;
  proxy_busy_buffers_size 64k;
  proxy_temp_file_write_size 64k;

  client_max_body_size 50m;
  client_body_buffer_size 128k;
  break;
}

location /.woa/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location /SOGo.woa/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location /SOGo/WebServerResources/ {
  alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
}

location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
  alias /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2;
}
}

I have found that to configure Nginx is more intuitive than Apache. 
Nginx's syntax configuration is more like C programing syntax.


Server directive is like apache's virtualhost, you configure ssl per 
server, also location and proxy_pass are very similar to Apache 
directives.


Use the above suggested configuration. Only change your url site.

don't be afraid of Nginx

Regards

Federico
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Need help on Sieve rules

2013-09-02 Thread Szládovics Péter

2013-09-02 16:46 keltezéssel, Anna Christina Naß írta:

Hallo,

I've set up a SOGo installation for (mostly) personal use (I've 
migrated from Horde).


My question is:

I need a certain function for one Sieve rule that I had in my previous 
setup.
I like to copy(!) each incoming mail into a special All Mails folder 
in my IMAP mailbox and mark this copy as Seen.


In my last setup using Horde's filter tool, the Sieve file that has 
been created looks like this:


snip
[... other rules for mailing lists...]

if exists From  {
addflag \\Seen;
fileinto Alle Mails;
removeflag \\Seen;
}

if exists From  {
fileinto INBOX;
}
snip

Now I want to rebuild my filter settings in SOGo.

But I did not find a way to say
... fileinto :copy Alle Mails (like RFC 3894 tells)
... removeflag \\Seen

Does anyone have an idea on how to implement this using SOGo?

Or should I file a feature request for :copy or removeflag?


Hi Anna Christina,

This is your needed sieve script:

# 
require [fileinto,imap4flags];
fileinto INBOX;
addflag \\Seen;
fileinto Alle Mails;
stop;
# 

Cheers,
Péter
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] language issue

2013-09-02 Thread Sebastián

Hi,

I setup SOGo with

keySOGoLanguage/key
stringSpanishArgentina/string

but SOGo web interface shows by default in English and new users see the 
webapp in english.


BTW, I found the following line in sogo.log

[ERROR] [we-rm] did not find locale for language: Spanish

I also tried changing the string to Spanish (as suggested by the docs) 
but got the same result.


I must be missing something, thank you for your help,

--
Seb
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Marcio Merlone

Em 02-09-2013 10:10, Szládovics Péter escreveu:

2013-09-02 14:05 keltezéssel, Marcio Merlone írta:

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


Follow the readme - and I didn't have any error.

Followed INSTALL ;)
I think docs are confusing, focused on Zarafa and not a stand alone 
install. And two identical config files are confusing too.


If you got the HTTP500, it maybe cause an error in the .php script - 
eg. missing ; or  or ) or any other.

When you get this error, then see the apache error logs.
Not at all. It just happens when using BackendCombined and then 
error_log complains about missing php-mapi extension, which you said you 
don't have. If I set BackendImap then it works, just for mails and not 
calendar and contacts. Besides config.php, any other file should be 
tuned? BTW, which one you use: config.php, config.inc.php or both?


--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Mailing list problem?

2013-09-02 Thread Ludovic Marcotte

On 2013-09-02 1:40 PM, Szládovics Péter wrote:

Could you improve the throughput please?


The list is moderated, that is it.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists