[Tickets #8103] Filters with no conditions

bugs at horde.org bugs at horde.org
Fri Mar 20 11:47:30 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8103
------------------------------------------------------------------------------
  Ticket             | 8103
  Created By         | almarin at um.es
  Summary            | Filters with no conditions
  Queue              | Ingo
  Version            | 1.2.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | rule.php.patch
------------------------------------------------------------------------------


almarin at um.es (2009-03-20 07:47) wrote:

Hi,

Now it is possible to create filters without any condition. With  
maildrop backend, it generates filters like:

##### New Rule #####
if( \
)
exception {
    to "${DEFAULT}"
}

And that generates a maildrop error beause of a mailfilter parsing error.

I think it makes sense to deny any rule without conditions. I attach a  
patch to do it.







More information about the bugs mailing list