BUG in senn status of the INBOX?

From: Michael Menge (no email)
Date: Fri Feb 17 2006 - 10:17:58 EST

  • Next message: Scott Russell: "reconstruct error IOERROR: locking cache"

    Hi,

    I think i have spottet a BUG in the seen status of the INBOX.

    I was testing migrating User from UW-IMAP to Cyrus 2.3.1 with mailutil.

    mailutil copy -merge append \
    "{UW_IMAP/user=test1/ssl/novalidate-cert}INBOX" \
    "{Cyrus/user=test1/ssl/novalidate-cert}INBOX"

    the Seen status from the copied Mails is lost, all other Flags seam to
    be right.

    if a mark one of these eMails with my eMail-Client (Thunderbird), close
    my eMail-Client and copy the INBOX again with

    mailutil copy -merge append \
    "{UW_IMAP/user=test1/ssl/novalidate-cert}INBOX" \
    "{Cyrus/user=test1/ssl/novalidate-cert}INBOX"

    the new eMails keep there Seen Flag.

    copying to subfolders makes no trouble.

    i have a pached version of mailutil which accepts the option
    "-merge append" in copy mode, but copying mails with Thunderbird shows
    the same effect

    cu

            Michael

    ------ diff -c mailutil.c mailutil.c_old -----
    *** mailutil.c Thu Feb 16 17:20:48 2006
    --- mailutil.c_old Thu Feb 16 17:20:12 2006
    ***************
    *** 223,229 ****
             ret = 0;
         }
         else if ((i = !strcmp (cmd,"move")) || !strcmp (cmd,"copy")) {
    ! if (!src || !dst )
             printf ("usage: %s %s [-debug] [-verbose] source
    destination\n",pgm,cmd);
           else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL :
    OP_READONLY) |
                                      (debugp ? OP_DEBUG : NIL))) {
    --- 223,229 ----
             ret = 0;
         }
         else if ((i = !strcmp (cmd,"move")) || !strcmp (cmd,"copy")) {
    ! if (!src || !dst || merge)
             printf ("usage: %s %s [-debug] [-verbose] source
    destination\n",pgm,cmd);
           else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL :
    OP_READONLY) |
                                      (debugp ? OP_DEBUG : NIL))) {

    ----- /etc/imapd.conf -----
    configdirectory: /var/lib/imap
    partition-default: /var/spool/imap
    sievedir: /var/lib/sieve
    sieve_extensions: fileinto reject vacation imapflags notify include \
    envelope body relational regex subaddress copy
    admins: cyrus
    allowanonymouslogin: no
    autocreatequota: 10000
    reject8bit: no
    quotawarn: 90
    timeout: 30
    poptimeout: 10
    dracinterval: 0
    drachost: localhost
    sasl_pwcheck_method: saslauthd
    lmtp_overquota_perm_failure: no
    altnamespace: 1
    #
    # if you want TLS, you have to generate certificates and keys
    #
    tls_cert_file: /var/imap/server.pem
    tls_key_file: /var/imap/server.pem
    #tls_ca_file: /etc/ssl/ca-cert.pem

    ----- /etc/cyrusd.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/lib/imap/socket
    SERVICES {
       # add or remove based on preferences
       imap cmd="imapd" listen="imap" prefork=0
       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

       # at least one LMTP is required for delivery
    # lmtp cmd="lmtpd" listen="lmtp" prefork=0
       lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp"
    prefork=1

       # this is only necessary if using notifications
    # notify cmd="notifyd" listen="/var/lib/imap/socket/notify"
    proto="udp" p
    refork=1
    }

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

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

       # this is only necessary if caching TLS sessions
       tl # Uncomment the next entry, if you want to automatically remove
       # old messages of EVERY user.
       # This example calls ipurge every 60 minutes and ipurge will delete
       # ALL messages older then 30 days.
       # enter 'man 8 ipurge' for more details

       # cleanup cmd="ipurge -d 30 -f" period=60
    }
    sprune cmd="tls_prune" at=0400

    --------------------------------------------------------------------------------
    M.Menge Tel.: (49) 7071/29-70316
    Universitaet Tuebingen Fax.: (49) 7071/29-5912
    Zentrum fuer Datenverarbeitung mail:
    Waechterstrasse 76
    72074 Tuebingen



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


  • Next message: Scott Russell: "reconstruct error IOERROR: locking cache"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD