Please help, Perl Module problem.
I have searched and searched but have not fond the answer to my problems. My server is a Sun Ultra 5 running latest Solaris 9 + Marches patches. First problem is when I run cyradm I get the message : Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .). BEGIN failed--compilation aborted. I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Second problem is that I cannot test the imap server as I get this error returned from the command : /opt/cyrus/bin/imtest -m login -a USER WARNING: no hostname supplied, assuming localhost failure: SASL initialization And in the log : auth.log : Apr 15 11:35:03 lowestoft.adastral.ucl.ac.uk lmtpunix[790]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imtest[791]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imtest[791]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imtest[792]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imtest[792]: [ID 702911 auth.notice] Bad IPLOCALPORT value Has anyone seen these problems before ? Many Thanks, Neil. --- 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: [cyr]deliver, executed as user, should have user's permissions
-Original Message- Trying to do mail filtering to cyrus imapd using procmail instead of sieve. I'm putting | [cyr]deliver -m blah-folder into my ~/.procmailrc, instead of the global /etc/procmailrc; this fails: couldn't connect to lmtpd: Permission denied_ procmail: Program failure (75) of /usr/sbin/cyrdeliver ) I suspect this is because [cyr]deliver is executed as my user, instead of root.mail - as it should be, or any command could be run as root from ~/.procmailrc How do others get around this? It occurred to me to make [cyr]deliver suid ... The problem I then see is that any user could deliver to any other user's mailbox - circumventing filtering, etc. Fundamentally, what I'd like is to authenticate to [cyr]deliver such that those users permitted to post to a mailbox (and root) could deliver messages to it ... Is this possible, or provably a bad idea? Thanks, Jack - I had some problems like this with mail from non-root users. It turned out one of the directories in the path to the lmtp socket wasn't set r-x for world which caused delivery to fail with permission denied when the user attempting delivery wasn't root Dave --- 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, Perl Module problem.
On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Did you install cyrus imap from a precompiled package? It should be installed into the perl tree if you compile it yourself. Alternatively set the perl include path (no idea how) or use an utility like graft (see freshmeat) to symbolically link it there, that's what I do. (I did compile everything myself, though, including perl.) No idea about the .la problem. MfG, Ulrich -- Heinz Ulrich Stille / Tel.: +49-541-9400463 / Fax: +49-541-9400450 design_d gmbh / Lortzingstr. 2 / 49074 Osnabrück / www.design-d.de --- 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, Perl Module problem.
Thanks for that, I have now recompiled SASL and imap in the default location, it seems the PREFIX is set in the Perl makefile for imap, and thus it loads in the Cyrus tree instead of the Perl tree. My recompile used default locations and now all is installed where I think it should be. How ever it still does not work. Executing the cyradm command now produces this error: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol db_strerror: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. Compilation failed in require. BEGIN failed--compilation aborted. I am still getting this error in the auth.log when I attempt to test the imap server : Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Anybody any clues ? Thanks Neil. On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Did you install cyrus imap from a precompiled package? It should be installed into the perl tree if you compile it yourself. Alternatively set the perl include path (no idea how) or use an utility like graft (see freshmeat) to symbolically link it there, that's what I do. (I did compile everything myself, though, including perl.) No idea about the .la problem. MfG, Ulrich --- 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, Perl Module problem.
Some further information : Cyrus was configured with : ./configure --with-openssl=/usr/local/ssl --with-libwrap=/usr/local --with-sasl=/usr/local I had to move the sasl header files into the imap source tree under sasl/ otherwise it complained they were not present. The configure complained about com_err : configure: WARNING: Parts of com_err distribuion were found, but not compile_et. configure: WARNING: Will build com_err from included sources. During the compile I only received this error : Note (probably harmless): No library found for -ldb-4.1 SASL was configured with : ./configure --with-openssl=/usr/local/ssl --with-libwrap=/usr/local There were no complaints whilst building SASL. On Thu, 2004-04-15 at 14:54, Neil Marjoram X 663711 wrote: Thanks for that, I have now recompiled SASL and imap in the default location, it seems the PREFIX is set in the Perl makefile for imap, and thus it loads in the Cyrus tree instead of the Perl tree. My recompile used default locations and now all is installed where I think it should be. How ever it still does not work. Executing the cyradm command now produces this error: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol db_strerror: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. Compilation failed in require. BEGIN failed--compilation aborted. I am still getting this error in the auth.log when I attempt to test the imap server : Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Anybody any clues ? Thanks Neil. On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Did you install cyrus imap from a precompiled package? It should be installed into the perl tree if you compile it yourself. Alternatively set the perl include path (no idea how) or use an utility like graft (see freshmeat) to symbolically link it there, that's what I do. (I did compile everything myself, though, including perl.) No idea about the .la problem. MfG, Ulrich --- 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: Please help, Perl Module problem.
Neil, open the files in question and modify the four real lines of the script so that you have -I/install/location/lib to where the perl modules are. This has been an ongoing bug that is indecently easy to fix, but Rob won't accept any patches on it. He evidently thinks that installing modules into the sitewide perl installation is the right idea. I believe that it's plain wrong, and want to use the libraries from the cyrus installation. It's a two-line patch, but nobody will accept it. On Thu, Apr 15, 2004 at 02:54:27PM +0100, Neil Marjoram X 663711 wrote: Thanks for that, I have now recompiled SASL and imap in the default location, it seems the PREFIX is set in the Perl makefile for imap, and thus it loads in the Cyrus tree instead of the Perl tree. My recompile used default locations and now all is installed where I think it should be. How ever it still does not work. Executing the cyradm command now produces this error: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol db_strerror: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. Compilation failed in require. BEGIN failed--compilation aborted. I am still getting this error in the auth.log when I attempt to test the imap server : Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Anybody any clues ? Thanks Neil. On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Did you install cyrus imap from a precompiled package? It should be installed into the perl tree if you compile it yourself. Alternatively set the perl include path (no idea how) or use an utility like graft (see freshmeat) to symbolically link it there, that's what I do. (I did compile everything myself, though, including perl.) No idea about the .la problem. MfG, Ulrich --- 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 -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- 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 logging, /var/log/imapd.log
Since upgrading Cyrus imapd to 2.2.3, there have been no entries in /var/log/imapd.log. I did a little Googling, and learned that syslog is actually doing the logging. syslog is running, the ps command shows: root 1565 1 0 Apr10 ?00:21:33 syslogd -m 0 In /etc/syslog.conf, I have the following pertinent lines: mail.* /var/log/maillog local6.debug/var/log/imapd.log /var/log/imapd.conf is rw for root, the same as the other log files. I can't find any errors related to syslog in /var/log/messages. I tried removing the empty file, and restarting syslog. This creates a new imapd.log file, but nothing gets written to it. If I comment out the local6.debug line, then the imap log entries get logged to /var/log/maillog/ This is OK, but I'd rather have a separate logfile for imap. What am I doing wrong? Doug Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. --- 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: Cyrus logging, /var/log/imapd.log
I've just had something similar, it was down to spacing in the syslogd.conf file, it really didn't like spaces - needed to be tabs. I think this is due to the file be parsed by m4. Neil. On Thu, 2004-04-15 at 16:04, Doug Koobs wrote: Since upgrading Cyrus imapd to 2.2.3, there have been no entries in /var/log/imapd.log. I did a little Googling, and learned that syslog is actually doing the logging. syslog is running, the ps command shows: root 1565 1 0 Apr10 ?00:21:33 syslogd -m 0 In /etc/syslog.conf, I have the following pertinent lines: mail.*/var/log/maillog local6.debug /var/log/imapd.log /var/log/imapd.conf is rw for root, the same as the other log files. I can't find any errors related to syslog in /var/log/messages. I tried removing the empty file, and restarting syslog. This creates a new imapd.log file, but nothing gets written to it. If I comment out the local6.debug line, then the imap log entries get logged to /var/log/maillog/ This is OK, but I'd rather have a separate logfile for imap. What am I doing wrong? Doug Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. --- 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: Getting error Mailbox has an invalid format
Rob, Kinda yes and kinda no. Since the transition is from an old ESYS commercial version, there are no cyrus.* files anyway -- they changed them to fdb.* and I have no idea whether the file has a similar format or not. So the problem occur when no cyrus.* files. I also added an empty cyrus.header file without success. But when I straight over copied a cyrus.header file from a folder that would reconstruct properly, then the problem went away. I should be able to bang out a quick perl program to creat cyrus.header files for every folder. I went through a number of folders that have a valid format and looked at the cyrus.header files to get an idea of what I need to do, and I have a question about the layout. The file begins with 3 bytes of binary data that appear to be a constant followed by several lines of ASCII text that appears also to be constant. The next line, however, appears to be a string of 16 hex digits (printed in ASCII) and that is not constant. How do I derive the value, or does it matter what I put in there? The next line is blank, and the next line appears to be the ACLs from the mailboxes db. Am I missing anything in that description, and what's the scoop on the variable 16 digit hex string? Thanks, Rob --On Wednesday, April 14, 2004 12:17:31 PM -0400 Rob Siemborski [EMAIL PROTECTED] wrote: On Tue, 13 Apr 2004, Rob Tanner wrote: What exactly are the things that the software checks to decide that the mailbox has an invalid format? I've exhausted my ideas. You should be able to move the cyrus.* files out of the way and run reconstruct on the mailbox. Those are the only things that affect mailbox format Of course, this threatens you to lose flags. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper Rob Tanner Linfield College McMinnville, Oregon --- 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: Cyrus logging, /var/log/imapd.log
Hi, I'm using 2.2.3 and had no trouble with syslogd, I use local6.* instead of local6.debug. By the way local0 through local7 are made available by syslog to applications wishing to have a separate log file (man syslog.conf should tell you more). If local6.* doesn't change anything you should try to restart syslogd using /etc/init.d/syslog restart. Hope this help. françois I've just had something similar, it was down to spacing in the syslogd.conf file, it really didn't like spaces - needed to be tabs. I think this is due to the file be parsed by m4. Neil. Thanks Neil, The local6.debug line was not using tabs, just a space, so I rewrote the line using tabs to make it look the same as all the other lines. I uncommented the line and restarted syslog, but still no entries in imapd.log... BTW, what exactly does local.6 mean? How/where is it defined as log output from cyrus impad? Doug Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. --- 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
murder problems (mupdate getting lost between frontends and mupdate master)
Our murder started to act a little strange some days ago: Apr 15 13:17:43 frontend1 mupdate[21845]: successful mupdate connection to master Apr 15 13:17:43 frontend1 mupdate[21845]: unready for connections Apr 15 13:17:43 frontend1 mupdate[21845]: synchronizing mailbox list with master mupdate server Apr 15 13:17:58 frontend1 mupdate[21845]: retrying connection to mupdate server in 22 seconds Apr 15 13:18:20 frontend1 mupdate[21845]: successful mupdate connection to master Apr 15 13:18:20 frontend1 mupdate[21845]: unready for connections Apr 15 13:18:20 frontend1 mupdate[21845]: synchronizing mailbox list with master mupdate server Apr 15 13:18:43 frontend1 mupdate[21845]: retrying connection to mupdate server in 27 seconds Apr 15 13:19:10 frontend1 mupdate[21845]: successful mupdate connection to master Apr 15 13:19:10 frontend1 mupdate[21845]: unready for connections Apr 15 13:19:10 frontend1 mupdate[21845]: synchronizing mailbox list with master mupdate server and so on. the mupdate slave in frontends is looping in connecting, syncing, loose connection, connect, sync, loose, and so on. Someone already saw this pattern? we are using cyrus 2.2.3 with skiplist mailboxes.db. -- Sergio Devojno Bruder[EMAIL PROTECTED] http://haxent.com.br 41 362-5930, 41 9127-6620 --- 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: Cyrus logging, /var/log/imapd.log
Hi, I'm using 2.2.3 and had no trouble with syslogd, I use local6.* instead of local6.debug. By the way local0 through local7 are made available by syslog to applications wishing to have a separate log file (man syslog.conf should tell you more). If local6.* doesn't change anything you should try to restart syslogd using /etc/init.d/syslog restart. Hope this help. françois Francois, Thanks for the tip. I changed the lcal6.debug to local.* and restarted syslog, but still nothing got written to imapd.log. I read the man page for syslog, and it explains what the localx entries are for, but not where they are defined. Anyone know where it is determined that local6 is logging for cyrus? Doug Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. --- 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: Cyrus logging, /var/log/imapd.log
Since upgrading Cyrus imapd to 2.2.3, there have been no entries in Logging has changed in 2.2. The logging facility can now be configured at compile time and at least my rpms do it with '--with-syslogfacility=MAIL'. That said you may have a closer look at how your cyrus got compiled. Simon /var/log/imapd.log. I did a little Googling, and learned that syslog is actually doing the logging. syslog is running, the ps command shows: root 1565 1 0 Apr10 ?00:21:33 syslogd -m 0 In /etc/syslog.conf, I have the following pertinent lines: mail.*/var/log/maillog local6.debug /var/log/imapd.log /var/log/imapd.conf is rw for root, the same as the other log files. I can't find any errors related to syslog in /var/log/messages. I tried removing the empty file, and restarting syslog. This creates a new imapd.log file, but nothing gets written to it. If I comment out the local6.debug line, then the imap log entries get logged to /var/log/maillog/ This is OK, but I'd rather have a separate logfile for imap. What am I doing wrong? Doug Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. --- 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
problems with saslauthd
I don't know if that's the correct list to put this question. Please forgive me if not the correct list and notice me where can i write the problem. -- I'm trying to use Cyrus with sasl + ldap authentication. i get this error: # cyradm --user cyrus localhost IMAP Password: Login failed: authentication failure at /usr/lib/perl5/Cyrus/IMAP/Admin.pm line 126 cyradm: cannot authenticate to server as user cyrus and... # sasltestsuite Checking plaintext passwords... Failed with: sasl_checkpass() failed on simple case - The questions are: 1. how can i check cyrus is accessing sasl? 2. how can i check sasl is accessing ldap? i paste my [/usr/local/etc/saslauthd.conf] ldap_servers: ldap://127.0.0.1 ldap_bind_dn: cn=sasl.sinclair,ou=applications,dc=domain,dc=com ldap_bind_pw: sasl ldap_search_base: ou=people,dc=domain,dc=com ldap_timeout: 10 ldap_time_limit: 10 ldap_restart: yes - I appreciate your help, thanks in advance, Felix -- Felix Cuello [EMAIL PROTECTED] - 436 - ¡Hombre! Ten confianza, porque la raza de los mortales es de origen divino. -- Versos Dorados. Recopilación de sentencias de los discípulos de Pitágoras. --- 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: How to get rid of Berkeley DB
Dear Mark, Thanks for the info. That idea worked on my test system (which is a copy of the live system). I'll try it on the real system tonight when everyone has gone home. There are other problems now as well. I wish I'd never heard of BDB :-( Best wishes... Colin On Thu, 15 Apr 2004, Mark Keasling wrote: Did you try converting all of the .seen berkeley db files to skiplist before moving them? After stopping cyrus, something like this might work for you: --- 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
MOre problems with DBD
Dear All, Yet another problem with BDB (at least I think it is) On a test system I think I have completely removed BDB. However, I still get these errors showing up in the log files. Apr 15 17:21:27 r118-1 ctl_cyrusdb[20562]: DBERROR db4: PANIC: Invalid argument Apr 15 17:21:27 r118-1 ctl_cyrusdb[20562]: DBERROR: critical database situation Apr 15 17:21:45 r118-1 reconstruct[20565]: DBERROR db4: PANIC: fatal region error detected; run recovery Apr 15 17:21:45 r118-1 reconstruct[20565]: DBERROR: critical database situation Apr 15 17:22:04 r118-1 reconstruct[20569]: DBERROR db4: PANIC: fatal region error detected; run recovery Apr 15 17:22:04 r118-1 reconstruct[20569]: DBERROR: critical database situation Does this mean that something is still using BDB and if so how can I find out what and how do I get rid of it as well? Best wishes Colin --- 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: MOre problems with DBD
Colin Bruce wrote: Dear All, Yet another problem with BDB (at least I think it is) On a test system I think I have completely removed BDB. However, I still get these errors showing up in the log files. Apr 15 17:21:27 r118-1 ctl_cyrusdb[20562]: DBERROR db4: PANIC: Invalid argument Apr 15 17:21:27 r118-1 ctl_cyrusdb[20562]: DBERROR: critical database situation Apr 15 17:21:45 r118-1 reconstruct[20565]: DBERROR db4: PANIC: fatal region error detected; run recovery Apr 15 17:21:45 r118-1 reconstruct[20565]: DBERROR: critical database situation Apr 15 17:22:04 r118-1 reconstruct[20569]: DBERROR db4: PANIC: fatal region error detected; run recovery Apr 15 17:22:04 r118-1 reconstruct[20569]: DBERROR: critical database situation Does this mean that something is still using BDB and if so how can I find out what and how do I get rid of it as well? Simply not using BDB for any of the databases won't solve this. You need to compile Cyrus without support for BDB: --with-bdb=no -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp --- 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 -r usage
Hello all, If I am trying to reconstruct user.chris.Sent and user.chris.Save, should I be able to simply run: reconstruct -r user.chris? If so, it does not seem to work. I have to manually reconstruct every single subdirectory. If I misunderstood the -r option, what is it used for? thanks, Eli - This mail sent through IMP: http://horde.org/imp/ --- 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
Problem with Outlook Express
Hi, I have a Cyrus installation with about 300 mailboxes, many of them with a lot of messages inside (the record is 21000). I have the following problem that I think is not related to Cyrus. Excuse me if I'm asking here but I hope someone had the same problem in the past... When outlook express (version 6) gets new email from cyrus, sometimes, it marks messages as deleted and it says the message is no longer available in the server. It happens randomly in time and user. I know messages are still there because if I use another client program I can see the messages. By now, the only way to have outlook see the messages is to remove and reinstall the account and resyncronize. Any hint ? --- 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: MOre problems with DBD
Dear Ken, Thanks for the suggestion. I'll do that tomorrow. I managed to get it to convert all the DBs to skiplist (except subs which are flat files) and it seems to be working a treat. No DB4 or PANIC errors in the log files and going well. I wish I'd never set eyes on BDB but I learn from my mistakes. Best wishes... Colin On Thu, 15 Apr 2004, Ken Murchison wrote: Does this mean that something is still using BDB and if so how can I find out what and how do I get rid of it as well? Simply not using BDB for any of the databases won't solve this. You need to compile Cyrus without support for BDB: --with-bdb=no --- 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: Problem with Outlook Express
- Original Message - From: Ing. Andrea Vettori [EMAIL PROTECTED] Hi, I have a Cyrus installation with about 300 mailboxes, many of them with a lot of messages inside (the record is 21000). I have the following problem that I think is not related to Cyrus. Excuse me if I'm asking here but I hope someone had the same problem in the past... When outlook express (version 6) gets new email from cyrus, sometimes, it marks messages as deleted and it says the message is no longer available in the server. It happens randomly in time and user. I know messages are still there because if I use another client program I can see the messages. By now, the only way to have outlook see the messages is to remove and reinstall the account and resyncronize. Any hint ? This is a client problem wherby OE gets it's local cache out of sync with the server. Go to Tools-options-Maintenance and click the 'Clean Up Now' button. You can then browse to the corrupted folder and discard the cache entries for it and reload it from the server. Roland --- 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