problems whith sieve filters in cyrus murder

Discussion in 'Installation/Configuration' started by cyradm, Jun 8, 2013.

  1. cyradm

    cyradm New Member

    I am prospecting the Cyrus Murder with 1 frontend, 1 mupdate and 2 backends, the environment is almost all in full operation, I already create, alter, delete, and modify the mailboxes by the frontend, I have tested it with ThunderBird (worked OK ) and a Webmail called open exchange5, it's ok too, but I'm having a trouble with the Sieve (sieve is a scripting language that Webmail openexchange uses to create filters with the mailboxes in cyrus), openxchange webmail has an option to direct requests from the sieve to a cyrus server where the mailboxes are stored, my test was to create an account on the backend, eg "carlos.veiga", to point the Sieve requests of Webmail to the Frontend of cyrus murder, the frontend failed to pass the request to the respective backend where the mailbox "carlos.veiga" is stored, when I point the sieve requests directly to the backend where my mailbox is stored, the filters are created with no problem.

    when i try to connect to the frontend by using sievsell commande ,

    i recived this message :

    > sieveshell -a carlos.veiga -u carlos.veiga localhost
    > Please enter your password: xxxxxxx
    > list
    > Please enter your password: xxxxxxx
    Erreure de segmentation
    when i do the same command to tne backend server

    > sieveshell -a login -u carlos.veiga cyrus1-backend
    > Please enter your password: xxxxxxx
    > list
    > sieve-test.script <- active


    i w'll be very graceful if somebody can help me to resolve this problem

    - i used cyrus-map version 2.2.12
    this is my cyrus's config files ( for frontend server)

    ----------- imap.conf ---------------------
    configdirectory: /var/lib/imap
    partition-default: /var/spool/imap
    admins: cyrus mailadmin murder
    sievedir: /var/lib/imap/sieve
    sendmail: /usr/sbin/sendmail
    hashimapspool: true
    sasl_pwcheck_method: saslauthd
    sasl_mech_list: PLAIN
    allowpalintext: yes
    sasl_minimum_layer: 0
    tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
    tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
    tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
    unixhierarchysep: yes
    proxyd_disable_mailbox_referrals: 1
    sieve_allowreferrals: 0
    allowusermoves: 1
    sieveusehomedir: false
    mupdate_server: mupdate.mydomain.tld
    mupdate_port: 3905
    mupdate_authname: murder
    mupdate_username: murder
    mupdate_password: testpw
    mupdate_retry_delay: 10
    cyrus1_password: testpw
    cyrus2_password: testpw
    proxy_authname: murder

    -------------- cyrus.conf ---------------------
    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/lib/imap/sockets
    # add or remove based on preferences
    imap cmd="proxyd" listen="imap" prefork=5
    # imaps cmd="imapd -s" listen="imaps" prefork=1
    # pop3 cmd="pop3d" listen="pop3" prefork=3
    # pop3s cmd="pop3d -s" listen="pop3s" prefork=1
    sieve cmd="timsieved" listen="sieve" prefork=0
    mupdate cmd="mupdate" listen="mupdate" prefork=1
    fud cmd="/usr/lib/cyrus-imapd/fud" proto="udp" listen="4201" prefork=0 maxchild=10
    # these are only necessary if receiving/exporting usenet via NNTP
    # nntp cmd="nntpd" listen="nntp" prefork=3
    # nntps cmd="nntpd -s" listen="nntps" prefork=1

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

    # this is only necessary if using notifications
    # notify cmd="notifyd" listen="/var/lib/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

    thank you

Share This Page