[MlMt] Rules in smart mailboxes

Arnau Rebassa arebassa at gmail.com
Thu Jun 14 02:50:47 EDT 2018


Awesome response!!! Thanks a lot!!

-- 
Arnau

> On 14 Jun 2018, at 06:41, Bill Cole <mmlist-20120120 at billmail.scconsult.com> wrote:
> 
>> On 13 Jun 2018, at 17:27 (-0400), Arnau Rebassa wrote:
>> 
>> Hi all,
>> 
>> I have a doubt with rules in smart mailboxes. According to the
>> documentation, rules:
>> 
>> “Rules are only triggered when a message is added to a mailbox which most
>> often happens when a new message arrives in an account.”
>> 
>> What I understand what an smart mailbox is: they are like a “query result”
>> that are executed periodically.
> 
> Yes and no. Obviously a query is not being run continuously, but it isn't scheduled "periodically" either. It is triggered by the addition of messages to or changes to existing messages in any of the subject mailboxes.
> 
>> If I’m right, when are the rules executed?
> 
> When a new message is added to a mailbox, the mailbox rules are evaluated against the new message.
> 
>> Every time you open the smart mailbox? or when the message arrives to the
>> standard mailbox “inbox”?
> 
> Neither.
> When a new message is seen by MM in any IMAP mailbox (not just INBOX,) MM runs the rules associated with the IMAP mailbox against them (possibly resulting in the moving of the message to another IMAP mailbox) and then the conditions of the Smart Mailboxes which refer to the changed IMAP mailbox are evaluated to determine the contents of each Smart Mailbox. If that evaluation results in a new message in a Smart Mailbox, its rules are run against the new message and then the conditions of any Smart Mailboxes which refer to it are evaluated to detect any new messages they should include, their rules are run, and so on recursively.
> 
> 
> 
> -- 
> Bill Cole
> bill at scconsult.com or billcole at apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Currently Seeking Steadier Work: https://linkedin.com/in/billcole
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate


More information about the mailmate mailing list