[OGo-Users] Filter (Sieve) Problem Using Move To Folder option.
Adam Tauno Williams
users@opengroupware.org
Fri, 30 Nov 2007 16:43:48 -0500
--=-7wtbOaVb76mwNZppDAr1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
> executed the commands "Defaults write NSGlobalDomain SieveFilenameSepara=
tor .
> " (first try) and "Defaults write NSGlobalDomain SieveFilenameSeparator /=
"
> (second try) but they doens't solve the problem. Thats my "Defaults"
> configuration after the tries:
> SieveFilenameSeparator =3D ".";
Interesting; I'll see if I can give it a try. I don't usually edit my
SIEVE scripts with OGo.
> PS.2: I did not undertand the part that you say "In Tools/sky_install_sie=
ve.m is
> -.......". I tried to find this file ("sky_install_sieve.m") but i did no=
t found
> it. I need to do something more or i forgoten something???
No, sky_instal_sieve is what actually creates and installs your SIEVE
scripts (as far as I understand). It is pretty clearly using the
"SieveFilenameSeparator" default
> In Tools/sky_install_sieve.m is -
> - (NSString *)sieveFilenameForString:(NSString *)fileName {
> NSUserDefaults *ud =3D [NSUserDefaults standardUserDefaults];
> NSString *sep;
>=20
> if ([fileName hasPrefix:@"/"]) {
> fileName =3D [fileName substringWithRange:
> NSMakeRange(1, [fileName length] - 1)];
> }
>=20
> sep =3D [ud stringForKey:@"SieveFilenameSeparator"];
> if (![sep isNotEmpty])
> sep =3D @".";
>=20
> if ([sep isEqualToString:@"/"])
> return fileName; /* return as-is, no transformation required */
>=20
> fileName =3D [[fileName componentsSeparatedByString:@"/"]
> componentsJoinedByString:sep];
> return fileName;
> }
--=-7wtbOaVb76mwNZppDAr1
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQBHUIQULRePpNle04MRAjdDAJ96uhx8jugIU3aWpQPA9G3c93x8JACfb5Ei
30WYd6iPCUWD1pkb01gLnkE=
=awNi
-----END PGP SIGNATURE-----
--=-7wtbOaVb76mwNZppDAr1--