[MlMt] Stop evaluating rules?

Benny Kjær Nielsen mailinglist at freron.com
Fri Sep 25 02:15:34 EDT 2015


On 23 Sep 2015, at 20:05, Randall Meadows wrote:

> On my INBOX, I have a bunch of rules defined.  In this latest case, 
> for example, I have rules that move messages received to my son's or 
> daughter's public email address into appropriate IMAP mailboxes (one 
> for each of them).
>
> E.g.:
> - rule: if "To" contains "son at whatever" move to son's mailbox
> - rule: if "To" contains "daughter at whatever" move to daughter's 
> mailbox
>
> What actually happens, though, when I send a message to both my son 
> and daughter at the same time, *both* messages end up in "daughter's 
> mailbox", because the rule processing falls through from one to the 
> next.

If it didn't fall through then they would both be in the first mailbox 
if I understand correctly?

> Is there a way to tell MailMate to stop processing rules once 
> conditions have been sufficiently satisfied?

No, not yet. A (very) crude workaround would be to tag/flag when a rule 
has matched and then check for this flag/tag in all subsequent rules.

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150925/a57a90ce/attachment.html>


More information about the mailmate mailing list