[ingo] add filters in admin
Brent J. Nordquist
bjn at horde.org
Mon Apr 28 10:56:33 PDT 2003
On 28 Apr 2003, steve j. kondik <shade at 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 at 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
More information about the ingo
mailing list