Re: Switch from /var/spool/imap/t/user/test to /var/spool/imap/user/test
> Hi list, Hi test :) > > On Mac OS X server, the user mailbox is stored as > /var/spool/imap/user/test, but on Federoa core 3, the user mailbox is > stored as /var/spool/imap/t/user/test, How I can switch > /var/spool/imap/t/user/test to /var/spool/imap/user/test on Fedora core > 3? Do I need to recompile cyrus-imapd on fedora core 3 or just change > some imap configuration in /etc/imapd.conf? Have a look at 'hashimapspool' option in /etc/imapd.conf. Of course you have to rehash your mailspool, check /usr/lib/cyrus-imapd/rehash for this. Simon > > Thanks in Advance > > --- > 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
Re: number only mailboxes
> > > Hello all, > > Is it possible to have number only mailboxes ? > Like user.202021 Patches exist to do that with older releases, current versions don't need a patch anymore. Simon > I can create the mailboxes, but when I try to access it with pop or imap > I get "invalid user " > > Any help would be appreciated > > Regards > > > > > Ing. Alexander Seitz > Technischer Leiter > mywave InternetdienstleistungsGmbH > Gruberstrasse 2 > A-4020 Linz > Tel: +43 732 90350 510 > Fax: +43 732 90350 511 > Mobil: +43 699 10903505 > > > > --- > 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
number only mailboxes
Hello all, Is it possible to have number only mailboxes ? Like user.202021 I can create the mailboxes, but when I try to access it with pop or imap I get "invalid user " Any help would be appreciated Regards Ing. Alexander Seitz Technischer Leiter mywave InternetdienstleistungsGmbH Gruberstrasse 2 A-4020 Linz Tel: +43 732 90350 510 Fax: +43 732 90350 511 Mobil: +43 699 10903505 --- 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
Unable to locate maildrop for irivera
Hi. I need to use POP3, and I setup cyrus-imapd, my imap.config is: configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd When I try to connect using outlook i receive this error message: Jun 7 17:36:44 dbs pop3[13433]: accepted connection Jun 7 17:36:44 dbs master[13439]: about to exec /usr/lib/cyrus-imapd/pop3d Jun 7 17:36:44 dbs pop3[13433]: login: [192.168.31.76] irivera plaintext User logged in Jun 7 17:36:44 dbs pop3[13439]: executed Jun 7 17:36:47 dbs pop3[13433]: Unable to locate maildrop for irivera Jun 7 17:36:47 dbs master[13355]: process 13433 exited, status 0 Can some body explain why this behavior Thanks for your time --- 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: Please help: Can auth but can't select
Hi Philip Thanks for the mail. One of my raid arrays was indeed having a problem but was used for nothing more than mp3 storage. I totaly discounted the idea that it might be responcable for Cyrus's problems but it was. If I bring the server up without that array mounted Cyrus works like it's old self again. Frankly I'm supprised that Cyrus had such a problem when none of the other apps on the server even seemed to notice. Thanks again for the push in the right direction. Nick --- Philip Edelbrock <[EMAIL PROTECTED]> wrote: > > Hi, I'm mostly a lurker and just receintly set up a > cyrus-imapd server. > > But, a few basic suggestions come to mind: Check > your harddrive(s) to > make sure they aren't failing (check dmesg, run > 'smartctl -a hdx', > etc.). When disks fail, they tend to get really, > really slow. > > Check to make sure you drives aren't full ('df'). > > Lastly, you might check to see if there's a specific > process slowing > things down (netstat, top, etc.). > > Good luck! > > > Phil > > Nick Fisher wrote: > > Hello! > > My Cyrus imapd installation suddenly slowed to a > crawl > > and stopped yesterday. As of now I can > authenticate > > (very quick and responsive) but I cannot do > anything > > after that. Very occasionally I can do a select > and > > retrieve a message but it take a *VERY* LONG time. > I > > have tested this with multiple clients and it's > > without a doubt a server problem. > > This is totally out of character for my Cyrus > install, > > it's always been very fast and stable. Nothing > much > > has changed on the server recently. Yesterday when > > this problem started I had a problem with a bunch > of > > unkillable processes (mostly rsync). I ended up > having > > to power cycle the machine and everything is back > to > > normal except Cyrus. > > I have combed through the Cyrus logs but I can't > find > > any errors, Cyrus appears to be perfectly happy. > > > > I am running Cyrus 2.2.12 on a gentoo system. > > I have no idea where to start troubleshooting this > > problem, mostly because I cant figure out what it > is. > > Any advice, pointers or links would be most > > appreciated. If there are any logs or additional > > information that would help, Im happy to supply > them. > > > > Many thanks > > > > Nick > > > > > > > > > > > ___ > > > How much free photo storage do you get? Store your > holiday > > snaps for FREE with Yahoo! Photos > http://uk.photos.yahoo.com > > --- > > 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 > > > ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com --- 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
inconsistent pre-checkpoint, bailing out/seen state lost error
Hi, One of my users is reporting his messages are not being marked as read when he reads them. I see this in the logs: Jun 7 15:17:05 bayes imap[24489]: db /var/lib/imap/user/x/xu.seen, inconsistent pre-checkpoint, bailing out Jun 7 15:17:05 bayes imap[24489]: DBERROR: error committing seen txn; seen state lost: cyrusdb error Is there an easy way to fix this db problem? Thanks. -- Gregory Harris Network Specialist Department of Mathematics The University of Kansas [EMAIL PROTECTED] (785) 864-7311 --- 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
Switch from /var/spool/imap/t/user/test to /var/spool/imap/user/test
Hi list, On Mac OS X server, the user mailbox is stored as /var/spool/imap/user/test, but on Federoa core 3, the user mailbox is stored as /var/spool/imap/t/user/test, How I can switch /var/spool/imap/t/user/test to /var/spool/imap/user/test on Fedora core 3? Do I need to recompile cyrus-imapd on fedora core 3 or just change some imap configuration in /etc/imapd.conf? Thanks in Advance --- 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
Please help: Can auth but can't select
Hello! My Cyrus imapd installation suddenly slowed to a crawl and stopped yesterday. As of now I can authenticate (very quick and responsive) but I cannot do anything after that. Very occasionally I can do a select and retrieve a message but it take a *VERY* LONG time. I have tested this with multiple clients and it's without a doubt a server problem. This is totally out of character for my Cyrus install, it's always been very fast and stable. Nothing much has changed on the server recently. Yesterday when this problem started I had a problem with a bunch of unkillable processes (mostly rsync). I ended up having to power cycle the machine and everything is back to normal except Cyrus. I have combed through the Cyrus logs but I can't find any errors, Cyrus appears to be perfectly happy. I am running Cyrus 2.2.12 on a gentoo system. I have no idea where to start troubleshooting this problem, mostly because I cant figure out what it is. Any advice, pointers or links would be most appreciated. If there are any logs or additional information that would help, Im happy to supply them. Many thanks Nick ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com --- 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: torture continues! Another install error with cyrus imap
The server does not crash now, logs show no errors that can crash the serve, but still having issues to login to the server, and as I have listed in my earlier message, getting maildrop folder error. --- 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: torture continues! Another install error with cyrus imap
- Original Message - From: "Marco Colombo" <[EMAIL PROTECTED]> > keep using those. I think postfix and cyrus may run at the same time > each with its own version of db4. All you have to do is to tell cyrus to > use the one in /usr/local. > Is libsasl using Berkeley DB? What version? http://asg.web.cmu.edu/cyrus/download/imapd/install-prereq.html "It is strongly recommended that libsasl be compiled with Berkeley DB support, using the same version of Berkeley DB. (If you have a Berkeley DB version mismatch, somewhat perplexing crashes result.)" --- 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: torture continues! Another install error with cyrus imap
Hi Imran, I just went through a complete recompile on a fresh OS (Solaris-9 in my case). I used NetBSD pkgsrc and can honestly say compiling and installing cyrus, sasl, berkeleydb and postfix was almost trivial. Pkgsrc is basically a complete package system that's built around a system of make files, everything compiles from source code, it works on about a dozen different platforms, including RH Linux. It automatically handles downloading, building and installation of dependencies. Everything gets installed into /usr/pkg hierarchy so no conflicts if you already have berkeleydb installed somewhere else. My first foray into using cyrus several years ago was by compiling everything by hand, it took weeks. With pkgsrc it took only two days to get a complete server up and running. Here's the link to NetBSD pkgsrc: http://www.netbsd.org/Documentation/software/packages.html You basically just download the latest pkgsrc.tar.gz (bottom right of the web page) and follow the included instructions to bootstrap it. I also added the following to /etc/mk.conf (described in the pkgsrc docs) to configure to auth through ldap: PKG_DEFAULT_OPTIONS=ldap sasl Basically, you can tweak the compile options for all the packages you're installing by modifying the mk.conf file before you compile. Hope that helps you... Cheers, Randy Imran Aziz wrote: Hello All, I have been trying for more then a week to get cyrus running, but somehow get one error or the other. The latest one was due to Berkley DB. so I uninstalled the RPM and installed the latest Berkly DB, but now when I try to compile cyrus imap I get this error checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for vprintf... yes checking for _doprnt... no checking authorization method... unix checking db.h usability... yes checking db.h presence... yes checking for db.h... yes configure: error: Berkeley DB 3.x or later was not found. You may need to supply the --with-bdb-libdir or --with-bdb-incdir configure options. Can anyone please guide me, it was compiling perfectly fine in the morning, but now it just gives me this error on running this configure command ./configure \ --with-sasl=/usr/local/lib \ --with-perl \ --with-auth=unix \ --with-dbdir=/usr/local/bdb \ --with-bdb-libdir=/usr/local/bdb/lib \ --with-bdb-incdir=/usr/local/bdb/include \ --with-openssl=/usr/local/ssl \ --without-ucdsnmp \ Can anyone please save my life, and sort this out. I promise I will never come into Unix territory and stay with easy installs of windows. Imran. --- 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
Re: torture continues! Another install error with cyrus imap
thank you very much for the wonderful link, would have been great if I got that few days earlier :) Anyway seems I have for all the servers running okay, but left with one final issue with the maildrop. When I try to login to the server using POP3 on telnet, I get a maildrop for the user not found. With web-cyradm I am unable to login, so might be some more issue with IMAP login. --- 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: ldap/imapd
On Tue, 7 Jun 2005, Dmitriy Kirhlarov wrote: Hi, list. I want use cyrus-imapd with ldap authentication. ldap-server not local. Many stories in the internet with using saslauthd and NOT using ldapS. What stories? saslauthd can use ldaps just fine. I not want use saslauthd and want use ldap-over-ssl. Are you saying you want to use auxprop rather than saslauthd or your only requirement is to use ldaps. Both auxprop and saslauthd can be configured to use ldaps. My system and packages: uname -rs && pkg_info -Ix cyrus FreeBSD 5.4-RELEASE-p1 cyrus-imapd-2.2.12 The cyrus mail server, supporting POP3 and IMAP4 protocols cyrus-sasl-2.1.20_1 RFC SASL (Simple Authentication and Security Layer) cyrus-sasl-ldapdb-2.1.21 SASL LDAPDB auxprop plugin my imapd.conf: admins: root cyrus khamits allowanonymouslogin: 1 configdirectory: /var/imap defaultdomain: clh.cluster partition-default: /var/spool/imap fulldirhash: 1 hashimapspool: 1 imapidresponse: 1 ldap_filter: (uid=%D) ldap_member_attribute: uid ldap_member_base: ou=users,o=higis ldap_member_method: filter ldap_restart: 1 ldap_uri: ldaps://clh.cluster/ sasl_pwcheck_method: auxprop sievedir: /var/imap/sieve sieveusehomedir: 1 servername: clh.cluster singleinstancestore: 1 tls_ca_file: /etc/ssl/CA/cacert.pem tls_cert_file: /etc/ssl/CA/certs/cyrus-imapd.crt tls_key_file: /etc/ssl/CA/ssl.key/cyrus-imapd.key You setup pts/ldap. You do not have any ldapdb related configuration. I suggest you learn more about sasl. See https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sasl/doc/options.html?rev=1.30&content-type=text/x-cvsweb-markup for ldapdb options. -Igor I install cmu-backend.conf as cyrus.conf When I run /usr/local/etc/rc.d/imapd.sh start I get this messages in the log: Jun 7 17:25:30 clh0 master[65028]: process started Jun 7 17:25:31 clh0 master[65032]: about to exec /usr/local/bin/ksrvtgt Jun 7 17:25:31 clh0 master[65032]: can't exec /usr/local/bin/ksrvtgt for startup: No such file or directory Jun 7 17:25:31 clh0 master[65028]: process 65032 exited, status 71 Jun 7 17:25:31 clh0 master[65033]: about to exec /usr/local/cyrus/bin/ctl_cyrusdb Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: recovering cyrus databases Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: done recovering cyrus databases Jun 7 17:25:31 clh0 master[65034]: about to exec /usr/local/cyrus/bin/ctl_mboxlist Jun 7 17:25:31 clh0 master[65028]: process 65034 exited, status 75 Jun 7 17:25:31 clh0 master[65028]: unable to create notifyd listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: unable to create lmtpunix listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: unable to create ptloader listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: ready for work Jun 7 17:25:31 clh0 master[65035]: about to exec /usr/local/bin/ksrvtgt Jun 7 17:25:31 clh0 master[65035]: can't exec /usr/local/bin/ksrvtgt on schedule: No such file or directory Where is error in my config? -- Igor --- 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: torture continues! Another install error with cyrus imap
Imran Aziz wrote: No its a brand new server, quite high spec also. did you compile Berkeley DB or used the RPM install that comes with Redhat ? Yes, I am using the standard RedHat release version. I have just uninstalled the Berkeley DB that I installed and using the RPM that comes with red hat and seems that the earlier errors are gone now get this output in the imapd.log Jun 7 16:36:03 lb01-s06 master[9707]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: recovering cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: done recovering cyrus databases Jun 7 16:36:03 lb01-s06 master[9705]: ready for work Jun 7 16:36:03 lb01-s06 master[9714]: about to exec /usr/cyrus/bin/tls_prune Jun 7 16:36:03 lb01-s06 master[9715]: about to exec /usr/cyrus/bin/ctl_deliver Jun 7 16:36:03 lb01-s06 master[9716]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/annotations.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/mailboxes.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: done checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 tls_prune[9714]: tls_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 master[9705]: process 9716 exited, status 0 Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: pruning back 3 days Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: expunged 0 out of 0 messages from 0 mailboxes Jun 7 16:36:03 lb01-s06 master[9705]: process 9714 exited, status 0 Jun 7 16:36:03 lb01-s06 master[9705]: process 9715 exited, status 0 I don't see any issues with the above logged output. It looks pretty normal to me. The master process is running right? --- 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: torture continues! Another install error with cyrus imap
yes finally it seems that the logs are clean, and I am able to telnet and see the IMAP, and POP servers, but on trying to login I get an error of -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist seems a missconfiguration in the maildrop folder somewhere, where and how to sort this ? Thank you so very much for helping me out with this. --- 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: torture continues! Another install error with cyrus imap
On Tue, 2005-06-07 at 15:32 +0100, Imran Aziz wrote: > Hello Marco I am going to adopt and try your suggestion. Going to > built everything again with a separate version of Berkeley DB at a > location like > > /usr/local/db4.2 > > and compile and link with the libraries in that specific folder. I am > useing 4.2 version because postfix docs say that latest version of > Berkeley DB is not supported or has problems so going to use an older > version. I don't get it... Are you compiling postfix as well? Please tell us what CPU the system is running on. Any modern system should not have any NPTL related problems... Anyway, I think you have to decide if: - you consider the system db4 broken on that host, then best thing to do is to replace the system one. On the thread you read on bugzilla, someone posted links to rpms that will replace entirely your db4. Remove the old rpms and install the ones without NPTL. That may break other applications, but we're assuming db4 is broken, aren't we? So _any_ application that uses it may break any time. - or you consider the system db4 broken _for cyrus only_, then rebuild only cyrus with the new db4 and let the rest of the system work with the old one. If you see no problems on the standard postfix with the standard db4, keep using those. I think postfix and cyrus may run at the same time each with its own version of db4. All you have to do is to tell cyrus to use the one in /usr/local. In the end of all this, I'd say that using a distribution that supports your hardware may be easier of course. B-) .TM. -- / / / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _/ _/ _/ [EMAIL PROTECTED] --- 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: torture continues! Another install error with cyrus imap
No its a brand new server, quite high spec also. did you compile Berkeley DB or used the RPM install that comes with Redhat ? I have just uninstalled the Berkeley DB that I installed and using the RPM that comes with red hat and seems that the earlier errors are gone now get this output in the imapd.log Jun 7 16:36:03 lb01-s06 master[9707]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: recovering cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9707]: done recovering cyrus databases Jun 7 16:36:03 lb01-s06 master[9705]: ready for work Jun 7 16:36:03 lb01-s06 master[9714]: about to exec /usr/cyrus/bin/tls_prune Jun 7 16:36:03 lb01-s06 master[9715]: about to exec /usr/cyrus/bin/ctl_deliver Jun 7 16:36:03 lb01-s06 master[9716]: about to exec /usr/cyrus/bin/ctl_cyrusdb Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/annotations.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving database file: /var/imap/mailboxes.db Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: archiving log file: /var/imap/db/log.01 Jun 7 16:36:03 lb01-s06 ctl_cyrusdb[9716]: done checkpointing cyrus databases Jun 7 16:36:03 lb01-s06 tls_prune[9714]: tls_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 master[9705]: process 9716 exited, status 0 Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: pruning back 3 days Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: duplicate_prune: purged 0 out of 0 entries Jun 7 16:36:03 lb01-s06 cyr_expire[9715]: expunged 0 out of 0 messages from 0 mailboxes Jun 7 16:36:03 lb01-s06 master[9705]: process 9714 exited, status 0 Jun 7 16:36:03 lb01-s06 master[9705]: process 9715 exited, status 0 The master process exists so surly its not a good indication, but the earlier errors are gone now, which suggested an issue with the Berkeley DB. --- 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: torture continues! Another install error with cyrus imap
Am Di, den 07.06.2005 schrieb Imran Aziz um 15:44: > Lars thank you for your response, I did use those RPMS and they > install okay, but get the same login issue, and errors in the log, in > addition the RPM does not use PAM as the authentication method, so > cannot use it since I need to integrate Cyrus IMAP with Postfix. Of course Cyrus-IMAPd packaged by Simon Matter in his RPM can be configured to use PAM. Of course as it is a runtime setting and not by compile time. Second, if you are really hit by the NPTL problem with BDB - I have some doubts as your hardware would be then very weak and not a good platform for Open-Xchange -, you then should use Simon's patch (available on his server too; see his remarks) and rpmbuild the RHEL BDB SRC.RPM with it. Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp Serendipity 16:19:27 up 14 days, 14:57, load average: 0.00, 0.05, 0.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: torture continues! Another install error with cyrus imap
Now the second issue is with the version of Berkely database on my system. I already have the RPM 4.1.25 installed on my system and I cannot uninstall it because it has dependencies on the system. So I tried to use ver 4.3.8 but had all sorts of issues with it. ON compiling with already installed RPM 4.1.25 I get errors related to the post here https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 Hi Imran, Are you using very old hardware? The reason I ask, is that I am also running on RedHat ES 3 and using the 4.1.25 Berkeley DB. I compiled from source and its running just fine with this version of Berkeley. I would think newer hardware would not be affected by the bug above. Just wondering if your compile woes/problems are stemming from something else. Rich --- 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: torture continues! Another install error with cyrus imap
Hello Marco I am going to adopt and try your suggestion. Going to built everything again with a separate version of Berkeley DB at a location like /usr/local/db4.2 and compile and link with the libraries in that specific folder. I am useing 4.2 version because postfix docs say that latest version of Berkeley DB is not supported or has problems so going to use an older version. --- 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: torture continues! Another install error with cyrus imap
On Tue, 2005-06-07 at 12:50 +0100, Imran Aziz wrote: > Hello Marco, > > Thanks a lot for sending a detailed email. The main reason that I am > not using an RPM is because I have Red Hat Linux 3 ES which > unfortunately does not comes with Cyrus RPMS. That answers the first > question of why I am doing this. Second I need to use postfix to > integrate with cyrus imap so I have to configure everything with PAM > for authentication , reasons being that I am going to use > Opengroupware to use Cyrus IMAP. I'm used to Fedora's cyrus RPM (which is of course a close cousin of RHL one), and it has pam. It's true that for the configuration part you have to do it alone, both for cyrus and for postfix. I use sendmail btw. > Now the second issue is with the version of Berkely database on my > system. I already have the RPM 4.1.25 installed on my system and I > cannot uninstall it because it has dependencies on the system. So I > tried to use ver 4.3.8 but had all sorts of issues with it. ON > compiling with already installed RPM 4.1.25 I get errors related to > the post here > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 > > which is the latest situation. > > So I cannot use the installed version of RPM on the system because it > will not work as redhat themselves state in the above post. Pardom me, but what CPU are you using? After a quick reading, it seems that the problem is in the i386 glibc packages in the end (sorry there is too much Fedora/RedHat mixing in the threads to follow correctly all the issues at a first glance). All CPUs excluding i386 should be NPTL- enabled by now? Am I missing something? The comment from RedHat is: And what I'm saying -- to make it perfectly clear -- is that this bug will be closed WONTFIX because no Red Hat platform is non-NPTL. Are you running RHL3ES on a non-NPTL platform? I'm asking only to gain a better comprehension of the problem. Anyway, this is drifting off-topic, since it seems a bug with the CPU/kernel/glib/db4 combo that does not depend on cyrus at all (other applications linking db4 are effected as well). > And accordingly to my little knowledge of linux if I try to upgrade > this RPM I am not sure if the other dependent packages like Apache > will crash, so now I don't know what to do. The issue surly is > Berkeley DB now, but should I try to install and upgrade on the > current RPM or should I install a second version of Berkley DB on an > alternate location and try to compile everything with it. Oh I see your problem now. The problem is that even if you compile cyrus with the db4 installed in /usr/local (which I assume you compliled with NPTL disabled), that's not enough. You have to _run_ it with with same db4. Remember that (very likely) you're using db4 as shared libraries, and by default it will look for shared object (.so files) in the system directories first and will find a different version (see some previous message of yours). And even if the version is the same, they still are the wrong libraries (those with NPTL enabled). You need to tell your cyrus executable where to find the right .so. I'm not _that_ expert of the cyrus build process to give you the definitive answer here (I used to maintain my own rpms, but that was 2 years ago). In general, you can do either at compile time (or better link time) with a bunch of compiler options, or at run time with the LD_LIBRARY_PATH environment variable (everytime you run cyrus). Try: # export LD_LIBRARY_PATH=/usr/local/bdb/lib or wherever you installed the libdb-4.x.so files, before running your cyrus imapd. It that works, maybe someone else on the list will provide you with the right flags to get your rpath correctly set. As a wild guess, try and do: $ export LD_RUN_PATH=/usr/local/bdb/lib (same path as above, it that worked) before compliling cyrus. I've seen you added --with-sasl=/usr/local/lib to your ./configure flags. Have you build sasl as well? Why? .TM. -- / / / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _/ _/ _/ [EMAIL PROTECTED] --- 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: torture continues! Another install error with cyrus imap
Lars thank you for your response, I did use those RPMS and they install okay, but get the same login issue, and errors in the log, in addition the RPM does not use PAM as the authentication method, so cannot use it since I need to integrate Cyrus IMAP with Postfix. --- 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: torture continues! Another install error with cyrus imap
> Hello Marco, > > Thanks a lot for sending a detailed email. The main reason that I am > not using an RPM is because I have Red Hat Linux 3 ES which > unfortunately does not comes with Cyrus RPMS. That answers the first > question of why I am doing this. Second I need to use postfix to > integrate with cyrus imap so I have to configure everything with PAM > for authentication , reasons being that I am going to use > Opengroupware to use Cyrus IMAP. Hi! Do you know of this option: Simon Matters excellent RPMS available at: http://www.invoca.ch/pub/packages/cyrus-imapd/ download the source rpm, then run: rpmbuild --rebuild --target i686 cyrus-imapd-*.src.rpm Do not know if it will solve your problem, but maybe you want to try rpm rebuild. -- Hilsen from Lars > > Now the second issue is with the version of Berkely database on my > system. I already have the RPM 4.1.25 installed on my system and I > cannot uninstall it because it has dependencies on the system. So I > tried to use ver 4.3.8 but had all sorts of issues with it. ON > compiling with already installed RPM 4.1.25 I get errors related to > the post here > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 > > which is the latest situation. > > So I cannot use the installed version of RPM on the system because it > will not work as redhat themselves state in the above post. > > And accordingly to my little knowledge of linux if I try to upgrade > this RPM I am not sure if the other dependent packages like Apache > will crash, so now I don't know what to do. The issue surly is > Berkeley DB now, but should I try to install and upgrade on the > current RPM or should I install a second version of Berkley DB on an > alternate location and try to compile everything with it. > > Any suggestions please, before I go into the daily drill of compiling > all cyrus imapd dependencies. > > Imran > > --- > 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
Re: torture continues! Another install error with cyrus imap
> Hello Marco, > > Thanks a lot for sending a detailed email. The main reason that I am not using an RPM is because I have Red Hat Linux 3 ES which > unfortunately does not comes with Cyrus RPMS. That answers the first question of why I am doing this. Second I need to use postfix to integrate with cyrus imap so I have to configure everything with PAM for authentication , reasons being that I am going to use > Opengroupware to use Cyrus IMAP. Hi! Do you know of this option: Simon Matters excellent RPMS available at: http://www.invoca.ch/pub/packages/cyrus-imapd/ download the source rpm, then run: rpmbuild --rebuild --target i686 cyrus-imapd-*.src.rpm Do not know if it will solve your problem, but maybe you want to try rpm rebuild. -- Hilsen from Lars > > Now the second issue is with the version of Berkely database on my system. I already have the RPM 4.1.25 installed on my system and I cannot uninstall it because it has dependencies on the system. So I tried to use ver 4.3.8 but had all sorts of issues with it. ON > compiling with already installed RPM 4.1.25 I get errors related to the post here > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 > > which is the latest situation. > > So I cannot use the installed version of RPM on the system because it will not work as redhat themselves state in the above post. > > And accordingly to my little knowledge of linux if I try to upgrade this RPM I am not sure if the other dependent packages like Apache will crash, so now I don't know what to do. The issue surly is > Berkeley DB now, but should I try to install and upgrade on the > current RPM or should I install a second version of Berkley DB on an alternate location and try to compile everything with it. > > Any suggestions please, before I go into the daily drill of compiling all cyrus imapd dependencies. > > Imran > > --- > 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
ldap/imapd
Hi, list. I want use cyrus-imapd with ldap authentication. ldap-server not local. Many stories in the internet with using saslauthd and NOT using ldapS. I not want use saslauthd and want use ldap-over-ssl. My system and packages: uname -rs && pkg_info -Ix cyrus FreeBSD 5.4-RELEASE-p1 cyrus-imapd-2.2.12 The cyrus mail server, supporting POP3 and IMAP4 protocols cyrus-sasl-2.1.20_1 RFC SASL (Simple Authentication and Security Layer) cyrus-sasl-ldapdb-2.1.21 SASL LDAPDB auxprop plugin my imapd.conf: admins: root cyrus khamits allowanonymouslogin: 1 configdirectory: /var/imap defaultdomain: clh.cluster partition-default: /var/spool/imap fulldirhash: 1 hashimapspool: 1 imapidresponse: 1 ldap_filter: (uid=%D) ldap_member_attribute: uid ldap_member_base: ou=users,o=higis ldap_member_method: filter ldap_restart: 1 ldap_uri: ldaps://clh.cluster/ sasl_pwcheck_method: auxprop sievedir: /var/imap/sieve sieveusehomedir: 1 servername: clh.cluster singleinstancestore: 1 tls_ca_file: /etc/ssl/CA/cacert.pem tls_cert_file: /etc/ssl/CA/certs/cyrus-imapd.crt tls_key_file: /etc/ssl/CA/ssl.key/cyrus-imapd.key I install cmu-backend.conf as cyrus.conf When I run /usr/local/etc/rc.d/imapd.sh start I get this messages in the log: Jun 7 17:25:30 clh0 master[65028]: process started Jun 7 17:25:31 clh0 master[65032]: about to exec /usr/local/bin/ksrvtgt Jun 7 17:25:31 clh0 master[65032]: can't exec /usr/local/bin/ksrvtgt for startup: No such file or directory Jun 7 17:25:31 clh0 master[65028]: process 65032 exited, status 71 Jun 7 17:25:31 clh0 master[65033]: about to exec /usr/local/cyrus/bin/ctl_cyrusdb Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: recovering cyrus databases Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds Jun 7 17:25:31 clh0 ctl_cyrusdb[65033]: done recovering cyrus databases Jun 7 17:25:31 clh0 master[65034]: about to exec /usr/local/cyrus/bin/ctl_mboxlist Jun 7 17:25:31 clh0 master[65028]: process 65034 exited, status 75 Jun 7 17:25:31 clh0 master[65028]: unable to create notifyd listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: unable to create lmtpunix listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: unable to create ptloader listener socket: No such file or directory Jun 7 17:25:31 clh0 master[65028]: ready for work Jun 7 17:25:31 clh0 master[65035]: about to exec /usr/local/bin/ksrvtgt Jun 7 17:25:31 clh0 master[65035]: can't exec /usr/local/bin/ksrvtgt on schedule: No such file or directory Where is error in my config? -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 095 105 7245 F:+7 095 105 7246 E:[EMAIL PROTECTED] OILspace - The resource enriched - www.oilspace.com --- 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: torture continues! Another install error with cyrus imap
Hello Marco, Thanks a lot for sending a detailed email. The main reason that I am not using an RPM is because I have Red Hat Linux 3 ES which unfortunately does not comes with Cyrus RPMS. That answers the first question of why I am doing this. Second I need to use postfix to integrate with cyrus imap so I have to configure everything with PAM for authentication , reasons being that I am going to use Opengroupware to use Cyrus IMAP. Now the second issue is with the version of Berkely database on my system. I already have the RPM 4.1.25 installed on my system and I cannot uninstall it because it has dependencies on the system. So I tried to use ver 4.3.8 but had all sorts of issues with it. ON compiling with already installed RPM 4.1.25 I get errors related to the post here https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0 which is the latest situation. So I cannot use the installed version of RPM on the system because it will not work as redhat themselves state in the above post. And accordingly to my little knowledge of linux if I try to upgrade this RPM I am not sure if the other dependent packages like Apache will crash, so now I don't know what to do. The issue surly is Berkeley DB now, but should I try to install and upgrade on the current RPM or should I install a second version of Berkley DB on an alternate location and try to compile everything with it. Any suggestions please, before I go into the daily drill of compiling all cyrus imapd dependencies. Imran --- 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: torture continues! Another install error with cyrus imap
On Mon, 2005-06-06 at 17:53 +0100, Imran Aziz wrote: > Can anyone please save my life, and sort this out. I promise I will > never come into Unix territory and stay with easy installs of windows. Since it seems you're using a RPM-based system, why don't you install the cyrus binary rpms? On Fedora Core (and on many other distributions) installing cyrus-imapd is much easier than any other Windows add-on package, since it's already on the DVD/CD and you don't even need to download or compile it. Just choose the right option at install time, or install later with rpm -i. Of course, the Fedora cyrus rpm is made to work with the rest of Fedora rpms. If you replaced some of them with third party rpms, you may run into problems. If you like binary installs, why are you trying building from source? Unexperienced users and building a large piece of software from source don't go together well, on _any_ system. I really doubt that compiling and building a package under Windows is much easier, especially one offering the broad variety of configuration options of cyrus. To be fair, you should compare apples with apples. Anyway, I've read you mail with Subject: incorrect version of Berkeley db error. How happened that cyrus was compiled with a different version of BDB? It takes having two versions installed on the same system, compiling against one and running using the other one. Why? I've had look at your former messages. I may be missing something, but don't get why you're not using the system libraries and are compiling against stuff in /usr/local in the first place. On your very first mail for example, I see: --with-bdb-libdir=/usr/local/BerkeleyDB.4.3/lib. Why are you using /usr/local/BerkeleyDB.4.3? If you're building all libraries as well, no wonder this is going to be a pain, you're making your own Linux distribution, building it from sources, and resolving dependencies along the way! I still strongly advice for using a binary rpm made for your distribution. If you really want to build from sources, try and stick using your system libraries as close as possible. Unfortunately, it seems you already installed a lot of stuff, you should now pay attention to what is found in /usr/local and what in /usr. If you run a ./configure without giving any explict path (i.e., no --with-bdb-libdir, no --with-bdb-incdir, no --with-sasl, and so on), what happens? Does it find the right things in /usr/lib and /usr/include? .TM. -- / / / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _/ _/ _/ [EMAIL PROTECTED] --- 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