Catch All and Rules

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

Catch All and Rules

Postby noonereallycares » Sun Jan 07, 2007 9:00 pm

Scalix CE Version 11 appears to be a fantastic achievment. I am still coming to grips with the various features, but there is one that is stopping me from showing my boss that I have found an Exchange replacement.

When I set an account to act as a catch-all account, the sorting rules only apply to emails addressed to the specific account.

e.g. username@domain.com emails get handled by the rules, but another@domain.com emails are being ignored by the ruleset. Both sets of emails are still being delivered correctly, it is just that some are not being handled by the ruleset.

If anyone understands my situation, and knows how to resolve it, that would be fantastic. I am more than ready to be told that I have missed something obvious. ;)

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

Postby ScalixSupport » Tue Jan 09, 2007 7:18 am

Hi!

Did you use "sxaa tool" or "SWA rule wizard" to create this rule. Could you please elaborate your requirement more for our understanding:

What I understand from your mail is:
you have an email account catch-all@domain.com,
all incoming mails first come into catch-all@domain.com,
then from here, mails get redirected to obvious recepients.

Is this the case.

Thanks,
Subir

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

Postby noonereallycares » Tue Jan 09, 2007 8:12 am

All rules were created from within Outlook, so I assume that counts as the Rule Wizard.

My initial post was obviously a bit confusing, so I'll try to clarify the situation.

I have a number of email addresses that I use, but only one mailbox. On my current mail server, this is achieved by configuring my account as a "catch all" account. This means that any emails that do not have a matching alias / mailbox get delivered to me.

e.g.
- my main email address is: mpember@domain.com
- my subscription to the Evolt mailing list is with the address: evolt@domain.com.
- since the Evolt emails are not addressed to my primary address, they are being ignored by the rules.

Even if the rule is based on the subject of an email, it will only ever take effect on emails that are addressed to my main address.

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

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

Hi!

So, if you have three email addresses say rh@domain.com, linux@domain.com,
evolt@domain.com you want mail addressed to any of these three email addresses be
redirected to member@domain.com. Am I correct?

Taking case of evolt@domain.com, you need to set a rule for account evolt@domain.com to
redirect its mails to member@domain.com. Also, there has to be users/aliases with these
three email addresses.

Thanks,
Subir

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

Postby noonereallycares » Tue Jan 09, 2007 9:41 am

The mail is being successfully delivered to my account's inbox, but I want a rule to sort it in a particular folder.

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

Postby ScalixSupport » Tue Jan 09, 2007 10:02 am

Hi!

If you have apply more than one condition in the same rule, these conditions would be
compared with AND operator and not OR operator. So to handle separate conditions, you will have to create separate rules.

Thanks,
Subir

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

Postby noonereallycares » Tue Jan 09, 2007 11:49 pm

The only rules are the ones being used to handle the sorting of email. The delivery is currently being handled by another server.

If it helps, here is sample of the headers from an email that is being delivered to my inbox, but ignored by the rules:

Code: Select all

Received: from hades.domain.com (hermes.domain.com [10.xxx.yyy.zzz])
    by hermes.domain.com (Scalix SMTP Relay 11.0.0.431)
    via ESMTP; Wed, 10 Jan 2007 10:45:13 +1100 (EST)
X-Envelope-To: sneakemail@domain.com, mpbackup@domain.com
X-Spam-Status: No, hits=0.0 required=6.0
   tests=AWL: -0.706,BAYES_50: 1.567,FROM_HAS_MIXED_NUMS: 2.155,
   CUSTOM_RULE_FROM: ALLOW,TOTAL_SCORE: 3.016
X-Spam-Level:
Received: from monkey.sneakemail.com ([38.113.6.61])
   by hades.domain.com (Kerio MailServer 6.3.0)
   for sneakemail@domain.com;
   Wed, 10 Jan 2007 10:45:12 +1100
Received: (qmail 25910 invoked by uid 500); 9 Jan 2007 23:44:53 -0000
Received: from out009.topica-platinum-y.com (HELO out009.topica-platinum-y.com) (66.227.60.29)
   by mail.sneakemail.com with SMTP;  9 Jan 2007 23:44:51 -0000
To: sneakemail@domain.com
From: "TopFive topica-at-topfive.com |top5|" <sm0nibd0e70t@sneakemail.com>
Subject: Top5 - 1/9/07 - Pickup Lines Used by Chefs
Date: Tue,  9 Jan 2007 23:43:46 +0000
Message-ID: <2001372678-1463747838-1168386235@boing.topica.com>
Errors-To: <aaahig63eo3iux1ylmcbsaj5lx_r1g67qdylt2u59rgmj8@boing.topica.com>
Reply-To: "topica-at-topfive.com |top5|" <sm0nibd0e70t@sneakemail.com>
X-Topica-Id: <1168386226.web001.13472.1000000>
List-Help: <http://topica.com/lists/Top5@topica.com/>
List-Unsubscribe: <mailto:Top5-unsubscribe@topica.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Sneakemail-Label: top5
X-Sneakemail-Address: bkpa1xrh02@sneakemail.com
X-Sneakemail-Rcpt: bkpa1xrh02@sneakemail.com
X-Sneakemail-Keyword:
X-Sneakemail-Return-Path: aaahig63eo3iux1ylmcbsaj5lx_r1g67qdylt2u59rgmj8@boing.topica.com
X-Sneakemail-From: TopFive <topica@topfive.com>
X-Sneakemail-Return-Phrase: Accepted
X-Sneakemail-Is-Sneakemail: yes
X-Sneakemail-Folder-Path: Desktop/Mailing Lists
X-Sneakemail-Inc-Phrase:


And here's one that works perfectly

Code: Select all

Received: from hades.domain.com (hermes.domain.com [10.xxx.xxx.xxx])
    by hermes.domain.com (Scalix SMTP Relay 11.0.0.431)
    via ESMTP; Mon, 08 Jan 2007 01:31:53 +1100 (EST)
X-Envelope-To: mpember@domain.com
Received: from localhost ([127.0.0.1])
   by hades.domain.com (Kerio MailServer 6.3.0)
   (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits))
   for mpember@domain.com;
   Mon, 8 Jan 2007 01:30:46 +1100
Received: from cerberus.domain.com (localhost [127.0.0.1])
   by cerberus.domain.com (8.13.8/8.13.8) with ESMTP id l07EUkJw020707
   for <mpember@domain.com>; Mon, 8 Jan 2007 01:30:46 +1100 (EST)
Received: (from root@localhost)
   by cerberus.domain.com (8.13.8/8.13.8/Submit) id l07EUkAC022965
   for mpember@domain.com; Mon, 8 Jan 2007 01:30:46 +1100 (EST)
Date: Mon, 8 Jan 2007 01:30:46 +1100 (EST)
From: Cerberus Root <root@cerberus.domain.com>
Message-Id: <200701071430.l07EUkAC022965@cerberus.domain.com>
To: mpember@domain.com
Subject: cerberus.domain.com daily output


In many of my rules, I simply use the Sneakemail headers. The rest are based on either the address that they are sent to, or the subject. I don't have any rules that are configured with multiple conditions.

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

Postby ScalixSupport » Wed Jan 10, 2007 4:38 am

Hi!

I suppose you need to add email aliases for the email address mpember@domain.com, still
can you give me the result of the command for me to be sure.
omshowu -m all
omshowu -n mpember/<mailnode>
NB: <mailnode> should be the mailnode for your Scalix Server. For me mailnode is subir-rhel4 as visible in the result of the command "omshowu -m all"
[root@subir-rhel4 ~]# omshowu -m all
sxadmin /subir-rhel4/CN=sxadmin

Thanks,
Subir

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

Postby noonereallycares » Wed Jan 10, 2007 6:48 am

Since it was only a test system, I ripped it down and started from scratch.

By using sxaa to create the rules, they appear to be working.

The only remaining issue is the the folder names are not being handled correctly.

Code: Select all

[root@hermes] # /usr/local/sbin/sxaa.py --user mpember --info 1037
Conditions
----------
Subject = "%XMLTV%"

Action
------
FILE in Administration/Server Reports/XML TV

Was created from within Outlook and works perfectly

Code: Select all

[root@hermes] # /usr/local/sbin/sxaa.py --user mpember --info 1038
Conditions
----------
Arpa Header = "%X-Sneakemail-Label: top5%"

Action
------
FILE in Mailing Lists/Entertainment/Top 5

Was created using sxaa and places the email in a new folder called "Mailing ListsEntertainmentTop 5"

Here is the command that was used to create the rule:

Code: Select all

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


And so, we move one step closer to ditching M$ Exchange.....

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

Postby ScalixSupport » Wed Jan 10, 2007 9:31 am

Hi!

This seems to be a bug. I have created the same in bugzilla, bug number is 14384.

The link to this bug is:
http://bugzilla.scalix.com/show_bug.cgi?id=14384

Thanks,
Subir

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

Postby noonereallycares » Wed Jan 10, 2007 10:31 am

ScalixSupport wrote:This seems to be a bug.


I know it sounds bad, but finding out that the glitch is a bug makes me feel better.

It always feels good to know that the glitch that only just appeared in your server setup was not caused by your own actions :wink:

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

Postby ScalixSupport » Thu Jan 11, 2007 5:05 am

Hi!

Going deep into it, trying other ways and found this to be an issue only when the rule is
created through the command sxaa, things work fine when rule is created using the
"Rules Wizard" in SWA/Outlook.

Make sure in Outlook, you use the Rules Wizard provided by Scalix and not one that comes
with Outlook.

Thanks,
Subir

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

Postby noonereallycares » Thu Jan 11, 2007 5:54 am

ScalixSupport wrote:Hi!

found this to be an issue only when the rule is created through the command sxaa



So, is it a fault in th sxaa script? Or a fault in the API that the script uses?

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

Postby ScalixSupport » Thu Jan 11, 2007 6:08 am

I have posted a bug, our developer team would look into the issue. I would not be the right person who could tell you the exact reason.

Thanks,
Subir

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

Postby noonereallycares » Thu Jan 11, 2007 6:32 am

ScalixSupport wrote:I have posted a bug, our developer team would look into the issue. I would not be the right person who could tell you the exact reason.

Thanks,
Subir


Ok. Thanks for your help in this matter. With 40+ rules to create for some of the users, manual entry is going to be a killer.

In the long term, it would be great to see a cli tool that creates rules that are compatible with the Outlook Rules Wizard.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron