moveuser problems

Hi,

we are trying to move users from one server to other. Both running:

Sun Java(tm) System Messaging Server 6.1 HotFix 0.02 (built Aug 25 2004)

libimta.so 6.1 HotFix 0.02 (built 17:36:06, Aug 25 2004)

SunOS sm1 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-Enterprise

Both servers share same LDAP server. When we try

MoveUser -l \

"ldap://ldap.server:389/o=org.com,dc=org,dc=com?(uid=singleuser1)" \

-D "cn=Directory Manager" -w pazzword -s server1.org.com -x admin \

-p pazzword2 -d server2.org.com -a admin -v pazzword3

we get:

ldapHost = ldap.server

ldapPort = 389

ldapBaseDN = o=org.com,dc=org,dc=com

ldapScope = 2

ldapFilter = (uid=singleuser1)

ldapBindDN= cn=Directory Manager

srcMailHost = server1.org.com

destMailHost = server2.org.com

sMailAdm = admin

dMailAdm = admin

=======================================================

server1.org.com:{default\ singleuser1} --> server2.org.com:{default\ singleuser1}

Server responded [Server hosting this mailbox is not available]

User singleuser1 is on server1 (verified trough mboxutil & ldapsearch).

From this post:

http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=24108

http://forum.sun.com/jive/thread.jspa?forumID=15&threadID=47464

we also verified proxyauth and found some issues there

# telnet localhost 143

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.1 Patch 0.02 (built Aug 25 2004))

a login admin pazzword (store admin)

a OK User logged in

b proxyauth singleuser1

b OK Completed

c select inbox

c NO Server hosting this mailbox is not available

also we found that there are two admin accounts: one in NetscapeRoot and other in ou=People,o=etc....

From posts above it seams that our problems will be solved if we wipe out admin,ou=people.... BUT, this is Schema 2 and Identity works under this account (people admin :), so we assume that deleting of that account will kill Identity...

Any suggestions?

Note:

service.authcachettl is set to 0

store.admin is set to admin

[2456 byte] By [gljiva] at [2007-11-26 11:45:02]
# 1

Actually, you don't have a problem with proxyauth, but you do have a problem with the value of "mailhost" for the user.

You cannot log into a server by imap, if the mailhost claims that the mailbox is on another box. . . . . . . .

It looks like you already changed the ldap value for mailhost to server2. At this point, it needs to still point to server1

jay_plesset at 2007-7-7 11:54:12 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Hi Jay,

after using real imap port, instead multiplexor :)) this start to work.

But,

we tried to move single mailbox and server reported:

Server responded [Server hosting this mailbox is not available]

we repeated same command once again and than mailbox was moved normaly?!

same thing occurs with other mailboxes. some are moved after single command and some after 2-4 retries..

any idea?

gljiva at 2007-7-7 11:54:12 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Yes, MMP doesn't do proxyauth, so you need to go to the stores directly.You will need to start by looking at server logs. I'd suggest looking first at your imap logs, and then at your ldap logs.I have never seen problems such as you describe.
jay_plesset at 2007-7-7 11:54:12 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...