1 Apr 2003 01:13
Re: Filter convertion
Michael M Slusarz <slusarz <at> bigworm.colorado.edu>
2003-03-31 23:13:15 GMT
2003-03-31 23:13:15 GMT
Quoting dimon <at> intellinetinc.com: | | A few weeks ago I switched to newer (CVS) version of Horde/IMP and all | filters | just gone. I know that all filter rules are in the database but as I | noticed | the hash structure changed So new Horde/IMP doesn't see these rules. Did | anyone wrote a script (or can write one) to convert old rules hash to | new? imp/docs/UPGRADING michael ______________________________________________ Michael Slusarz [slusarz <at> bigworm.colorado.edu] The University of Colorado at Boulder -- -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscribe <at> lists.horde.org
. There are a couple of bad
> solutions that I've used. I think it depends on how many settings and
> for how many domains and how often they will change. I really don't
> change that many. I have created a configuration file that I include
> with variables assigned. It is far from an optimal solution and could
> be more maintenance intensive than it should, but it works.
>
> Sniplets from my files:
>
> /* This is an additional file in horde/config/ to set the variables */
>
> $vdomain = strtolower(eregi_replace('^mail\.|^www\.|^www\.mail\.', '', \
> $_SERVER['HTTP_HOST']));
>
> switch ( $vdomain ) {
> case "insourcery.net" :
RSS Feed