order rules

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

eproducts
Posts: 44
Joined: Tue Nov 28, 2006 2:16 pm

order rules

Postby eproducts » Thu Mar 08, 2012 5:11 am

Hi,

is it possible to order the rules?

We have rules (ordered) like this:
1.) move to folder: abc
AND
2.) delete if thw word: xyz is in the subject

The mail is moved to folder abc, but not deleted, if 2. is TRUE...?!

Any ideas?

Cheers
T

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: order rules

Postby mikethebike » Wed Mar 14, 2012 8:09 am

If you are unable to do it in the client, you can do it using tfbrowse on the 3d file in the user's "g" directory:

tfbrowse -i ~/data/usergdirectory/*3d > /tmp/eproducts.txt

you will notice in that file there are sequence numbers for each action, like this:

HEADER (DN) 1 0 2 1002 0x0 0x0 0 0x0 0x0 0x0 0x0 0x0 ""
AA_NO (DN) 0x0 101 0 0 0 0 "" "" "" "" ""
FILTER_STRING (DN) 0x0 0x0 2 1 0 0 "test" "" ""
AA_SIMPLE_REPLY (DN) 0x0 0x1 1167 0 0 "" "" "autoreply_101" ""
AA_NO (DN) 0x0 102 0 0 0 0 "" "" "" "" ""
FILTER_STRING (DN) 0x0 0x0 2 1 0 0 "te*" "" ""
AA_SIMPLE_REPLY (DN) 0x0 0x1 1167 0 0 "" "" "autoreply_102" ""

You can amend the file, make sure the sequence numbers are in the correct order numerically then regenerate the 3d file:

tfbrowse -g -i /tmp/eproducts.txt -o ~/data/usergdirectory/0000003d


Its a bit of a fudge, and not something you want to be doing for lots of users, but it works

Mick


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests

cron