Catch All and Rules

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Thu Jan 11, 2007 1:23 pm

It appears that SXAA is definitely that cause.

Line 18:

Code: Select all

gGS = chr(29)


Line 526:

Code: Select all

return_folder = return_folder.replace("/",gGS)


Once I stopped the "replace" from happening, the rule seems to work as expected.

Can anyone explain what Chr(29) is? What purpose does it serve?

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Mon Jan 15, 2007 10:46 am

It turns out that the problem still remains

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Mon Jan 15, 2007 6:58 pm

Hi

I've just made some changes to sxaa and uploaded them to the Admin Resource Kit at http://www.scalix.com/wiki/index.php?title=Admin_Resource_Kit.

The header for sxaa should read

Code: Select all

$Id: sxaa,v 1.11 2007/01/15 22:55:40 dkelly Exp $


Please can you try that and report back.

Cheers

Dave

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Mon Jan 15, 2007 8:27 pm

dkelly wrote:Hi

I've just made some changes to sxaa and uploaded them to the Admin Resource Kit at http://www.scalix.com/wiki/index.php?title=Admin_Resource_Kit.

The header for sxaa should read

Code: Select all

$Id: sxaa,v 1.11 2007/01/15 22:55:40 dkelly Exp $


Please can you try that and report back.

Cheers

Dave


Thanks.

When I download http://downloads.scalix.com/ark/sxaa i only get V1.9

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Mon Jan 15, 2007 8:31 pm

You probably need to refresh your browser cache. I got the same thing when I wanted to cut and past the version into my response to you.

Cheers

Dave

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Mon Jan 15, 2007 8:46 pm

I have never accessed the site from this computer, and have even tried using wget.

In both cases, I get 1.9.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Mon Jan 15, 2007 9:18 pm

Gettting 1.9 here too Dave (using wget).
Ben Tisdall
www.redcircleit.com
London

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Jan 16, 2007 8:46 pm

Sorry...it was a case of the left hand not knowing what the right hand was doing. I'd copied the files to the webserver and then found that there's an external sync job running from a separate filesystem which copied over the old files :-S

It should be OK now.

Cheers

Dave

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Tue Jan 16, 2007 9:36 pm

I downloaded the new version and executed

Code: Select all

/usr/local/sbin/sxaa.py --user username --title "Mailing Lists - Top 5" --header "X-Sneakemail-Label: top5" --file "/Mailing Lists/Entertainment/Top 5"


The results in the emails being placed into a folder named "/Mailing Lists/Entertainment/Top 5", rather than the "Top 5" folder, which is a subfolder of "Entertainment", etc.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jan 17, 2007 7:38 am

Hi!

Can you change your command:
/usr/local/sbin/sxaa.py --user username --title "Mailing Lists - Top 5" --header "X-Sneakemail-Label: top5" --file "/Mailing Lists/Entertainment/Top 5"


to

Code: Select all

/usr/local/sbin/sxaa.py --user username --title "Mailing Lists - Top 5" --header "X-Sneakemail-Label: top5" --file "Mailing Lists/Entertainment/Top 5"

Note: The parameter for option --file is "Mailing Lists/Entertainment/Top 5" instead of "/Mailing Lists/Entertainment/Top 5". The / (forward slash) before Maling Lists is not there.

This should do the trick.

Thanks,
Subir

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Wed Jan 17, 2007 8:29 am

ScalixSupport wrote:This should do the trick.


It did. Thanks.

Btw, http://downloads.scalix.com/ark/sxaa.readme should be updated to reflect the requirement for leaving off the leading slash. ;)

Edit: I am now totally confused. The rules that worked a few hours ago have stopped working. They are back to the "create one long folder name" mode. Not a single setting has been touched since I posted my message of success. :(

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Jan 17, 2007 2:16 pm

Simultaneously, I made a fix so it's not required to leave off that '/' character.

I've put a new version 1.12 onto the site which includes that fix. Please give it 15 or so minutes to pick up the new file.

The best thing to do with your existing rules is to delete and re-add them to make sure that they are being specified correctly.

Cheers

Dave

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Wed Jan 17, 2007 8:28 pm

dkelly wrote:The best thing to do with your existing rules is to delete and re-add them to make sure that they are being specified correctly.

Dave


I recreated every rule using v1.11 of sxaa. Is there any change in 1.12 that may have an impact on the problem of my rules suddenly breaking?

Is there some sort of internal task that "updates" or "re-evaluates" the rules at a given interval?

noonereallycares
Posts: 23
Joined: Sun Jan 07, 2007 11:21 am

Postby noonereallycares » Tue Jan 30, 2007 9:07 am

Any news on a solution?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jan 30, 2007 9:45 am

Hi!

Version 1.12 of sxaa is available for download. The fix in the newer version of sxaa would
definitely resolve the issue.

When you download the new version using wget, you would get the file sxaa.n, where n is
the next available numeric number. The original sxaa does not get overwritten. Use the latest
version of sxaa that you download for the command below to implement the rule:

Code: Select all

/usr/local/sbin/sxaa.py --user username --title "Mailing Lists - Top 5" --header "X-Sneakemail-Label: top5" --file "/Mailing Lists/Entertainment/Top 5"


Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron