I have successfully compiled cyrus 2.3.1 and upgrade two servers from 2.1.6. By themselves they run fine. I've tried to configure replication with a 'master' and 'replica' server. The 'replica' seems to work, sync_server runs, if I telnet the replica on the csync port I get:
* SASL DIGEST-MD5
* OK replica Cyrus sync server v2.3.1
 
 but the 'master' client doesn't seem to work. It always dies with 'invalid' argument' in the log, tried also to run it with su from the command line, same result..
 
this is the MASTER imapd.conf
 
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: root user
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN DIGEST-MD5
unixhierarchysep: yes
username_tolower: yes
annotations_db: skiplist
mboxlist_db: skiplist
ptscache_db: skiplist
quota_db: skiplist
subscription_db: skiplist
seenstate_db: flat
sync_host: replica.xxxx.xxx
sync_authname: user
sync_password: xxxxxxxxx
sync_log: 0
 
this is the MASTER cyrus.conf

# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  #  idled              cmd="idled"


  syncclient cmd="/usr/cyrus/bin/sync_client -r"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=0

  pop3          cmd="pop3d" listen="pop3" prefork=0

  # LMTP is required for delivery
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

}

EVENTS {
[...]
}

 
 
 
- this the REPLICA imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: root user
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN DIGEST-MD5
unixhierarchysep: yes
username_tolower: yes
annotations_db: skiplist
mboxlist_db: skiplist
ptscache_db: skiplist
quota_db: skiplist
seenstate_db: flat
subscription_db: skiplist
 
with this cyrus.conf

# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0

  # LMTP is required for delivery
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
syncserver       cmd="/usr/cyrus/bin/sync_server" listen="csync"
}

EVENTS {
[..]
}

 
 
 
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to