Hi Guys.

Thanks to help of a lot people and specially to Euan Thoms I have
finally succeeded to install SOGo 1.3.4 on FBSD 8.0 and 8.1 on a clean
jail and using an existing database build using postfix-admin all
using mysql auth.

All this had been documented step by step and I'm will be posting it
pretty soon as long as I can figure out some small problem that I'm
going to detail on this email

1.- I'm using nginx with this configuration :

server {
        listen       80;
        server_name  10.0.0.58;
        access_log  /var/log/sogo-access.log  main;
        error_log   /var/log/sogo-error.log info;
        client_max_body_size    50m;

        location  /usr/local/GNUstep/Local/Library/SOGo/ {
                if (-f $request_filename) {
                    expires max;
                    break;
                }
        }
        location ^~ /SOGo/ {
               rewrite                     ^(/SOGo)/$ $1;
               proxy_pass                  http://10.0.0.58:20000;
               proxy_set_header            X-Real-IP                 
$remote_addr;
               proxy_set_header            X-Forwarded-For 
$proxy_add_x_forwarded_for;
               proxy_set_header            Host                          $host;
               proxy_set_header            x-webobjects-remote-host      
10.0.0.58;
               proxy_set_header            x-webobjects-server-protocol  
HTTP/1.0;
               proxy_set_header            x-webobjects-server-name 10.0.0.58;
               proxy_set_header            x-webobjects-server-port 80;
               proxy_set_header            x-webobjects-server-url 
http://10.0.0.58;
               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/local/GNUstep/Local/Library/SOGo/WebServerResources/;
        }
        location /SOGo.woa/WebServerResources/ {
                alias /usr/local/GNUstep/Local/Library/SOGo/WebServerResources/;
        }

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

}

but if I go to : http://10.0.0.58/SOGo I'm getting "too many redirects
error", the workaround for this problem was to go to
http://10.0.0.58/SOGo/so and then I was able to log in.
it looks like I'm missing something in the sogo .GNUstepDefaults or
there is something wrong with the rewrite.

2.- I have to add  :

location /.woa/WebServerResources/ {
                alias /usr/local/GNUstep/Local/Library/SOGo/WebServerResources/;
        }

Because I was getting tons of 404 trying to look at that directory but
I don't really know if is related to the same issue.

3.- My password on my postfix db ( users and schema created by
postfixadmin) are store with md5crypt there is any way to implement
that on SOGo so I don't need to have my users to change their
passwords again ?

So that is pretty much all the issues that I have, I'm just finishing
up with some other thing but I want to get that fixed before I post
any HOWTO.( hopefully I will have time to make a port for freebsd)

Thanks.
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to