Re: moving mailboxes between 2 cyrus servers without murder
Here is the relevent portion of doc/install-murder.html: Additionally, you will need entries in imapd.conf to indicate the proxy auth name and passwords (if you are using a SASL mechanism that requires them) to the backends, for example, if your backends are mail1.andrew.cmu.edu and mail2.andrew.cmu.edu with passwords of foo and bar, and an auth name of murder: mail1_password: foo mail2_password: bar proxy_authname: murder Hi, thanks for the reply. I've tried with that, but it keeps saying Feb 5 18:04:06 boromir imap[7564]: couldn't authenticate to backend server: no mechanism available Feb 5 18:04:06 boromir imap[7564]: Could not move mailbox: user.schmitz, Initial backend connect failed on the destination side, I have : Feb 5 18:04:06 faramir imap[25510]: accepted connection On both side, I have : allowusermoves: yes boromir_password: faramir_password: proxy_authname: toto where toto is in "admins", and is the same on both server. Am I missing something ? is there another clean way to transfer my mailboxes ? Thanks. 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
moving mailboxes between 2 cyrus servers without murder
Hi, I have a lot of mailboxes that I want to move from one cyrus server to another. I have allowusermoves: yes in my imapd.conf, but when I try under cyradm : 130.66.240.30> xfer user.schmitz 130.66.240.31 I get : xfermailbox: Server(s) unavailable to complete operation And in the log : Feb 3 12:23:47 boromir imap[6910]: couldn't authenticate to backend server: no mechanism available Feb 3 12:23:47 boromir imap[6910]: Could not move mailbox: user.schmitz, Initial backend connect failed What can I do to "authenticate to backend server" in a non murder environment ? Thanks in advance. -- Nicolas Schmitz Centre de Ressources Informatiques Ecole Centrale de Nantes 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 http://www.ec-nantes.fr 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
Re: Mailbox access control with ldap for group
You can also use pts/ldap for groups. That's correct. I was assuming that he's using Unix groups and LDAP groups at the same time. For authentication this works fine with PAM, above solution does the same for groups. Is a mixed environment possible with pts/ldap? Simon Thanks for the reply. For now I use saslauthd with ldap for evertyhing except groups. If it is possible, I'd like to leave nsswitch (and any system file) intact, and use only cyrus config file + ldap : - I like the separation between the system and cyrus for authentication. - The posix group is not very adapted with our use of mailbox sharing. Where can I find more information about "pts/ldap" ? I have seen http://www.irbs.net/internet/info-cyrus/0407/0144.html, is it stable now ? How can I use it ? I use the debian sarge version of sasl and cyrus-imap 2.2.12 from source. Thanks again. Nicolas Schmitz --- 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
Mailbox access control with ldap for group
Hello, I already use| setaclmailbox with an Unix group as "id". But I'd like to do the same with an ldap group. Is'it possible ? I didn't find anything on google. Thanks. Nicolas Schmitz | --- 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
Re: checkpointing failed on production server
Hello again, 24h after the crash, the checkpointing was ok again ... I didn't do anything, and the dberror disappeared between 2 checkpointing ... ? log entry at 15h18 : Oct 13 15:18:30 faramir master[2022]: about to exec /usr/cyrus/bin/ctl_cyrusdb Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: checkpointing cyrus databases Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving database file: /user/varimap/annotations.db Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/3160504 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving log file: /user/varimap/db/log.01 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving database file: /user/varimap/mailboxes.db Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/3160504 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving log file: /user/varimap/db/log.01 Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: done checkpointing cyrus databases log entry at 15h48 : Oct 13 15:48:30 faramir master[5143]: about to exec /usr/cyrus/bin/ctl_cyrusdb Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: checkpointing cyrus databases Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving database file: /user/varimap/annotations.db Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving log file: /user/varimap/db/log.01 Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving database file: /user/varimap/mailboxes.db Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving log file: /user/varimap/db/log.01 Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: done checkpointing cyrus databases How can I be sure that all is good ? Thanks in advance. Nicolas Schmitz Ecole Centrale de Nantes www.ec-nantes.fr Nicolas Schmitz wrote: I forgot to mention that I use cyrus-2.2.3 from source and Berkeley 4.2.52 with the 2 patchs. Nicolas Schmitz wrote: Hi, after a crash and an fsck on the data disk, I moved the content of the db directory and run /usr/cyrus/bin/ctl_cyrusdb -r as user cyrus. I also used /usr/cyrus/bin/reconstruct. Now, cyrus start ok, and people can use imap/pop again (ouf !). But the checkpointing failed : Oct 13 10:48:30 faramir master[5434]: about to exec /usr/cyrus/bin/ctl_cyrusdb Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: checkpointing cyrus databases Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/annotations.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: /user/varimap/db/log.01 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/mailboxes.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another env
Re: checkpointing failed on production server
I forgot to mention that I use cyrus-2.2.3 from source and Berkeley 4.2.52 with the 2 patchs. Nicolas Schmitz wrote: Hi, after a crash and an fsck on the data disk, I moved the content of the db directory and run /usr/cyrus/bin/ctl_cyrusdb -r as user cyrus. I also used /usr/cyrus/bin/reconstruct. Now, cyrus start ok, and people can use imap/pop again (ouf !). But the checkpointing failed : Oct 13 10:48:30 faramir master[5434]: about to exec /usr/cyrus/bin/ctl_cyrusdb Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: checkpointing cyrus databases Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/annotations.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: /user/varimap/db/log.01 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/mailboxes.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: /user/varimap/db/log.01 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: done checkpointing cyrus databases What can I do to make checkpointing working again ? Thanks in advance. Nicolas Schmitz Ecole Centrale de Nantes www.ec-nantes.fr --- 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 --- 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
checkpointing failed on production server
Hi, after a crash and an fsck on the data disk, I moved the content of the db directory and run /usr/cyrus/bin/ctl_cyrusdb -r as user cyrus. I also used /usr/cyrus/bin/reconstruct. Now, cyrus start ok, and people can use imap/pop again (ouf !). But the checkpointing failed : Oct 13 10:48:30 faramir master[5434]: about to exec /usr/cyrus/bin/ctl_cyrusdb Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: checkpointing cyrus databases Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/annotations.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: /user/varimap/db/log.01 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving database file: /user/varimap/mailboxes.db Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: /user/varimap/tls_sessions.db: unable to flush page: 0 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't checkpoint: Invalid argument Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync /user/varimap/db: cyrusdb error Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: /user/varimap/db/log.01 Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: done checkpointing cyrus databases What can I do to make checkpointing working again ? Thanks in advance. Nicolas Schmitz Ecole Centrale de Nantes www.ec-nantes.fr --- 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
reconstruct Bus error on cyrus 2.2.3
Hello everyone, after a problem on a hard drive, I have some trouble with one mailbox : when I try to "reconstruct" this mailbox (all the others are fine) , reconstruct answer "Bus error". Do you know what can I do ? Thanks. -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
strange behaviour of quota with one user
Hello, one of my user, who use 700Meg on the server, has a strange problem : when I increase his quota (over 4,2gig), Mozilla display the quota warn popup (saying 85% is used) whereas if I display the property of a folder, the value is correct (15%) (the value is also correct with /usr/cyrus/bin/quota.) If the quota is under 4,2Gig, no quota warn popup, and value is correct. Nothing similar with other account. I use cyrus-imapd-2.2.3 Thanks for your help. -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
Re: sieve reject go into cyrus mailbox instead of sender adress
ec-nantes.fr ([127.0.0.1]) by localhost (salsabis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15651-01; Wed, 16 Jun 2004 15:13:44 +0200 (CEST) Received: from mailbackup (mailbackup.ec-nantes.fr [80.67.170.11]) by salsabis.ec-nantes.fr (Postfix) with SMTP id 90392B50 for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 15:13:37 +0200 (CEST) Received: from n23.grp.scd.yahoo.com (n23.grp.scd.yahoo.com [66.218.66.79]) by mailbackup (Postfix) with SMTP id 646708D800D for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 15:13:36 +0200 (CEST) X-eGroups-Return: [EMAIL PROTECTED] Received: from [66.218.66.27] by n23.grp.scd.yahoo.com with NNFMP; 16 Jun 2004 13:13:35 - X-Sender: [EMAIL PROTECTED] X-Apparently-To: [EMAIL PROTECTED] Received: (qmail 14743 invoked from network); 16 Jun 2004 13:13:34 - Received: from unknown (66.218.66.218) by m21.grp.scd.yahoo.com with QMQP; 16 Jun 2004 13:13:34 - Received: from unknown (HELO delay-2m.club-internet.fr) (194.158.104.47) by mta3.grp.scd.yahoo.com with SMTP; 16 Jun 2004 13:13:34 - Received: from relay-6m.club-internet.fr (relay-6m.cs.clubint.net [172.16.20.32]) by delay-2m.club-internet.fr (Postfix) with ESMTP id 56AF63BF8FC for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 14:57:41 +0200 (CEST) Received: from fransoua (l09m-14-149.d2.club-internet.fr [212.194.101.149]) by relay-6m.club-internet.fr (Postfix) with SMTP id F01EA25614 for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 14:54:40 +0200 (CEST) To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> X-mailer: Foxmail 5.0 [-fr-] Message-Id: <[EMAIL PROTECTED]> X-eGroups-Remote-IP: 194.158.104.47 From: "flacour" <[EMAIL PROTECTED]> MIME-Version: 1.0 Mailing-List: list [EMAIL PROTECTED]; contact [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Precedence: bulk List-Unsubscribe: <mailto:[EMAIL PROTECTED]> Date: Wed, 16 Jun 2004 14:55:42 +0100 Subject: Re: [salles_info]Ciel Reply-To: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: base64 X-Virus-Scanned: by amavisd-new at ec-nantes.fr X-CentraleNantes-MailScanner-Information: Please contact the ISP for more information X-CentraleNantes-MailScanner: Found to be clean X-MailScanner-From: [EMAIL PROTECTED] Qm9uam91ciwNCkonYWkgcmVuY29udHLpIGNlIHByb2Js6G1lLCBhdmVjIGxlcyBwcm9wb3Np dGlvbnMgZGUgbGEgbGlzdGUsIGonYWkgb3B06SBwb3VyIGxhIHNvbHV0aW9uIGRlIG1vZGlm aWNhdGlvbiBkZXMgZHJvaXRzIHN1ciBsZXMgculwZXJ0b2lyZXMgQ2llbCBjZSBxdWkgbWFy Y2hlIHRy6HMgYmllbi4NCkV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p ZWwpLg0KPk1lcmNpIHBvdXIgdm9zIHLpcG9uc2VzDQo+c2VyZ2UgY3J1eg0KPkx5Y+llIGRl cyBpbGVzDQo+TGlmb3UNCj5Ob3V2ZWxsZSBDYWzpZG9uaWUNCj4NCj4NCj4NCj4NCj4gDQo+ TGllbnMgWWFob28hIEdyb3VwZXMNCj4NCj4NCj4NCj4gDQo+DQoKCiAKTGllbnMgWWFob28h IEdyb3VwZXMKCjwqPiBQb3VyIGNvbnN1bHRlciB2b3RyZSBncm91cGUgZW4gbGlnbmUsIGFj Y+lkZXog4CA6CiAgICAgaHR0cDovL2ZyLmdyb3Vwcy55YWhvby5jb20vZ3JvdXAvc2FsbGVz X2luZm8vCgo8Kj4gUG91ciB2b3VzIGTpc2luY3JpcmUgZGUgY2UgZ3JvdXBlLCBlbnZveWV6 IHVuIG1haWwg4CA6CiAgICAgc2FsbGVzX2luZm8tZGVzYWJvbm5lbWVudEB5YWhvb2dyb3Vw ZXMuZnIKCjwqPiBMJ3V0aWxpc2F0aW9uIGRlIFlhaG9vISBHcm91cGVzIGVzdCBzb3VtaXNl IOAgbCdhY2NlcHRhdGlvbiBkZXMgOgogICAgIGh0dHA6Ly9mci5kb2NzLnlhaG9vLmNvbS9p bmZvL3V0b3MuaHRtbAogCg== --6575/boromir.ec-nantes.fr-- -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
sieve reject go into cyrus mailbox instead of sender adress
66.27] by n23.grp.scd.yahoo.com with NNFMP; 16 Jun 2004 13:13:35 - X-Sender: [EMAIL PROTECTED] X-Apparently-To: [EMAIL PROTECTED] Received: (qmail 14743 invoked from network); 16 Jun 2004 13:13:34 - Received: from unknown (66.218.66.218) by m21.grp.scd.yahoo.com with QMQP; 16 Jun 2004 13:13:34 - Received: from unknown (HELO delay-2m.club-internet.fr) (194.158.104.47) by mta3.grp.scd.yahoo.com with SMTP; 16 Jun 2004 13:13:34 - Received: from relay-6m.club-internet.fr (relay-6m.cs.clubint.net [172.16.20.32]) by delay-2m.club-internet.fr (Postfix) with ESMTP id 56AF63BF8FC for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 14:57:41 +0200 (CEST) Received: from fransoua (l09m-14-149.d2.club-internet.fr [212.194.101.149]) by relay-6m.club-internet.fr (Postfix) with SMTP id F01EA25614 for <[EMAIL PROTECTED]>; Wed, 16 Jun 2004 14:54:40 +0200 (CEST) To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> X-mailer: Foxmail 5.0 [-fr-] Message-Id: <[EMAIL PROTECTED]> X-eGroups-Remote-IP: 194.158.104.47 From: "flacour" <[EMAIL PROTECTED]> MIME-Version: 1.0 Mailing-List: list [EMAIL PROTECTED]; contact [EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Precedence: bulk List-Unsubscribe: <mailto:[EMAIL PROTECTED]> Date: Wed, 16 Jun 2004 14:55:42 +0100 Subject: Re: [salles_info]Ciel Reply-To: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: base64 X-Virus-Scanned: by amavisd-new at ec-nantes.fr X-CentraleNantes-MailScanner-Information: Please contact the ISP for more information X-CentraleNantes-MailScanner: Found to be clean X-MailScanner-From: [EMAIL PROTECTED] Qm9uam91ciwNCkonYWkgcmVuY29udHLpIGNlIHByb2Js6G1lLCBhdmVjIGxlcyBwcm9wb3Np dGlvbnMgZGUgbGEgbGlzdGUsIGonYWkgb3B06SBwb3VyIGxhIHNvbHV0aW9uIGRlIG1vZGlm aWNhdGlvbiBkZXMgZHJvaXRzIHN1ciBsZXMgculwZXJ0b2lyZXMgQ2llbCBjZSBxdWkgbWFy Y2hlIHRy6HMgYmllb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w0KPkNp ZWwpLg0KPk1lcmNpIHBvdXIgdm9zIHLpcG9uc2VzDQo+c2VyZ2UgY3J1eg0KPkx5Y+llIGRl cyBpbGVzDQo+TGlmb3UNCj5Ob3V2ZWxsZSBDYWzpZG9uaWUNCj4NCj4NCj4NCj4NCj4gDQo+ TGllbnMgWWFob28hIEdyb3VwZXMNCj4NCj4NCj4NCj4gDQo+DQoKCiAKTGllbnMgWWFob28h IEdyb3VwZXMKCjwqPiBQb3VyIGNvbnN1bHRlciB2b3RyZSBncm91cGUgZW4gbGlnbmUsIGFj Y+lkZXog4CA6CiAgICAgaHR0cDovL2ZyLmdyb3Vwcy55YWhvby5jb20vZ3JvdXAvc2FsbGVz X2luZm8vCgo8Kj4gUG91ciB2b3VzIGTpc2luY3JpcmUgZGUgY2UgZ3JvdXBlLCBlbnZveWV6 IHVuIG1haWwg4CA6CiAgICAgc2FsbGVzX2luZm8tZGVzYWJvbm5lbWVudEB5YWhvb2dyb3Vw ZXMuZnIKCjwqPiBMJ3V0aWxpc2F0aW9uIGRlIFlhaG9vISBHcm91cGVzIGVzdCBzb3VtaXNl IOAgbCdhY2NlcHRhdGlvbiBkZXMgOgogICAgIGh0dHA6Ly9mci5kb2NzLnlhaG9vLmNvbS9p bmZvL3V0b3MuaHRtbAogCg== --6575/boromir.ec-nantes.fr-- -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
Re: Unread / new message indicators not displayed automatically?
Hello, this is a client behaviour : by default the client only check for new message in the inbox folder. But you can tell him to check new message in the other folders : in thunderbird, display the properties of the folder "folder1" (right clic - properties), and activate "Check this folder for new messages" Ralph Seichter wrote: Hi, I am having some trouble with unread / new message flags. As I have not found something in the mailing list archives or the Cyrus IMAP Wiki, I thought it best to ask here. Here's an example mailbox setup for user "john": user.john (\HasChildren) user.john.Drafts (\HasNoChildren) user.john.Sent (\HasNoChildren) user.john.Trash (\HasNoChildren) user.john.folder1 (\HasNoChildren) user.john.folder2 (\HasNoChildren) I'm using a Sieve script to file incoming mail into folders: if header :contains "List-Id" "foo-list" { fileinto "INBOX.folder1"; } elsif header :contains "List-Id" "bar-list" { fileinto "INBOX.folder2"; } Cyrus IMAP files e-mail into the folders I specified, but the IMAP clients do not show an indicator for new/unread messages in the folders until the user manually selects the folder. I've tried this using Mozilla Thunderbird 0.6 and Mulberry 3.x, the results are the same. If no Sieve rule matches and the message is thus, by an implicit "keep" action, filed in the INBOX (user.john), unread indicators are displayed without prior user interaction. Is this behaviour caused by Cyrus IMAP / Sieve or by the clients? What can I do to have the "there are {n} new messages in this folder" indicators be displayed automatically? -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
missing header "received" in imap client
Hello, I have a strange behaviour here, on cyrus-imapd-2.2.3. Everything is working fine, but when I look at the headers of a mail in my mailbox, I don't see all the headers "received" I'm used to. For example, in the last cyrus-info mail : "Re: newbie question", I only see 2 received : from boromir from tyrion... whereas if I look at the source of the mail (on the server), I see : Received: from salsa.ec-nantes.fr (salsa.ec-nantes.fr [130.66.33.3]) Received: from localhost (salsa [127.0.0.1]) Received: from salsa.ec-nantes.fr ([127.0.0.1]) Received: from lists2.andrew.cmu.edu (LISTS2.andrew.cmu.edu Received: (from [EMAIL PROTECTED]) Received: from smtp-out.rrz.uni-koeln.de (smtp-out.rrz.uni-koeln.de Received: from smtp.uni-koeln.de (lvr6.rrz.uni-koeln.de [134.95.19.104]) Received: from tyrion.rrz.uni-koeln.de (tyrion.rrz.Uni-Koeln.DE Is there a way to see all the headers "Received" when I'm using an imap client ? Thanks, -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
Re: Sivtest authentication failed generic failure
Hello, This tests saslauthd only. You need to use sample client and server ($cyrus-sasl-src/sample) to test sasl lib. here is the output : SERVER : pc-schmitz-vm:/appli/distrib/cyrus-sasl-2.1.18/sample# ./server -s ldap trying 10, 1, 6 socket: Address family not supported by protocol trying 2, 1, 6 CLIENT : pc-schmitz-vm:/appli/distrib/cyrus-sasl-2.1.18/sample# ./client -s ldap localhost receiving capability list... recv: {0} starting SASL negotiation: no mechanism available SASL(-4): no mechanism available: No worthy mechs found closing connection and on the server side : accepted new connection send: {0} client didn't choose mechanism closing connection It I do : ./client -s ldap -m ldap localhost, I get : receiving capability list... recv: {0} server doesn't offer mandatory mech 'ldap' closing connection I don't know how tu use sample client/server... Maybe it's not the correct argument ? I don't understand why sasl works great with cyrus-imap, and not with sieve... Here is my imapd.conf : sasl_pwcheck_method: saslauthd allowanonymouslogin: no allowplaintext: yes sasl_mech_list: ldap And /etc/saslauthd.conf : ldap_servers: ldap://127.0.0.1 ldap_bind_dn: cn=XX,dc=ec-nantes,dc=fr ldap_password: XX ldap_search_base: ou=people,dc=ec-nantes,dc=fr ldap_scope: one Thank you very much for your help. Nicolas Schmitz Thank you again. I repost my compile option : CYRUS-SASL : export CPPFLAGS=-I/appli/BerkeleyDB/include export LDFLAGS=-L/appli/BerkeleyDB/lib/ ./configure \ --prefix=/appli/cyrus-sasl \ --with-ldap=/appli/openldap/ \ --enable-anon \ --enable-plain \ --disable-krb4 \ --disable-otp \ --disable-cram \ --disable-digest \ --with-saslauthd=/var/run/saslauthd \ --with-dblib=berkeley \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include \ --with-openssl=/usr/include/openssl/ \ --with-plugindir=/appli/cyrus-sasl/lib/sasl2 make make install mkdir -p /var/run/saslauthd cd saslauthd make testsaslauthd cp testsaslauthd /usr/local/bin echo /appli/cyrus-sasl/lib/sasl2 >> /etc/ld.so.conf This is not neccessary. sasl2 plugins are used by the sasl lib only. echo /appli/cyrus-sasl/lib/ >> /etc/ld.so.conf ln -s /appli/cyrus-sasl/lib/sasl2 /usr/lib/sasl2 ln -s /appli/cyrus-sasl/lib/libsasl2.so.2.0.18 /usr/lib/libsasl2.so.2 ldconfig CYRUS-IMAPD : cd cyrus-imapd export CPPFLAGS="-I/usr/include/et" ./configure \ --prefix=/appli/cyrus-imapd \ --exec-prefix=/appli/cyrus-imapd \ --with-sasl=/appli/cyrus-sasl \ --with-perl=/usr/bin/perl \ --with-auth=unix \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include/ \ --with-openssl=/usr/include/openssl/ make depend make make install -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
Re: Sivtest authentication failed generic failure
Thank you for your quick answer. I've tried to add --with-plugindir=/appli/cyrus-sasl/lib/sasl2 to my .configure, but the problem is the same... I have also tried to recompile cyrus-imap, with no result. I think sasl works ok because I can do : pc-schmitz-vm:~# /usr/local/bin/testsaslauthd -u schmitz -p X 0: OK "Success." pc-schmitz-vm:~# Thank you again. I repost my compile option : CYRUS-SASL : export CPPFLAGS=-I/appli/BerkeleyDB/include export LDFLAGS=-L/appli/BerkeleyDB/lib/ ./configure \ --prefix=/appli/cyrus-sasl \ --with-ldap=/appli/openldap/ \ --enable-anon \ --enable-plain \ --disable-krb4 \ --disable-otp \ --disable-cram \ --disable-digest \ --with-saslauthd=/var/run/saslauthd \ --with-dblib=berkeley \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include \ --with-openssl=/usr/include/openssl/ \ --with-plugindir=/appli/cyrus-sasl/lib/sasl2 make make install mkdir -p /var/run/saslauthd cd saslauthd make testsaslauthd cp testsaslauthd /usr/local/bin echo /appli/cyrus-sasl/lib/sasl2 >> /etc/ld.so.conf echo /appli/cyrus-sasl/lib/ >> /etc/ld.so.conf ln -s /appli/cyrus-sasl/lib/sasl2 /usr/lib/sasl2 ln -s /appli/cyrus-sasl/lib/libsasl2.so.2.0.18 /usr/lib/libsasl2.so.2 ldconfig CYRUS-IMAPD : cd cyrus-imapd export CPPFLAGS="-I/usr/include/et" ./configure \ --prefix=/appli/cyrus-imapd \ --exec-prefix=/appli/cyrus-imapd \ --with-sasl=/appli/cyrus-sasl \ --with-perl=/usr/bin/perl \ --with-auth=unix \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include/ \ --with-openssl=/usr/include/openssl/ make depend make make install -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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
Sivtest authentication failed generic failure
Hello, I'm having trouble to authenticate with sivtest... Imap/pop are OK, they use sasl (mech: ldap). I use cyrus-sasl 2.1.18 and cyrus-imap 2.2.3 on a debian woody. Can anybody help ? I'm really confused, everything works fine, except sieve... Here is the output : pc-schmitz-vm:~# /appli/cyrus-imapd/bin/sivtest -a schmitz localhost S: "IMPLEMENTATION" "Cyrus timsieved v2.2.3" S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" S: "STARTTLS" S: OK Authentication failed. generic failure Security strength factor: 0 And the log entry : May 10 16:41:33 pc-schmitz-vm master[26778]: about to exec /usr/cyrus/bin/timsieved May 10 16:41:33 pc-schmitz-vm sievelocal[26778]: executed May 10 16:41:33 pc-schmitz-vm sievelocal[26778]: accepted connection May 10 16:41:53 pc-schmitz-vm master[26646]: process 26778 exited, status 0 Nothing in slapd.log : sivtest doesn't query ldap... Whereas imtest works great : pc-schmitz-vm:/appli/distrib# /appli/cyrus-imapd/bin/imtest -a schmitz localhost S: * OK pc-schmitz-vm.ec-nantes.fr Cyrus IMAP4 v2.2.3 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS S: C01 OK Completed Please enter your password: C: L01 LOGIN schmitz {12} S: + go ahead C: S: L01 OK User logged in Authenticated. Security strength factor: 0 Here are my compile option : CYRUS-SASL export CPPFLAGS=-I/appli/BerkeleyDB/include export LDFLAGS=-L/appli/BerkeleyDB/lib/ <>./configure \ --prefix=/appli/cyrus-sasl \ --with-ldap=/appli/openldap/ \ --enable-anon \ --enable-plain \ --enable-login \ --disable-krb4 \ --disable-otp \ --disable-cram \ --disable-digest \ --with-saslauthd=/var/run/saslauthd \ --with-dblib=berkeley \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include \ --with-openssl=/usr/include/openssl/ CYRUS-IMAPD : export CPPFLAGS="-I/usr/include/et" <>./configure \ --prefix=/appli/cyrus-imapd \ --exec-prefix=/appli/cyrus-imapd \ --with-sasl=/appli/cyrus-sasl/ \ --with-perl=/usr/bin/perl \ --with-auth=unix \ --with-bdb-libdir=/appli/BerkeleyDB/lib/ \ --with-bdb-incdir=/appli/BerkeleyDB/include/ \ --with-openssl=/usr/include/openssl/ -- Nicolas Schmitz Centre de Ressources Informatiques| tel : 02 40 37 68 06 Ecole Centrale de Nantes | fax : 02 40 37 25 78 1 rue de la Noe - BP 92101 44321 NANTES CEDEX 03 --- 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