Using Scalix Webmail with Fluid on a Mac

Discuss the Scalix web client

Moderators: ScalixSupport, admin

mircsicz
Posts: 10
Joined: Thu Oct 23, 2008 3:32 am
Location: near Ffm
Contact:

Using Scalix Webmail with Fluid on a Mac

Postby mircsicz » Thu Oct 23, 2008 4:13 am

Hi all,

we've a Mac only office and atm I'm preparing a scalix 11.4.2. It's meant to replace our kolab, which did a very good job during the last three years but has no ActiveSync...

Now to my actual problem, we run several Site Specific Browser Apps, to do so we use: http://fluidapp.com/

The Problem is that it get's rejected by ScalixWebmail, to solve this behavior I've read the following threads:
viewtopic.php?t=7588
viewtopic.php?t=6100
viewtopic.php?t=5434

The file's mentioned in those thread's are renamed in 11.4.2, I found the following one's using grep....

/var/opt/scalix/sx/tomcat/webapps/webmail/js/3687794001.js
/var/opt/scalix/sx/tomcat/webapps/webmail/js/1796555131.js

This is the UA string of Fluid:
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Fluid/0.9.4 Safari/525.13

In 3687794001.js, which is jsBrwSniff v0.5 http://jsbrwsniff.sourceforge.net I added the following code, but as my JS is damn bad I'm not shure if this will do

Code: Select all

    // Fluid (SSD)
        b[0]="fluid";
        b[1]=brs.match(/fluid\/(\d+(\.?\d)*)/)[1];
        b[2]="gecko";
        b[3]=getGeckoVersion();
        return b;


And in 1796555131.js I changed

Code: Select all

if ( reject )
  location.replace( "/webmail/browserReject.jsp" );


to

Code: Select all

if ( reject )
  location.replace( "/m" );


and for testing

Code: Select all

if ( reject )
;


But none of them works, so I tried to add a test for safari:

Code: Select all

        else if ( browserEngine == "safari" ) {
                if ( browserID == "safari" ) {
                        if ( browserMajorVersion >= 525 ||
                           ( browserMajorVersion == 13 &&
                                versionGreaterOrEqualTo( browserMinorVersion, '13' ) ) ) {
                        reject = false;
                        }
                 }
                 else {
                        reject = false;
                 }
        }


And now I don't know how to go on, hopefully one of you has hint for me

Greetz
Mircsicz

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Oct 23, 2008 5:06 am

This may very well not work. AJAX is not standardised, and as such the JavaScript running it differs between browsers, and even between versions of the same browser. So just adding your browser to the list will allow it to bypass the check, but there's no guarantee that SWA will actually work on it.

mircsicz
Posts: 10
Joined: Thu Oct 23, 2008 3:32 am
Location: near Ffm
Contact:

Postby mircsicz » Thu Oct 23, 2008 5:11 am

I know that there's no guarantee that it will work, but as I found Prism

http://labs.mozilla.com/2007/11/prism-p ... and-linux/

and this doesn't work I need to test with fluid, and as long as it's rejected I can't test...

So please tell me how I can deactivate the reject!

If we'ld go on using Fluid I'ld never open a support ticket without ensuring that the same prob exists in Firefox...

Greetz
Mircsicz

P.S.: Fluid has one very needfull functionality: I can place it in the Autostart and so every user has his mail opened after login by default!


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests