master / slave replication (sync_server / sync_client)

From: Martin Schweizer (no email)
Date: Wed Oct 04 2006 - 06:02:23 EDT

  • Next message: Andy Fiddaman: "Re: master / slave replication (sync_server / sync_client)"

    Hello

    I use cyrus imapd 2.3.7 and have to servers 192.168.10.6 and
    192.168.20.3. The subnet is separated by a firewall (port 2005/tcp is
    open for both sites). I see no action anywhere (also not in the log).
    What do I wrong?

    Regards,
    Martin

    Here the configuration:

    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"
    }

    # UNIX sockets start with a slash and are put into /var/imap/socket
    SERVICES {
      # add or remove based on preferences
      imap cmd="imapd" listen="imap" prefork=0 provide_uuid=1
    # imaps cmd="imapd -s" listen="imaps" prefork=0
      pop3 cmd="pop3d" listen="pop3" prefork=0
    # pop3s cmd="pop3d -s" listen="pop3s" prefork=0
      sieve cmd="timsieved" listen="sieve" prefork=0
      syncserver cmd="/usr/local/cyrus/bin/sync_server" listen="csync"
    # syncclient cmd="/usr/local/cyrus/bin/sync_client -r"

      # these are only necessary if receiving/exporting usenet via NNTP
    # nntp cmd="nntpd" listen="nntp" prefork=0
    # nntps cmd="nntpd -s" listen="nntps" prefork=0

      # at least one LMTP is required for delivery
      lmtp cmd="lmtpd" listen="lmtp" prefork=0
      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
    }

    EVENTS {
      # this is required
      checkpoint cmd="ctl_cyrusdb -c" period=30

    EVENTS {
      # this is required
      checkpoint cmd="ctl_cyrusdb -c" period=30

      # this is only necessary if using duplicate delivery suppression,
      # Sieve or NNTP
      delprune cmd="cyr_expire -E 3" at=0400

      # this is only necessary if caching TLS sessions
      tlsprune cmd="tls_prune" at=0400

      # SQUAT
      squatter cmd="squatter -r user" period=1440

    imapd.conf:
    configdirectory: /var/imap
    partition-default: /var/spool/imap
    admins:root cyrus
    sasl_pwcheck_method: auxprop
    sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
    sasl_sasldb_path: /usr/local/etc/sasldb2
    lmtpsocket:/var/imap/socket/lmtp
    sync_host: 192.168.10.6
    sync_authname: martin
    sync_passwort: martin
    sync_machineid: 1
    sync_log: 0
    sync_repeat_interval: 100

    Client
    *******
    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/socket
    SERVICES {
      # add or remove based on preferences
      imap cmd="imapd" listen="imap" prefork=0 provide_uuid=2
    # imaps cmd="imapd -s" listen="imaps" prefork=0
      pop3 cmd="pop3d" listen="pop3" prefork=0
    # pop3s cmd="pop3d -s" listen="pop3s" prefork=0
      sieve cmd="timsieved" listen="sieve" prefork=0
    # syncserver cmd="/usr/local/cyrus/bin/sync_server" listen="csync"
      syncclient cmd="/usr/local/cyrus/bin/sync_client -r" listen="csync"
      # these are only necessary if receiving/exporting usenet via NNTP
    # nntp cmd="nntpd" listen="nntp" prefork=0
    # nntps cmd="nntpd -s" listen="nntps" prefork=0

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

      # this is required if using notifications
    # notify cmd="notifyd" listen="/var/imap/socket/notify"
    proto="udp" prefork=1
    }

    EVENTS {
      # this is required
      checkpoint cmd="ctl_cyrusdb -c" period=30

      # this is only necessary if using duplicate delivery suppression,
      # Sieve or NNTP
      delprune cmd="cyr_expire -E 3" at=0400

      # this is only necessary if caching TLS sessions
      tlsprune cmd="tls_prune" at=0400

      # SQUAT
      squatter cmd="squatter -r user" period=1440

    imapd.conf:

    # The pathname of the IMAP configuration directory
    #
    # configdirectory: /var/imap

    configdirectory: /usr/imap/var/imap

    # The partition name used by default for new mailboxes
    #
    #defaultpartition: default

    # The directory for the different partitions
    #
    #partition-default: /var/spool/imap

    partition-default: /usr/imap/var/spool/imap

    admins:root cyrus
    sasl_pwcheck_method: auxprop
    sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
    # sasl_sasldb_path: /usr/local/etc/sasldb2.db
    lmtpsocket: /usr/imap/var/imap/socket/lmtp
    # /var/imap/socket/lmtp

    sync_machineid: 2
    sync_repeat_interval: 100

    -- 
    Martin Schweizer
    Fax: +1 619 3300587
    Tel.: +1 619 3300597 (VoIP)
    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Andy Fiddaman: "Re: master / slave replication (sync_server / sync_client)"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD