Help with xfermailbox

Dan White dwhite at olp.net
Fri Nov 16 15:53:51 EST 2007


I'm experiencing errors when attempting to transfer a mailbox 
from one backend to another in a murder environment.

This is my first try, so this could be due to misconfiguration.

I have three servers in my setup:

kaled.olp.net - MUPDATE master and frontend
gandalf.olp.net - backend #1
neo.olp.net - backend #2

When I issue the command "xfermailbox user/9183641498 
neo.olp.net" from gandalf, I receive the error:

gandalf.olp.net> xfer user/9183641498 neo.olp.net
xfermailbox: The remote Server(s) denied the operation

And in neo's (destination backend) logs, I see:
Nov 16 14:16:18 neo cyrus/imap[6183]: accepted connection
Nov 16 14:16:19 neo cyrus/imap[6183]: login: gandalf.olp.net 
[65.161.252.87] cyrus-gandalf.olp.net GSSAPI User logged in
Nov 16 14:16:19 neo cyrus/imap[6183]: kick_mupdate: can't connect 
to target: No such file or directory

Sometimes I also get (in addition to the No such file or 
directory error):

Nov 16 13:44:57 neo cyrus/imap[6171]: decoding error: generic 
failure; SASL(-1): generic failure: , closing connection

The relevant portion of the code that generates this error 
appears to be in mupdate-client.c:

     strlcpy(buf, config_dir, sizeof(buf));
     strlcat(buf, FNAME_MUPDATE_TARGET_SOCK, sizeof(buf));
     memset((char *)&srvaddr, 0, sizeof(srvaddr));
     srvaddr.sun_family = AF_UNIX;
     strcpy(srvaddr.sun_path, buf);
     len = sizeof(srvaddr.sun_family) + strlen(srvaddr.sun_path) + 1;

     r = connect(s, (struct sockaddr *)&srvaddr, len);
     if (r == -1) {
         syslog(LOG_ERR, "kick_mupdate: can't connect to target: 
%m");
         goto done;
     }

FNAME_MUPDATE_TARGET_SOCK is defined in mupdate-client.h as:
#define FNAME_MUPDATE_TARGET_SOCK "/socket/mupdate.target"

I can't find any sockets named mupdate.target on neo (my 
destination backend).

Relevant configurations can be found at:
http://support.olp.net/cyrus/kaled-imapd.conf
http://support.olp.net/cyrus/kaled-cyrus.conf
http://support.olp.net/cyrus/gandalf-imapd.conf
http://support.olp.net/cyrus/gandalf-cyrus.conf
http://support.olp.net/cyrus/neo-imapd.conf
http://support.olp.net/cyrus/neo-cyrus.conf

I'm running 2.3.10, with several Debian patches.

Thanks for any help,
-- 
Dan White <dwhite at olp.net>
BTC Broadband


More information about the Info-cyrus mailing list