Re: server side filter plugin problem

Paul Lesniewski <[email protected]> Tue, 4 Jun 2013 09:48:34 -0700
Newsgroups gmane.mail.squirrelmail.plugins
Message-ID <CAHog114ux3KCSQrqdq7XjybkkcATk-oXsLCtYDwBnyLmGOzirQ@mail.gmail.com>
On Tue, Jun 4, 2013 at 4:35 AM, Bu Xiaobing <[email protected]> wrote:
> Hi all,
>
> I want to use the server_side_filters plugin to do the procmail filter in the server side.
>
> version list:
> squirrelmail-webmail-1.4.22
> server_settings_backend-2.0-1.4.0.tar.gz
> server_side_filters-2.0beta1-1.4.0.tar.gz
> compatibility-2.0.16-1.0.tar.gz
>
> And I have enabled the server_side_filters throw config/conf.pl script.

You need to show configuration files/snippets.

> Plugins
>   Installed Plugins
>     1. server_side_filters
>
>   Available Plugins:
>     2. administrator
>
>
> When I use "Options" -> "Message Filters" in my web browser, after add some filter rules, and click the SAVE button, it says "Error: Error deleting file or directory"
>
> And in my /var/log/httpd/ssl_error_log:
>
> PHP Warning:  unlink(/): \xca\xc7\xd2\xbb\xb8\xf6\xc4\xbf\xc2\xbc in /var/www/html/webmail/functions/global.php on line 278, referer: https://mymailserver.com/webmail/plugins/server_side_filters/options.php

This is a warning, not an error.  You should provide the complete log
information for whatever has happened.  You may need to look in a
different log file or increase your PHP log settings.  You also might
try using only ASCII characters in your filters to start with.

> Here is the global.php function:
>
>    275 function sq_call_function_suppress_errors($function, $args=array()) {
>     276    $display_errors = ini_get('display_errors');
>     277    ini_set('display_errors', '0');
>     278    $ret = call_user_func_array($function, $args);
>     279    ini_set('display_errors', $display_errors);
>     280    return $ret;
>     281 }
> Anyone can give me some advice?

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins