From: Paul L. <pa...@sq...> - 2016-07-12 03:33:58
|
On 2016年07月11日 15:18, Paul Lesniewski wrote: > > > On 2016年07月11日 13:36, Joseph Mays wrote: >> Hmm. Was trying to set up the server side filters and server settings >> backend the way it seems like it’s supposed to work. > > First, note that this plugin only provides filtering (including rules > for forwarding), but not autoresponses. I've been meaning to re-outfit > one of the autoresonse plugins I manage to use Server Settings Backend. > >> I think the server settings backend is configured to use local file and >> suid to manage the files, and user mail files are stored as shown (so >> ma...@4s... <mailto:ma...@4s...> is in >> ‘/home/vmail/4seasonsresort.com/mays’). >> (From /usr/share/squirrelmail/plugins/server_side_filters/config.php...) >> >> $filter_rules_storage_info = array( >> 'BACKEND' => 'local_file', >> 'ACCESS_TYPE' => array('VALUE' => 'SUID'), > > The error below indicates you are using PHP for this, not SUID --?? > > You can enable debug mode in the plugin for more assistance. In PHP > mode, you need to give the web server access to the relevant > files/directories. Also worth noting - there's a soon-to-be-released version that can talk to servers of arbitrary protocols (in this case, managesieve). >> 'SUID_LOCATION' => array('VALUE' => >> '/usr/share/squirrelmail/plugin$ >> 'FILE' => array('VALUE_REPLACE' => >> '/home/vhome/%d/%u/.mai$ >> 'PARSE_PATTERN' => array('VALUE' => "/^(.*)$/s"), >> 'PATTERN_GROUP_NUMBER' => array('VALUE' => 1), >> 'NEW_SETTING_TEMPLATE' => array('VALUE' => '%n'), >> 'DELETE_WHEN_EMPTY' => array('VALUE' => 1), >> 'TREAT_AS_EMPTY_WHEN_NOT_FOUND' => array('VALUE' => 1), >> ); >> >> When I go into squirrelmail and Options > Mail Filters, the input window >> appears. But when I try to save a new filter I get: >> >> >> Errror: Error deleting file or directory. >> >> >> >> >> >> *From:* Joseph Mays <mailto:ma...@wi...> >> *Sent:* Monday, July 11, 2016 3:13 PM >> *To:* Squirrelmail Plugins Mailing List >> <mailto:squ...@li...> >> *Subject:* Re: [SM-PLUGINS] Plugin for autoresponse and forward >> withdovecotand vmail but no mysql >> >>>> Or the newest Server Side Filters plugin. >> >>> I would be happy to try this. Is this a dovecot or squirrelmail plugin? >> Nvm, I found it and have installed it and the necessary server settings >> backend plugin. I’ll try to get these to work. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |