Re: Problem w/ 2.2.4 and unixhierarchysep: yes
Rob, There is no core dumped from what I can tell, it looks like master just dies for that process. Did you test this on a clean install of 2.2.4, and clean partitions and config directories. This does not seem to occur on an install of 2.2.4 that was upgraded i.e., the mailboxes and database were not created from scratch. It's odd. Let me know. AJ Rob Siemborski wrote: There were substantial changes in the handling of quotas in 2.2.4. However, we're unable to replicate your problem. Can you generate a GDB backtrace from a core dump to show where the segfault is occuring? On Fri, 21 May 2004, AJ wrote: This problem does not appear in 2.2.3, I just wiped my entire 2.2.4 install and installed 2.2.3 and no issues. Ideas? AJ AJ wrote: The pieces begin to come together here.. hopefully someone else benefits from this post. I have managed to track the problem down to not just accounts with a dot in the mailbox name. This problem is occuring on mailboxes with quotas only. Mailboxes that do not have quotas do not experience this issue. My imapd.conf file is below, does anyone know why this is happening? Once I issue these command in cyradm, this issue happens for the mary.jones mailbox. localhost> sq user/mary.smith 8192 quota:8192 localhost> lq user/mary.smith STORAGE 1/8192 (0.01220703125%) Here is imapd.conf: configdirectory: /var/cyrus/imap partition-default: /var/cyrus/spool/imap admins: cyrus sievedir: /var/cyrus/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN altnamespace: yes unixhierarchysep: yes Thanks. AJ AJ wrote: Here is an odd update to this... I tried to create another user with a dot and it works fine. It seems john.smith causes the error whereas al.jones does not. Has anyone seen anything like this? Thanks. AJ AJ wrote: Hi, I have an odd problem. I am running 2.2.4 fresh install and I have an issue when using a mailbox with a . in the name, such as user/john.smith I have the unixhierarchysep: yes line in my imapd.conf. Whenever I try to delete a message or move a message to another folder with this mailbox, I generate these errors: May 21 18:44:58 linux-beta master[2745]: process 2753 exited, signaled to death by 11 May 21 18:44:58 linux-beta master[2745]: service imap pid 2753 in BUSY state: terminated abnormally And I get errors on the client that said the connection was terminated before the command could complete. It looks like the files get "copied" but not moved, so it appears to be a delete issue. Users that do not have a . in their mailbox name do not have this problem. Has anyone seen this? I have another version of 2.2.4 running, and this does not happen there, but that version was upgraded. The only other difference is that the version that has this issue is running bdb 4.2.x and the other system is running 4.1.x. I just wanted to throw this out there to see if anyone knows anything about this. Thanks. AJ --- 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- 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-imap cyrus-sasl postfix
Not sure if anyone can help but here is my problem -- FC1 cyrus-imap 2.2.3 Postfix 2.1.1 cyrus-sasl 2.1.15 I have followed everything in the sasl readme, but I can not get auth plain to work. I think sasl is setup correctly because I can use: testsaslauthd -u -p and I get a 0: OK "Success." But when I try to manually use telnet localhost 25 and then try to authenticate with AUTH PLAIN It keep coming back saying it 535 Error: authentication failed I know the base64 gen script is producing the correct code (followed sasl readme) is correct because I can use it on another system. My main.cf has the sasl entries: smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, check_recipient_access hash:/etc/postfix/filter-domains reject_unknown_sender_domain, reject_unauth_destination here is the maillog entry: May 21 23:33:12 amks postfix/smtpd[6460]: connect from amks[127.0.0.1] May 21 23:33:31 amks postfix/smtpd[6460]: warning: SASL authentication failure: Password verification failed May 21 23:33:31 amks postfix/smtpd[6460]: warning: amks[127.0.0.1]: SASL plain authentication failed May 21 23:33:38 amks postfix/smtpd[6460]: disconnect from amks[127.0.0.1] /etc/sysconfig/saslauthd: MECH=pam FLAGS="-n 0-c" Anyone see or guess at what I'm doing wrong? --- 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
pam-radius authentication and cyrus
Dear All, First I say thanks to people answered my last question. I did install cyrus imapd 2.2.3 on redhat without upgrading sasl and everything works. Now I want authenticate users trough a radius server. I have done it previously on redhat 7.1 and it works fine but now I have problem. the pam_radius does not send the request to the radius server. I know that here is not the proper place to ask this, but I though you might have such experience and any answer is really appriciated. I have : sasl_passwd_check=saslauthdsasl_mech_list=PLAINin /etc/pam.d/pop I have auth required /lib/security/pam_radius_auth.so debugand have configured /etc/raddb/server too and the permission is 755. Also /lib/security/pam_radius_auth.so is available too. I ran saslauthd with "-a pam" , it get the username but there is no sign of sending the request to radius server. Ay idea? May 22 12:06:56 test saslauthd[2859]: rel_accept_lock : released accept lockMay 22 12:06:56 test saslauthd[2860]: get_accept_lock : acquired accept lockMay 22 12:06:56 test saslauthd[2859]: pam_radius_auth: Got user name fatemehThanks--F. Taj --- 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-imapd-2.2.4 "cannot continue without libsasl2."
Am Samstag, 22. Mai 2004 04:13 schrieb Mark Nernberg: > I am attempting to compile Cyrus-imap-2.2.4 on FreeBSD 5.2.1/RELEASE, and I > am having problems. > > cyrus-sasl-2.1.18 is correctly installed from source. How did you install sasl? With which ./configure-options. > However, when running configure, regardless of options, I continue to get > the error "Cannot continue without libsasl2". > > I have tried some of the ideas from the archives, including copying the > sasl libraries and include files to a mess of different places > (/usr/include, /usr/local, etcetera). I've used --with-sasl= with a number > of different directories, all to no avail. > > It really seems that it cannot find sasl.h. The last few lines of output > from configure are: > > checking for gsskrb5_register_acceptor_identity... no > checking sasl/sasl.h usability... no > checking sasl/sasl.h presence... no > checking for sasl/sasl.h... no > configure: error: Cannot continue without libsasl2. > Get it from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/. > > But, of course, I do have it. Where is it? > My ./configure line is: > > > ./configure --with-sasl=/usr/local/lib --with-perl --with-auth=unix > --with-dbdir=/usr/local/bdb --with-bdb-incdir=/usr/local/bdb/include > --with-bdb-libdir=/usr/local/bdb/lib --with-openssl=/usr/local/ssl > --without-ucdsnmp Try "--with-sasl=/usr/local" In ../lib it will not find sasl.h. -- Andreas --- 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-imapd-2.2.4 "cannot continue without libsasl2."
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mark Nernberg > > I am attempting to compile Cyrus-imap-2.2.4 on FreeBSD > 5.2.1/RELEASE, and I > am having problems. > > cyrus-sasl-2.1.18 is correctly installed from source. > > However, when running configure, regardless of options, I > continue to get > the error "Cannot continue without libsasl2". As both are in the FreeBSD ports system I'd strongly advise you to use the ports and install from there. PLEASE - keep list traffic on the list. Email sent directly to me may be ignored utterly. -- Rob | What part of "no" was it you didn't understand? --- 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: Alternative to cyradm
On Fri, May 21, 2004 at 01:49:51PM -0400, Kent L. Nasveschuk wrote: > Hello all, > Is there an alternative to cyradm? I haven't been able to get this to > run yet. I continue to get: IMAP.so: undefined symbol: db_version. You can use imclient and talk IMAP4 to the server directly.. (SETACL and GETACL are the perhaps less obvious commands..) Cheers, Patrick --- 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 Web GUI
I know there have been several questions lately about a better way to manage cyrus... I've been working on something for a while for my own use... Right now it is strongly tied to ldap... though it may be possible to abstract the user database to use ldap or sql... I've not written it that way so it's hard to say how difficult that would be. I have some screen shots up that show most of what you can do with it... I'd be interested on getting some feedback. It is written in php and I've integrated management for my SquirrelMail plugin amavisnewsql as well. Take a look... The mailstore.png image shows most of what you can do cyrus related... if you click on folder names you can manage ACL info for that folder. This is a usable admin tool for me and our help desk staff... but it is still undergoing active development of features.. and lots of clean up and visual enhancement. This was based on a few previous tools that were around pre-registerglobals.. and the way some things are done needs to be changed. http://snowcrash.homeip.net/ldapcyradm/ Jared --- 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
How to use PLAIN, LOGIN, CRAM and DIGEST at the same time with Cyrus ?
Hello all ! I have a problem that I don't understand with my mailserver... I'm using a RedHat ES 3 with Sendmail and Cyrus (Simon Matter rpms). Only two methods are working : cram and digest. I need to be compatible for login and plain too :-/ Here is my /etc/imapd.conf : configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root postmaster: admin sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN DIGEST-MD5 CRAM-MD5 sasl_minimum_layer: 0 defaultdomain: mydomain.com allowallsubscribe: 0 allowanonymouslogin: 0 allowapop: 1 allownewnews: 0 allowplaintext: 1 unixhierarchysep: yes tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem The result of an imtest is : imtest 127.0.0.1 S: * OK servername Cyrus IMAP4 v2.2.3-Invoca-RPM-2.2.3-8 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 AUTH=DIGEST- MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed C: A01 AUTHENTICATE DIGEST-MD5 S: + If someone have an idea it must be useful for me ... ;) ++ --- 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 use PLAIN, LOGIN, CRAM and DIGEST at the same time with Cyrus ?
Am Samstag, 22. Mai 2004 16:40 schrieb Patrice Granger: > I have a problem that I don't understand with my mailserver... > I'm using a RedHat ES 3 with Sendmail and Cyrus (Simon Matter rpms). > > Only two methods are working : cram and digest. I need to be compatible for > login and plain too :-/ > > Here is my /etc/imapd.conf : > > configdirectory: /var/imap > partition-default: /var/spool/imap > admins: cyrus root > postmaster: admin > sasl_pwcheck_method: saslauthd > sasl_mech_list: PLAIN LOGIN DIGEST-MD5 CRAM-MD5 > sasl_minimum_layer: 0 > defaultdomain: mydomain.com > allowallsubscribe: 0 > allowanonymouslogin: 0 > allowapop: 1 > allownewnews: 0 > allowplaintext: 1 > unixhierarchysep: yes > tls_cert_file: /var/imap/server.pem > tls_key_file: /var/imap/server.pem > > > The result of an imtest is : > > imtest 127.0.0.1 > S: * OK servername Cyrus IMAP4 v2.2.3-Invoca-RPM-2.2.3-8 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 > AUTH=DIGEST- > MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE > S: C01 OK Completed > C: A01 AUTHENTICATE DIGEST-MD5 > S: + > > If someone have an idea it must be useful for me ... ;) Build up a SSL/TLS connection and you will see the Other Mechs. The Option "allowplainwithouttls:" seems to be deleted in 2.2.3. -- Andreas --- 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 use PLAIN, LOGIN, CRAM and DIGEST at the same time with Cyrus ?
"Build up a SSL/TLS connection and you will see the Other Mechs. The Option "allowplainwithouttls:" seems to be deleted in 2.2.3. -- Andreas" Yes, "allowplainwithouttls:" does not seems to work... but LOGIN does not seems to work too because I can't use Outlook Express even with a SSL connection... The worst is that I can't use OE, even with CRAM. I may not be compatible with this mechanism (it works fine with PLAIN clients like Thunderbird)... ++ --- 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
* U5 VirusKill * Re: Thanks :)
U5 VirusKill 2.3 has modified this mail as it contained a PC-executable attachment. ~ ~ ~ ~ ~ You should probably simply ignore this mail. If you really expected somebody to send you an executable attachment please mail back to this person and ask him/her to zip the file first. Below is given the first 60 lines of the mail that was sent to you with an executable file attached. As more than 99.999% of executable attachments are viruses, U5 VirusKill 2.3 has deactivated the attachment and truncated the mail. If you haven't done it yet please read http://www.u5.com/gen/ser/u5vk.htm Best regards U5com Co Ltd. Security Division ~ ~ ~ ~ ~ >Return-Path: <[EMAIL PROTECTED]> >Received: from lists2.andrew.cmu.edu (LISTS2.andrew.cmu.edu [128.2.10.216]) > (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) > (No client certificate requested) > by www.bizasia.com (Postfix) with ESMTP id 81C2A6CE139 > for <[EMAIL PROTECTED]>; Sat, 22 May 2004 19:22:42 + (GMT) >Received: (from [EMAIL PROTECTED]) > by lists2.andrew.cmu.edu (8.12.10/8.12.10) id i4MJDn20017653 > for info-cyrus-list; Sat, 22 May 2004 15:13:49 -0400 >Received: from mx5.andrew.cmu.edu (MX5.andrew.cmu.edu [128.2.10.115]) > by lists2.andrew.cmu.edu (8.12.10/8.12.10) with ESMTP id i4MJDmu3017646 > for <[EMAIL PROTECTED]>; Sat, 22 May 2004 15:13:48 -0400 >Received: from user.org (node-d-5640.a2000.nl [62.195.86.64]) > by mx5.andrew.cmu.edu (8.12.10/8.12.10) with SMTP id i4MJDn6n001446 > for <[EMAIL PROTECTED]>; Sat, 22 May 2004 15:13:49 -0400 >Date: Sat, 22 May 2004 21:13:58 +0100 >To: "Info-cyrus" <[EMAIL PROTECTED]> >From: "Pfleming" <[EMAIL PROTECTED]> >Subject: Re: Thanks :) >Message-ID: <[EMAIL PROTECTED]> >MIME-Version: 1.0 >Content-Type: multipart/mixed; >boundary="vjieveljntnjvpupaydu" >Sender: [EMAIL PROTECTED] >Precedence: bulk > >--vjieveljntnjvpupaydu >Content-Type: text/html; charset="us-ascii" >Content-Transfer-Encoding: 7bit > > > > > > > >--vjieveljntnjvpupaydu >Content-Type: application/octet-stream; name="Document.vbs" >Content-Transfer-Encoding: base64 >Content-Disposition: attachment; filename="Document.vbs" > > > >--vjieveljntnjvpupaydu-- > >--- >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: mail server replication
Dear Kevin, Yes, we ran UW impa for some time with drbd doing replication and it was very successful. Of course UW imap doesn't have any databases so I don't know whether that would cause a problem with drbd. I guess the worst case would be a reconstruct perhaps but even that would be much better than losing the contents of a server. We has used drbd in various places and it is very good. Best wishes... Colin On Fri, 21 May 2004, Kevin P. Fleming wrote: > Colin Bruce wrote: > > > I haven't tried it yet but it may be that DRBD (http://www.drbd.org) > > might be able to do what you want. We used it with a UW Imap server and I > > don't see why it shouldn't work with Cyrus. It is probably possible to > > split the users between two cyrus servers and have each group replicated > > to the other server so that each server could become a server with all > > users reasonably quickly. I suspect it would take a few minutes to fail > > over. As I say I haven't tried this so perhaps it won't work. > > drbd in combination with "heartbeat" and a journalling filesystem can do > exactly this. You can have Cyrus IMAP running on both servers (different > users), with the Cyrus storage areas mirrored to the other server via > drbd. When heartbeat notices that one of the servers has died, it can > mount the other server's storage area (since it has a copy) and start up > Cyrus (and take over the other server's IP address as well, of course). > > Users would notice a service disruption, but it's not likely any mail > would be lost and they would only have to reconnect. If their mail > client is set to only connect/check their mailboxes every few minutes, > they may not notice the switchover at all :-) > --- > 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: How to use PLAIN, LOGIN, CRAM and DIGEST at the same time with Cyrus ?
Am Samstag, 22. Mai 2004 19:13 schrieb Patrice Granger: > "Build up a SSL/TLS connection and you will see the Other Mechs. The > Option "allowplainwithouttls:" seems to be deleted in 2.2.3. > -- Andreas" > > Yes, "allowplainwithouttls:" does not seems to work... My mistake, this was never an option with vanilla-cyrus-imapd. It was a Suse-patch. > but LOGIN does not seems to work too because I can't use Outlook Express > even with a SSL connection... Did you turn on imaps in cyrus.conf? OE should be able to connet to this port and use imaps direct. Without starttls. > The worst is that I can't use OE, even with CRAM. I may not be > compatible with this mechanism (it works fine with PLAIN clients like > Thunderbird)... -- Andreas --- 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: Not seeing sub-folders when migrating/upgrading
Hello? Can anyone help me with the problem listed below? Andrew Davis wrote: I am migrating from an older cyrus-imapd/postfix/webcyradm/squirrelmail solution on RH 7.3 to a new one with new versions of each on Fedora Core 1. All is setup and working fine with the exception of one problem: On my old box I have a user called 'link0033'. For testing, I created this same user on my new box with the same password. On the old system, I tar'd up the user's directory, copied it to my new box, and untar'd it. I set the appropriate permissions, then logged in 'link0033' on my new box via Squirrelmail. The problem is I only see the Inbox, Drafts, Sent, and Trash folders. The good news is that each has mail in it as they should. The bad news is that on my old box, I had created sub-folders of Work and Personal. Each has mail in it on the old server. When I log in via Squirrelmail, I don't see these folders. However, at the command line I can see them, see they have the permissions, and see the content within them. For kicks, I used the cyradm program as another test with: cyradm --user link0001 --server localhost --auth plain Once in, I did an "lm" and I only see the Inbox, Drafts, Sent, and Trash folders. So I now have two different programs with the same results. This is pointing me at a cyrus issue. Interestingly, on my new server, I was able to move the Personal folder via the command line, go to Squirrelmail -> and create a new Personal folder, then delete it at the command line and move the original back. When I log back into Squirrelmail, I can see the Personal folder *and* the contents of it that were brought over from my old server. So, is there something I need to be passing as a flag to cyrus? Perhaps a build option I should have used? My new system has cyrus-imapd-2.2.4. My older system has 2.1.12. Did something change between versions that's to blame? Is there a patch or tool I can use? Thanks in advance, -- Andrew Davis North County Computers http://www.nccomp.com Email: [EMAIL PROTECTED] Local: 760-525-4689 Toll Free: 877-735-4689 http://www.nccomp.com";>North County Computers --- 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: [Web-cyradm] sub-folders of inbox not showing up
I tried that actually... later... but I get "permission denied". Am I doing it wrong? [EMAIL PROTECTED] root]# cyradm --user link0001 --server localhost --auth plain Password: IMAP Password: localhost.localdomain> lm INBOX (\HasChildren) INBOX.SAVE OPTIN (\HasNoChildren) INBOX.Bounce (\HasNoChildren) INBOX.Sent (\HasNoChildren) INBOX.Drafts (\HasNoChildren) INBOX.Trash (\HasNoChildren) INBOX.Opt-In (\HasNoChildren) INBOX.Worked (\HasNoChildren) INBOX.Opt-Out (\HasNoChildren) localhost.localdomain> reconstruct INBOX reconstruct: Permission denied localhost.localdomain> reconstruct INBOX.Bounce reconstruct: Permission denied localhost.localdomain> I can't imagine I'm the first person to do an upgrade by building a new system and copying everything over. To me its a lot safer than upgrading a production machine and leaves a nice fallback. If I can beyond this one issue... I think all will be good from here. AD Jon wrote: I could be off beat here, but after you copied the new files over to your new box, did you reconstruct the mailbox in cyradm? -- Regards, Jon Andrew Davis said: Some more info... first off, since I was seeing the problem in Squirrelmail, I joined their mailing list. They all think its cyrus or cyradm related. So I did some tests. Again, logging in as my test user 'link0001', I see the Inbox, Draft, Sent, and Trah folders. From the command line, I also see my other folders such as Personal and Work (I copied the directory from my other server). If I do: cyradm --user link0001 --server localhost --auth plain I can log in just fine. Doing an "lm" only shows the same folders I am seeing in Squirrelmail. So now I'm realizing that I have two different programs (cyradm and Squirrelmail) that are getting the same results. Perhaps this means the problem is with Cyrus? Interesting, if I go from the command line and move the Personal folder, then go to Squirrelmail -> Folders and create the folder "Personal", then log out, delete the Personal folder at the command line and move the original back, then back into Squirrelmail, it can see the folder and its contents. And most confusing... the filesystem permissions and settings on the folder created in Squirrelmail are the same as the original one on the filesystem. No difference at all. Any ideas? Is there a flag I need to pass to cyrus? Or perhaps a compile time option? AD Andrew Davis wrote: Well, I've made quite a bix of progress. Now I'm trying to test migration since my next step is to migrate off my old server. On my new server, I have a user called link0001. On my old server, I have a user called link0033. I tarred up link0033, copied the file over, untar'd it and renamed all the link0033's to link0001 and set the correct permissions. I then logged into my new server via Squirrelmail. I can log in fine and see the Inbox with sub-folders of Trash, Drafts, and Sent. Drafts and Trash are empty, as they are on my old server. Sent has some content as it does on my old server. So far so good. Now the problem is that there were previously created 10 or 12 other folders... such as Bounce, Spam, Work, Personal, etc. These are not showing up. And if I go through the Squirrelmail 'Folders' option, I don't see them available to be subscribed to. However, from the filesystem level, I see the contents of the sub-folders and the permissions are the same on both my old and new server. Has anyone dealt with this before? Is there a special way of copying these over? For the sake of it, I IMAP'd in from Outlook Express and KMail both and get the same results that I see in Squirrelmail. -- Andrew Davis North County Computers http://www.nccomp.com Email: [EMAIL PROTECTED] Local: 760-525-4689 Toll Free: 877-735-4689 http://www.nccomp.com";>North County Computers ___ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch ___ Web-cyradm mailing list [EMAIL PROTECTED] http://www.web-cyradm.org/mailman/listinfo/web-cyradm -- Andrew Davis North County Computers http://www.nccomp.com Email: [EMAIL PROTECTED] Local: 760-525-4689 Toll Free: 877-735-4689 http://www.nccomp.com";>North County Computers --- 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
quota_db in 2.2.4
I have just realized that the quota db is now configurable in imapd.conf like the other databases. Is there a good reason to change anything or can we just keep the default? Simon --- 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 logging in via console with cyradm tool
Hi! I am going crazy. I can't authenticate on the console with cyradm. I receive the message, "segementation fault". Can somebody help me, to solve this problem?! To avoid further questions, i paste you the configuration how i compiled SASL and IMAPD. The packages were compiled with gcc 3.3.3: sasl [EMAIL PROTECTED]:~> ./configure --prefix=/usr --enable-cram --enable-cram --with-dblib="berkeley" --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib/ --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include/ --with-openssl=/usr/local/ssl/ imapd [EMAIL PROTECTED]:~> ./configure --with-auth=unix --with-dbdir=/usr/local/BerkeleyDB.4.2/ --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib/ --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include --with-openssl=/usr/local/ssl --with-sasl=/usr/lib/sasl2 when i run cyradm: [EMAIL PROTECTED]:/> /usr/local/bin/cyradm cyradm> connect 127.0.0.1 Password: Segmentation fault [EMAIL PROTECTED]:/> and when i run imtest: [EMAIL PROTECTED]:/> /usr/local/bin/imtest 127.0.0.1 S: * OK linux 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 AUTH=NTLM AUTH=SRP AUTH=GSSAPI AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR S: C01 OK Completed Please enter your password: C: A01 AUTHENTICATE SRP EQAFY3lydXMABWN5cnVz S: A01 NO user not found Authentication failed. generic failure Security strength factor: 0 For any further help, i would thank you very much to solve my problems. Thank you Tamer --- 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 w/ 2.2.4 and unixhierarchysep: yes
> Rob, >There is no core dumped from what I can tell, it looks like master > just dies for that process. Did you test this on a clean install of > 2.2.4, and clean partitions and config directories. This does not seem > to occur on an install of 2.2.4 that was upgraded i.e., the mailboxes > and database were not created from scratch. It's odd. Hi I have just finished rebuilding my 2.2.4 rpms and I've got the same problem on my own server where I tested the build. I was able to access some folders but some others didn't work. May 23 02:50:25 xxl imap[1826]: login: localhost.localdomain [127.0.0.1] simix plaintext User logged in May 23 02:50:25 xxl imap[1928]: executed May 23 02:50:25 xxl imap[1826]: seen_db: user simix opened /var/lib/imap/user/s/simix.seen May 23 02:50:25 xxl imap[1826]: open: user simix opened INBOX May 23 02:50:25 xxl master[1794]: process 1826 exited, signaled to death by 11 May 23 02:50:25 xxl master[1794]: service imap pid 1826 in BUSY state: terminated abnormally This is on RedHat 7.2 with db3, so no db4 issue here. The error I get from Squirrelmail is: ERROR : Connection dropped by imap-server. Query: EXPUNGE I have tried to produce a backtrace like this: [EMAIL PROTECTED] tmp]# gdb imapd core GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)... Core was generated by `imapd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libssl.so.2...done. Loaded symbols for /lib/libssl.so.2 Reading symbols from /lib/libcrypto.so.2...done. Loaded symbols for /lib/libcrypto.so.2 Reading symbols from /lib/libdb-3.2.so...done. Loaded symbols for /lib/libdb-3.2.so Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/sasl2/libanonymous.so.2...done. Loaded symbols for /usr/lib/sasl2/libanonymous.so.2 Reading symbols from /usr/lib/sasl2/libsasldb.so.2...done. Loaded symbols for /usr/lib/sasl2/libsasldb.so.2 Reading symbols from /usr/lib/sasl2/libcrammd5.so.2...done. Loaded symbols for /usr/lib/sasl2/libcrammd5.so.2 Reading symbols from /usr/lib/sasl2/libdigestmd5.so.2...done. Loaded symbols for /usr/lib/sasl2/libdigestmd5.so.2 Reading symbols from /usr/lib/sasl2/liblogin.so.2...done. Loaded symbols for /usr/lib/sasl2/liblogin.so.2 Reading symbols from /usr/lib/sasl2/libplain.so.2...done. Loaded symbols for /usr/lib/sasl2/libplain.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_nisplus.so.2...done. Loaded symbols for /lib/libnss_nisplus.so.2 #0 0x080a0987 in xrealloc () (gdb) bt #0 0x080a0987 in xrealloc () #1 0x0809d489 in mboxlist_findsub_alt () #2 0x0808bee5 in mboxlist_findsub_alt () #3 0x0807219b in cyrus_mutex_free () #4 0x08057dd4 in idle_update () #5 0x08050980 in shut_down () #6 0x0804f920 in strcpy () at strcpy:-1 #7 0x0804df29 in strcpy () at strcpy:-1 #8 0x40213657 in __libc_start_main (main=0x804d520 , argc=1, ubp_av=0xbfffe124, init=0x804c0d4 <_init>, fini=0x80a3f90 <_fini>, rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbfffe11c) at ../sysdeps/generic/libc-start.c:129 (gdb) Regards, Simon > > Let me know. > AJ > > Rob Siemborski wrote: >> There were substantial changes in the handling of quotas in 2.2.4. >> However, we're unable to replicate your problem. >> >> Can you generate a GDB backtrace from a core dump to show where the >> segfault is occuring? >> >> On Fri, 21 May 2004, AJ wrote: >> >>> This problem does not appear in 2.2.3, I just wiped my entire 2.2.4 >>> install and installed 2.2.3 and no issues. Ideas? >>> >>> AJ >>> >>> AJ wrote: >>> The pieces begin to come together here.. hopefully someone else benefits from this post. I have managed to track the problem down to not just accounts with a dot in the mailbox name. This problem is occuring on mailboxes with quotas only. Mailboxes that do not have quotas do not experience this issue. My imapd.conf file is below, does anyone know why this is happening? Once I issue these comma
Re: Problem w/ 2.2.4 and unixhierarchysep: yes
Yes, the same thing happens here.. connection just drops. I have reverted back to 2.2.3. Simon Matter wrote: Rob, There is no core dumped from what I can tell, it looks like master just dies for that process. Did you test this on a clean install of 2.2.4, and clean partitions and config directories. This does not seem to occur on an install of 2.2.4 that was upgraded i.e., the mailboxes and database were not created from scratch. It's odd. Hi I have just finished rebuilding my 2.2.4 rpms and I've got the same problem on my own server where I tested the build. I was able to access some folders but some others didn't work. May 23 02:50:25 xxl imap[1826]: login: localhost.localdomain [127.0.0.1] simix plaintext User logged in May 23 02:50:25 xxl imap[1928]: executed May 23 02:50:25 xxl imap[1826]: seen_db: user simix opened /var/lib/imap/user/s/simix.seen May 23 02:50:25 xxl imap[1826]: open: user simix opened INBOX May 23 02:50:25 xxl master[1794]: process 1826 exited, signaled to death by 11 May 23 02:50:25 xxl master[1794]: service imap pid 1826 in BUSY state: terminated abnormally This is on RedHat 7.2 with db3, so no db4 issue here. The error I get from Squirrelmail is: ERROR : Connection dropped by imap-server. Query: EXPUNGE I have tried to produce a backtrace like this: [EMAIL PROTECTED] tmp]# gdb imapd core GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)... Core was generated by `imapd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libssl.so.2...done. Loaded symbols for /lib/libssl.so.2 Reading symbols from /lib/libcrypto.so.2...done. Loaded symbols for /lib/libcrypto.so.2 Reading symbols from /lib/libdb-3.2.so...done. Loaded symbols for /lib/libdb-3.2.so Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/sasl2/libanonymous.so.2...done. Loaded symbols for /usr/lib/sasl2/libanonymous.so.2 Reading symbols from /usr/lib/sasl2/libsasldb.so.2...done. Loaded symbols for /usr/lib/sasl2/libsasldb.so.2 Reading symbols from /usr/lib/sasl2/libcrammd5.so.2...done. Loaded symbols for /usr/lib/sasl2/libcrammd5.so.2 Reading symbols from /usr/lib/sasl2/libdigestmd5.so.2...done. Loaded symbols for /usr/lib/sasl2/libdigestmd5.so.2 Reading symbols from /usr/lib/sasl2/liblogin.so.2...done. Loaded symbols for /usr/lib/sasl2/liblogin.so.2 Reading symbols from /usr/lib/sasl2/libplain.so.2...done. Loaded symbols for /usr/lib/sasl2/libplain.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_nisplus.so.2...done. Loaded symbols for /lib/libnss_nisplus.so.2 #0 0x080a0987 in xrealloc () (gdb) bt #0 0x080a0987 in xrealloc () #1 0x0809d489 in mboxlist_findsub_alt () #2 0x0808bee5 in mboxlist_findsub_alt () #3 0x0807219b in cyrus_mutex_free () #4 0x08057dd4 in idle_update () #5 0x08050980 in shut_down () #6 0x0804f920 in strcpy () at strcpy:-1 #7 0x0804df29 in strcpy () at strcpy:-1 #8 0x40213657 in __libc_start_main (main=0x804d520 , argc=1, ubp_av=0xbfffe124, init=0x804c0d4 <_init>, fini=0x80a3f90 <_fini>, rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbfffe11c) at ../sysdeps/generic/libc-start.c:129 (gdb) Regards, Simon Let me know. AJ Rob Siemborski wrote: There were substantial changes in the handling of quotas in 2.2.4. However, we're unable to replicate your problem. Can you generate a GDB backtrace from a core dump to show where the segfault is occuring? On Fri, 21 May 2004, AJ wrote: This problem does not appear in 2.2.3, I just wiped my entire 2.2.4 install and installed 2.2.3 and no issues. Ideas? AJ AJ wrote: The pieces begin to come together here.. hopefully someone else benefits from this post. I have managed to track the problem down to not just accounts with a dot in the mailbox name. This problem is occuring on mailboxes with quotas only. Mailboxes that do not have quotas do not experience this issue. My imapd.conf file is below, does anyone know why this is happening? Once I issue these command in
Re: Problem w/ 2.2.4 and unixhierarchysep: yes
On Sun, 23 May 2004, Simon Matter wrote: I have just finished rebuilding my 2.2.4 rpms and I've got the same problem on my own server where I tested the build. I was able to access some folders but some others didn't work. Was there anything consistant about these folders (specifically, did they have quotas associated with them)? Sadly, the backtrace you provided doesn't appear to be valid (why does strcpy() call strcpy() and then call shut_down()? Was this a fresh install? Were you using unixhierarchysep? I can't duplicte this in any enviornment (upgraded, fresh install, unixhierachysep or not). Perhaps if you attached a gdb process to it and then made it crash it might be more illuminating than looking at the core dump... -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- 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
Get any software you want 90% off!
TOP quality software: Special Offer #1: Windows XP Professional+Microsoft Office XP Professional = only $80 Special Offer #2: Adobe - Photoshop 7, Premiere 7, Illustrator 10 = only $120 Special Offer #3: Macromedia Dreamwaver MX 2004 + Flash MX 2004 = only $100 Also: Windows 2003 Server Windows 2000 Workstation Windows 2000 Server Windows 2000 Advanced Server Windows 2000 Datacenter Windows NT 4.0 Windows Millenium Windows 98 Second Edition Windows 95 Office XP Professional Office 2000 Office 97 MS Plus MS SQL Server 2000 Enterprise Edition MS Visual Studio .NET Architect Edition MS Encarta Encyclopedia Delux 2004 MS Project 2003 Professional MS Money 2004 MS Streets and Trips 2004 MS Works 7 MS Picture It Premium 9 MS Exchange 2003 Enterprise Server Adobe Photoshop Adobe PageMaker Adobe Illustrator Adobe Acrobat 6 Professional Adobe Premiere Macromedia Dreamwaver MX 2004 Macromedia Flash MX 2004 Macromedia Fireworks MX 2004 Macromedia Freehand MX 11 Corel Draw Graphics Suite 12 Corel Draw Graphics Suite 11 Corel Photo Painter 8 Corel Word Perfect Office 2002 Norton System Works 2003 Borland Delphi 7 Enterprise Edition Quark Xpress 6 Passport Multilanguage Enter Here Don't want any more emails? --- 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 w/ 2.2.4 and unixhierarchysep: yes
Rob, Here are the details of my setup: This only happens on mailboxes with quotas. This was a fresh install, it did not seem to occur on an upgraded install. I was using unixhierarchysep. Simon, can you help with a gdb dump? I have no access to the system I was using until Monday. Thanks. AJ Rob Siemborski wrote: On Sun, 23 May 2004, Simon Matter wrote: I have just finished rebuilding my 2.2.4 rpms and I've got the same problem on my own server where I tested the build. I was able to access some folders but some others didn't work. Was there anything consistant about these folders (specifically, did they have quotas associated with them)? Sadly, the backtrace you provided doesn't appear to be valid (why does strcpy() call strcpy() and then call shut_down()? Was this a fresh install? Were you using unixhierarchysep? I can't duplicte this in any enviornment (upgraded, fresh install, unixhierachysep or not). Perhaps if you attached a gdb process to it and then made it crash it might be more illuminating than looking at the core dump... -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- 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