tbrehm
2008-07-15 04c7ebea11a4e8f385f13b31f6606e7140914fbf
interface/web/mail/mail_user_filter_edit.php
@@ -114,11 +114,12 @@
      if($this->dataRecord["action"] == 'move') {
      
         $content .= "
`test -e ".'$DEFAULT/'.$this->dataRecord["target"]."`
`test -e ".'$DEFAULT/.'.$this->dataRecord["target"]."`
if ( ".'$RETURNCODE'." != 0 )
{
  `maildirmake -f ".$this->dataRecord["target"].' $DEFAULT'."`
  `chmod -R 0700 ".'$DEFAULT/'.$this->dataRecord["target"]."`
  `echo INBOX.".$this->dataRecord["target"]." >> ".'$MAILDIR'."/courierimapsubscribed`
}
";      
      }
@@ -139,7 +140,7 @@
      $content .= "exception {\n";
      
      if($this->dataRecord["action"] == 'move') {
         $content .= 'to $DEFAULT/'.$this->dataRecord["target"]."/\n";
         $content .= 'to $DEFAULT/.'.$this->dataRecord["target"]."/\n";
      } else {
         $content .= "to /dev/null\n";
      }