[imp] IMP with dynamic is surprising users with how far delete goes

francis picabia fpicabia at gmail.com
Tue Nov 8 18:45:03 UTC 2011


On Tue, Nov 8, 2011 at 10:47 AM, francis picabia <fpicabia at gmail.com> wrote:

>
> I found a bunch of settings in prefs.php which are inaccessible from
> the Administration
> interface, as far as I could tell.
>
> I set the following value here to '1':
>
> // should we move messages to a trash folder instead of just marking
> // them as deleted?
> $_prefs['use_trash'] = array(
>    'value' => 1,
>    'type' => 'checkbox',
>    'desc' => _("When deleting messages, move them to your Trash
> folder instead of marking them as deleted?")
> );
>
> I set the value here to '1':
>
> // display the 'Empty Trash' link in the menubar?
> $_prefs['empty_trash_menu'] = array(
>    'value' => 1,
>    'type' => 'checkbox',
>    'desc' => _("Display the \"Empty Trash\" link in the menubar?")
> );
>
> The following setting wasn't documented in the prefs, but judging by
> an old post related to IMP 3 or 4, the possible values are: yearly =
> 1, monthly = 2, weekly = 3, daily = 4, every login = 5 . I have no
> idea if these are true, but I'm hoping so.  I selected monthly.
>
> // how often to purge the Trash folder?
> $_prefs['purge_trash_interval'] = array(
>    'value' => 2,
>    'type' => 'enum',
>    'enum' => array_merge(array(0 => _("Never")),
> Horde_LoginTasks::getLabels()),
>    'desc' => _("Purge Trash how often:"),
>    'help' => 'prefs-purge_trash_interval'
> );
>
> The trash solution seems to work well within dynamic.  I can't tell
> yet if the purge setting is meaningful, so that is the only remaining
> question I have.  Are those values for purge_trash_interval from older
> IMP still used in IMP 5?
>
> I think this solution is good.

I have learned some users are caught with mail sitting in a purgeable
state, but there is no longer a menu item to purge it while delete to
trash is active.

The first time this came up, I temporarily disabled trash for a few
seconds, the user logged out and in, and then the purged messages had
been deleted.

Now it has happened to another user, so I'm looking for a better solution.

While trash is active, how can I cause messages already deleted but
not purged to move to the trash, for all users?  Or is there a better
way to go about migrating to the 'delete to trash' configuration?


More information about the imp mailing list