bufixes
[old-projects.git] / philter / philter / include / rule.inc.php
index dbb7b26..218e59c 100644 (file)
@@ -97,18 +97,16 @@ class Rule {
         } else {
             $i = 0; $res = '';
             foreach($this->matches as $match) {
-                $res .= (empty($i) ? ":0 f\n" : ":0 fE");
+                $res .= (empty($i) ? ":0 f\n" : ":0 fE\n");
                 $res .= $philter->config['match_plugins'][$match[0]]->to_string($match);
                 $res .= "| formail -I'X-Philter-Or: yes'\n";
                 $i++;
             }
 
-            $res.= "\n"
-                .  ":0 f\n"
+            $res.= ":0 f\n"
                 .  "* ^X-Philter-Or: yes\n"
                 .  "| formail -I'X-Philter-Or'\n"
-                .  "\n"
-                .  ($this->block ? ":0\n" : ":0 c\n");
+                .  ($this->block ? ":0 A\n" : ":0 Ac\n");
         }
         
         $res.= "{\n";