# search messages matching conditions
criteria = "(%s)" % self.get_criteria(ami)
ami.logger.debug("processing rule %s, inbox %s, imap criteria %s",
# search messages matching conditions
criteria = "(%s)" % self.get_criteria(ami)
ami.logger.debug("processing rule %s, inbox %s, imap criteria %s",
# get the list of items (mails) matching the condition criteria
item_list = self._search(ami, inbox)
# determine what parts should be fetched
# get the list of items (mails) matching the condition criteria
item_list = self._search(ami, inbox)
# determine what parts should be fetched