[prev in list] [next in list] [prev in thread] [next in thread]
List: ingo
Subject: Re: [ingo] add filters in admin
From: "Brent J. Nordquist" <bjn () horde ! org>
Date: 2003-04-28 14:56:33
[Download RAW message or body]
On 28 Apr 2003, steve j. kondik <shade@chemlab.org> wrote:
> i need to create a default filter configuration when adding a new
> account via horde admin. is there an easy way to to this?
Well, in terms of the config. file part of it, not "easy" but here's how I
do it. Add the filter rule(s) you want (they'll get saved in the database
in the horde_prefs table). Then dump that row of the table, and copy the
serialized data (the a:3:{i:0;a:2:{s:4:"name"; kind of stuff) into your
prefs.php file. You can see how it's done for a few in there already.
This will only work for the preferences storage backend (currently the
only one), and you'll have to ask others about the specifics of sieve.
--
Brent J. Nordquist <bjn@horde.org> N0BJN
Other contact information: http://www.nordist.net/contact.html
* Fast pipe * Always on * Get out of the way - Tim Bray http://tinyurl.com/7sti
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic