Mail filter migration

I am attempting to migrate users mail filters from:

iPlanet Messaging Server 5.1 (built May 7 2001)

to:

Sun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007).

The 5.1 mail filters were created through the Delegated Administrator link in Messenger Express. Here is what I have tried so far:

Using ldapsearch I queried a user account that I know has a mailSieveRuleSource attribute defined on the old DS. I specified the output to be ldif. I copied the base64 encoded value of the mailSieveRuleSource attribute and using ldapmodify I added the value to an entry in the new DS as shown:

# ldapmodify -D"cn=directory manager" -w password

dn: uid=test,ou=People,o=xyz.edu,dc=xyz,dc=edu

changetype: modify

add: mailsieverulesource

mailsieverulesource:: I1JVTEU6ICRUZW1wbGF0ZT0iU3BhbSBNZXNzYWdlcyIgJE5hbWU9IkJ

vcmVkIiAkT3JkZXI9MQpyZXF1aXJlICJmaWxlaW50byI7CmlmIGhlYWRlciA6Y29udGFpbnMgWyJ

Gcm9tIiwiU2VuZGVyIiwiUmVzZW50LWZyb20iLCJSZXNlbnQtc2VuZGVyIiwiUmV0dXJuLXBhdGg

iXSAjIFExCiJJJ20gQm9yZWQiICMgUTIKewpkaXNjYXJkOwpzdG9wOwp9CiNQUkU6ICJUaGlzIHJ

1bGUgZGlzY2FyZHMgbWVzc2FnZXMgdGhhdCIKI1BSRTogImNvbnRhaW4gYSBoZWFkZXIgbGluZSB

rbm93biB0byBiZSBzcGFtIgojUTE6IGhlYWRlciAiSWYgdGhlIGhlYWRlciBsaW5lIgojUTI6IHZ

hbHVlICJDb250YWlucyB0aGUgcGhyYXNlIgoK

modifying entry uid=test,ou=People,o=xyz.edu,dc=xyz,dc=edu

I then logged into UWC on the new system and went to Options | Mail | Mail Filters and I get the following error:

Invalid filter format. Please contact your help desk for support.

Did I copy the value over correctly?

Has the sieve syntax changed from the old version to the new?

If so, is there some conversion utility available?

[1798 byte] By [sheger77a] at [2007-11-27 9:04:52]
# 1

Hi,

> Invalid filter format. Please contact your help desk

> for support.

>

> Did I copy the value over correctly?

Most likely.

> Has the sieve syntax changed from the old version to

> the new?

Not necessarily the sieve syntax but the syntax the UWC expects and can parse has changed. The UWC interface expects the sieve syntax to be in a set format, which iMS5.1 is clearly not in.

> If so, is there some conversion utility available?

Not that I know of. You will have to roll your own. When you jump 3 or 4 versions in one go these things are to be expected. As an aside, the 'certified' migration path for you is iMS5.1 -> iMS5.2 -> SMS2005Q1 -> Comm-Suite-5.

Regards,

Shane.

shane_hjortha at 2007-7-12 21:38:25 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...