Rules Wizard Wildcards?

Discuss the Scalix web client

Moderators: ScalixSupport, admin

lelandv
Posts: 26
Joined: Thu Oct 30, 2008 10:45 am

Rules Wizard Wildcards?

Postby lelandv » Wed Dec 31, 2008 6:07 am

Silly question, but I can't find any user docs for this and it's something we need for the users to be able to do.

Condition: Sender IS *@domain.com (for example)
Action: File to SOME-FOLDER

We've tried all kinds of wildcards and nothing seems to work.

(Actually using *@domain.com caused the inbound mail to be lost totally -- not in the Inbox, not in the folder, not in deleted items... it's somewhere in the ether...)

Thanks,

L.

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Wed Dec 31, 2008 12:02 pm

I thought the wildcard character was %, but haven't tested it.

lelandv
Posts: 26
Joined: Thu Oct 30, 2008 10:45 am

Postby lelandv » Wed Dec 31, 2008 12:05 pm

Tried it.. doesn't work.

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Wed Dec 31, 2008 12:39 pm

Have you tried just domain.com?

lelandv
Posts: 26
Joined: Thu Oct 30, 2008 10:45 am

Postby lelandv » Wed Dec 31, 2008 12:43 pm

yup

Tried all permutations of the following:

*@domain.com
%@domain.com
domain.com
@domain.com
and even standard regex...
.*@domain.com
[a-zA-Z0-9]+@domain.com

The first one just stops ALL mail from being received at all.. none of the others work at all.

An EXACT match DOES work though. (i.e. thisuser@domain.com )

Leland

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Wed Dec 31, 2008 8:23 pm

I'm not in a position to test this using the rules wizard, but sxaa works just fine here:

# sxaa --user one --file Test --sender %@example.com


That files anything sent to to the "Test One" user from *@example.com to the Test folder, creating it if it doesn't already exist.

Try that?

lelandv
Posts: 26
Joined: Thu Oct 30, 2008 10:45 am

Postby lelandv » Thu Jan 01, 2009 8:15 am

That works, but is not really practical for an end-user to set up his/her own mail rules...

The wizard is what the end users would be doing and it's rather counter intuitive for a system such as Scalix to need an administrator set up mail handling rules for each user manually using the command line...

:?

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Fri Jan 02, 2009 11:42 am

I'm not saying you can only use the command line, I was suggesting a test / workaround. As I said, I wasn't in a position to look at the rules wizard.

Remember, we're just trying to help.

lelandv
Posts: 26
Joined: Thu Oct 30, 2008 10:45 am

Postby lelandv » Fri Jan 02, 2009 11:44 am

yup.. as a test it worked..


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests