[imp] Causing maintenance operations to occur without prompting?

Raul Alvarez Venegas rav@tecoman.ucol.mx
Wed, 2 Jan 2002 05:22:41 +0000 ( )



On Tue, 1 Jan 2002, Jan Schneider wrote:

> Zitat von Lloyd Zusman <ljz@asfast.com>:
> 
> > Is there any way to tell IMP to perform the tasks specified in
> > Maintenance Operations without prompting the user?  For example, I'd
> > like to optionally specify that the Trash folder be periodically
> > emptied without the user being asked about this when he or she logs
> > in.
> 
> Set the value to 1 and lock the preference in config/prefs.php.

I have set the value to 1 and locked the preferences:

rename_sentmail_monthly, delete_sentmail_monthly,
delete_sentmail_monthly_keep

then, the user is prompted to confirm the message: "All messages in your
"trash" folder older than 30 days will be permanently deleted." But when
pressing the button "Perform Maintenance Operations" the following warning
messages appear:


Warning: Unknown modifier 'n' in
/usr/local/www/secure/releng/horde/imp/lib/Maintenance/Task/delete_sentmail_monthly.php
on line 39

Warning: Unknown modifier 'n' in
/usr/local/www/secure/releng/horde/imp/lib/Maintenance/Task/delete_sentmail_monthly.php
on line 39

Warning: Unknown modifier 'n' in
/usr/local/www/secure/releng/horde/imp/lib/Maintenance/Task/delete_sentmail_monthly.php
on line 39

...

Am I missing/skipping a preference to lock or unlock?. Using Horde/IMP
from the RELENG branch.

Thanks!


Raul