override behaviour for redirect adn retain rules

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rich
Posts: 14
Joined: Wed Jan 10, 2007 8:49 pm
Contact:

override behaviour for redirect adn retain rules

Postby rich » Wed Aug 29, 2007 3:50 pm

Hi,

I have a problem with the Rules. I use the sxaa tool to create forward rules to staff blackberries.

./sxaa --user [user] --title [rule name] --redirect [blackberry email address] --retain

However, the problem is that the "--retain" is saving all the messages and overriding any filter rules for subject or sender. SPAM gets tagged and the subject is prefixed with a tag, however the redirect rules, with retain, keeps these messages and negates the filter to file these messages into a SPAM folder.

Is there a fix?

thanks.

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Wed Aug 29, 2007 7:03 pm

There are many tricks that we can come up with using sxaa, aliases, .procmaiilrc, .forward and Scalix internal rules. You need to determine exactly what you want and decide on the sequence of processing. Somebody will then be able to suggest the best approach. SAC alone is very poor to address that many redirection/filtering strategies.

In your case for example, if I understood well, what you ultimately want is that a copy of what would "normally" end up in the Inbox to be sent to the BlackBerry.. Please confirm.

Another post with lack of clarification:
viewtopic.php?p=39235#39235
Image Jaime
||||||||||||||||||||||||||||||||||||||||

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

Postby btisdall » Thu Aug 30, 2007 8:26 am

Hi Rich,

you can add a filter to your rule to make it conditional, e.g.

Code: Select all

sxaa --user foo --redirect foo@bar.org --retain --header 'X-Spam-Status: No' --title 'FWD BB NOTSPAM'


Run sxaa with no arguments or options to see the full help.
Ben Tisdall
www.redcircleit.com
London


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests