[ingo] Add default entries in Database for new users

Ralf Lang lang at b1-systems.de
Mon Sep 27 07:32:39 UTC 2021


Am 27.09.21 um 09:17 schrieb Ralf Lang:
> Hi Andrew,
>
>
> Am 24.09.21 um 19:00 schrieb Andrew Watkins:
>> Hello,
>>
>> Before I try look at this I would like to know if anyone has done the 
>> following:
>>
>> I want to add some ingo rules into all NEW users at creation time. 
>> The easy part is adding .forward & .procrcmail files into the 
>> filesystem, but I also need to add some data to the database so that 
>> it knows options have been set.
>>
>> i.e. Add to ingo_rules & ingo_forwards
>>
>> Thanks
>>
>> Andrew
>
> as with most topics, I would normally advise manipulating the database 
> directly.
> However, it seems like we are still missing a hook or cli script to 
> facilitate provisioning.
>
The word "against" is missing. :| I would normally advise against 
manipulating the database directly.
One option would be to use the share backend and share the mandatory 
filters with the user.


-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the ingo mailing list