does xfer require murder?

Perry Brown vbperry at hotmail.com
Tue Apr 18 17:55:39 EDT 2006


I fixed the cyradm issue

$ ldd -r 
/opt/mail/cyrus-imapd/lib/perl-5.6.0/Linux-2.4c2.3-i686/auto/Cyrus/IMAP/IMAP.so
        libdb-4.1.so => /lib/libdb-4.1.so (0x009cf000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x009a5000)
        libssl.so.0.9.7 => not found
        libcrypto.so.0.9.7 => not found
        libc.so.6 => /lib/tls/libc.so.6 (0x00393000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00daa000)
        libdl.so.2 => /lib/libdl.so.2 (0x00339000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00805000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00e11000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00e83000)

I linked libcyrpto and libssl

libcrypto.so.0.9.7 -> libcrypto.so.0.9.7a
libssl.so.9.7 -> libssl.so.0.9.7a


ldd -r looks good now.
$ ldd -r 
/opt/mail/cyrus-imapd/lib/perl-5.6.0/Linux-2.4c2.3-i686/auto/Cyrus/IMAP/IMAP.so
        libdb-4.1.so => /lib/libdb-4.1.so (0x00e5d000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x007c3000)
        libssl.so.0.9.7 => /lib/libssl.so.0.9.7 (0x00746000)
        libcrypto.so.0.9.7 => /lib/libcrypto.so.0.9.7 (0x00130000)
        libc.so.6 => /lib/tls/libc.so.6 (0x003b7000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0035d000)
        libdl.so.2 => /lib/libdl.so.2 (0x00932000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00221000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00233000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 
(0x00b4b000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x00260000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x00d8b000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x002c9000)
        libz.so.1 => /usr/lib/libz.so.1 (0x002eb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00a1b000)


and cyradm from server1 and launch on server2

$ sudo /opt/mail/cyrus-imapd/bin/cyradm --user cyrus --server 
server2.sub2.domain.com --auth plain
Password:
IMAP Password:
              server2.sub2.domain.com>
server2.sub2.domain.com> help
authenticate, login, auth         authenticate to server
chdir, cd                         change current directory
createmailbox, cm, create         create mailbox
deleteaclmailbox, dam, deleteacl  remove ACLs from mailbox
deletemailbox, delete, dm         delete mailbox
disconnect, disc                  disconnect from current server
exit, quit                        exit cyradm
help, ?                           show commands
info                              display mailbox/server metadata
listacl, lam, listaclmailbox      list ACLs on mailbox
listmailbox, lm                   list mailboxes
listquota, lq                     list quotas on specified root
listquotaroot, lqr, lqm           show quota roots and quotas for mailbox
mboxcfg, mboxconfig               configure mailbox
reconstruct                       reconstruct mailbox (if supported)
renamemailbox, rename, renm       rename (and optionally relocate) mailbox
server, servername, connect       show current server or connect to server
setaclmailbox, setacl, sam        set ACLs on mailbox
setinfo                           set server metadata
setquota, sq                      set quota on mailbox or resource
version, ver                      display version info of current server
xfermailbox, xfer                 transfer (relocate) a mailbox to a 
different server
server2.sub2.domain.com> listmailbox
user.test1111 (\HasNoChildren)   user.testmail (\HasNoChildren)




I tried the xfer again and got the same errors.
server1.sub1.domain.com> xfer user.vbperry server2.sub2.domain.com
xfermailbox: Server(s) unavailable to complete operation



couldn't authenticate to backend server: generic failure
Could not move mailbox: user.pbrown, Initial backend connect failed


Here is what my imapd.conf looks like:

defaultpartition: imap1
configdirectory: /var/imap
partition-imap1: /var/spool/imap1
admins: cyrus support
srvtab: /var/imap/srvtab
quotawarn: 85
popminpoll: 0
autocreatequota: 30000
sasl_pwcheck_method: saslauthd
lmtp_over_quota_perm_failure: 1
allowusermoves:yes
proxy_authname: cyrus
proxy_password: password
proxyservers: cyrus


thank you
Perry



>
>On Tue, 18 Apr 2006, Perry Brown wrote:
>
>>Hi Andy,
>>
>>Thank you for the suggestion. I added
>>
>>proxyservers: cyrus
>>
>>to the imapd.conf and restarted cyrus (the doc says it should not be an 
>>admin but I'm just trying to get things working right now)
>>
>>restarted and got the same error.
>>
>>
>>I think Patrick was on to something with running cyradm to the other host.
>>
>>In my testing I am launching cyradm from server3. It can connect to 
>>server1 and server2 with no problem. When I tried his suggestion of 
>>running cyradm from server1 to server2 I get:
>
>[snip]
>
>Does imtest work from server1 to server2?  Your cyradm output looked like 
>some sort of ssl library problem...
>
>	Andy




More information about the Info-cyrus mailing list