From: Paul L. <pa...@sq...> - 2016-07-11 22:18:53
|
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. > '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. > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > > ------------------------------------------------------------------------ > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > > > > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |