[horde] mass create ingo-filter
Michael M Slusarz
slusarz at horde.org
Mon Oct 27 17:07:50 UTC 2014
Quoting josef radinger <cheese at nosuchhost.net>:
> On Mon, 2014-10-27 at 14:12 +0100, josef radinger wrote:
>> On Sun, 2014-10-26 at 15:24 -0600, Michael M Slusarz wrote:
>> > Quoting josef radinger <cheese at nosuchhost.net>:
>> >
>> > > hi,
>> > >
>> > > is there the possibility to mass create ingo-filters?
>> > > we would like to add filters into the ingo-database and afterwards
>> > > create the needed procmail-rules (as we use procmail for filtering).
>> > > there already could be user-created rules in the database.
>> >
>> > Create a test ingo user, add the rules you want, and then use the
>> > stored value of the various rules in your storage backend as a template.
>>
>> this would mean fiddling with textfiles and converting sieve to
>> procmail. lots of our users already have their own filtering rules in an
>> old system (using sieve rules). we want to add several new ones and
>> recreate the textual representation in procmail rules.
>>
> would a hook be a solution, where at login ingo-rules get created on
> disk?
I don't know what you mean by this.
If you want to change ALREADY existing rules (my first recommendation
was for setting up rules for the first time), then you can use the
'prefs_init' hook to dynamically alter prefs as you wish.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list