[imp] problem with black list after updating to latest cvs

Michael M Slusarz slusarz@bigworm.colorado.edu
Mon Nov 11 00:25:42 2002


Quoting Jan Schneider <jan@horde.org>:

| Zitat von Cedric Tardif <sysadmin@destination.ca>:
| 
| > Hi all,
| >
| > I have update to the lastest CVS and now all blacklist address and
| filter
| > in old cvs three don't work anymore.
| 
| Yes, the filter/blacklist storage format has changed a few month ago.
| 
| > Is there a easy way to correct this or to export old filter to the new
| > CVS ?
| 
| No, though some PHP scripting should make it possible.

Actually, this _should_ be done automatically.  Check out the 
_convertFilters() function in imp/lib/Filters.php:
http://cvs.horde.org/cvs.php/imp/lib/Filter.php

It worked for me when I tested it, at least it did a few months ago...

I don't have any time to look at this soon (and no way to test it), so if 
someone wants to play around with this and see if it is broken it would be 
much appreciated.

michael


______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list