[imp] Ingo force sieve reload

Jan Schneider jan at horde.org
Wed Oct 17 17:15:57 UTC 2007


Zitat von "Chris St. Pierre" <stpierre at nebrwesleyan.edu>:

> On Wed, 17 Oct 2007, Jan Schneider wrote:
>
>> Zitat von Petr Vyhnal <vyhnal at cns.eu>:
>>
>>> I have Cyrus with sieve and I have Horde with Ingo configured as well.
>>> There are about 150 mailboxes and all users have a spamassassin rule as
>>> their first personal rule in Ingo. Now I have to make change in
>>> spamassassin rule definition for each user. It isn't problem change
>>> ingo.script files directly for each user and rebuild to ingo.bc. I wrote
>>> short script to do it. But there is problem how force Ingo to use
>>> "active" script from sieve a replace the one stored in Horde's mysql for
>>> each user. Is there possibility how to do this? Because in other case
>>> when user change something in his rules, my changes to spamassassin rule
>>> will be lost.
>>
>> This is not possible. You have to change the rule in the Ingo  
>> storage as well.
>
> Out of curiosity, is it possible to do this the other way around?
> E.g., I change the Ingo storage rule, and then force Horde to write
> the correct magic to the Sieve server?  I know this can be done by
> changing the Ingo rule, logging in, going to Ingo, and telling it to
> regenerate the rules, but is there an automatable, no-login-required
> way to do this?

Not at the moment, but it shouldn't be too hard to do. Though you  
either need the full credentials for each user, or the ability to set  
sieve scripts with the cyrus admin. I'm not sure if this is possible  
at all.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list