piss
UTSDA Apeproved M1edYs HEfRE check muscular preparation awry curio cezanne thayer burgher assam tattoo cheerleader rhyme smallpox adapt corrupt desideratum joule epistolatory gridiron epsom brownish aerosol consult laughter levee autopsy trek butch silicide dougherty fritillary leonardo crater bellboy cognate discordant chargeable siltstone acrimony bois diagnostic vishnu valerie champagne djakarta afterlife whitney spay beckman belie TT4 failsoft bless arcane manic muddle airpark bourbaki contingent crawford consequent saliva dumb canker concubine grasp versailles volcanic cyanamid hangout agglomerate babysit almaden embedding champlain deceive tamarack advisor hook scan artwork desirous ptolemy injunct hive acapulco michael bAV4 irrecoverablepersistent
Re: 'invalid magic header: /var/imap/mailboxes.db' Error
Hi all. I'm a cyrus newbie/novice. I rebooted my mailserver this morning, and now cyrus is dead. This is my mailserver at home so it is not critical, but my personal mail is kaput until I get this fixed. After the system rebooted the disk started spinning like mad ... which turned out to be syslog dumping tons of log messages from cyrus. The following lines are repeated hundreds and hundreds of times: Oct 17 13:28:45 o-ren master[12647]: about to exec /usr/lib/cyrus/imapd Oct 17 13:28:45 o-ren imap[12647]: executed Oct 17 13:28:45 o-ren imap[12647]: skiplist: invalid magic header: /var/imap/mailboxes.db Your cyrus thinks your mailbox is in skiplist format. Oct 17 13:28:45 o-ren imap[12647]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb error Oct 17 13:28:45 o-ren imap[12647]: Fatal error: can't read mailboxes file Oct 17 13:28:45 o-ren master[10840]: process 12647 exited, status 75 Oct 17 13:28:45 o-ren master[10840]: service imap pid 12647 in READY state: terminated abnormally I found a note here: http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrusmsg=28119 with a fix, but that fix is not working for me. I ran conv.sh which gave me the following file: [EMAIL PROTECTED] tmp $ cat /tmp/mailboxes.txt user.a default a lrswipcda cyrus lrswipcda user.b default b lrswipcda cyrus lrswipcda user.c default c lrswipcda cyrus lrswipcda user.c.user default c lrswipcda cyrus lrswipcda user.c.user.carmen default c lrswipcda cyrus lrswipcda user.c.user.carmen.Sent default c lrswipcda cyrus lrswipcda user.c.user.carmen.Drafts default c lrswipcda cyrus lrswipcda user.c.user.carmen.Trashdefault c lrswipcda cyrus lrswipcda user.d default d lrswipcda cyrus lrswipcda user.e default e lrswipcda cyrus lrswipcda user.f default f lrswipcda cyrus lrswipcda user.g default g lrswipcda cyrus lrswipcda user.h default h lrswipcda cyrus lrswipcda user.i default i lrswipcda cyrus lrswipcda user.j default j lrswipcda cyrus lrswipcda user.j.user default j lrswipcda cyrus lrswipcda user.j.user.jamie default j lrswipcda cyrus lrswipcda user.j.user.jamie.Sent default j lrswipcda cyrus lrswipcda user.j.user.jamie.Draftsdefault j lrswipcda cyrus lrswipcda user.j.user.jamie.Trash default j lrswipcda cyrus lrswipcda user.k default k lrswipcda cyrus lrswipcda user.l default l lrswipcda cyrus lrswipcda user.m default m lrswipcda cyrus lrswipcda user.m.user default m lrswipcda cyrus lrswipcda user.m.user.markdefault m lrswipcda cyrus lrswipcda user.m.user.mark.Sent default m lrswipcda cyrus lrswipcda user.m.user.mark.Spam default m lrswipcda cyrus lrswipcda user.m.user.mark.Drafts default m lrswipcda cyrus lrswipcda user.m.user.mark.Trash default m lrswipcda cyrus lrswipcda user.m.user.mark.Postmaster default m lrswipcda cyrus lrswipcda user.n default n lrswipcda cyrus lrswipcda user.o default o lrswipcda cyrus lrswipcda user.p default p lrswipcda cyrus lrswipcda user.q default q lrswipcda cyrus lrswipcda user.r default r lrswipcda cyrus lrswipcda user.s default s lrswipcda cyrus lrswipcda user.s.user default s lrswipcda cyrus lrswipcda user.s.user.sarah default s lrswipcda cyrus lrswipcda user.s.user.scott default s lrswipcda cyrus lrswipcda user.t default t lrswipcda cyrus lrswipcda user.t.user default t lrswipcda cyrus lrswipcda user.t.user.testdefault t lrswipcda cyrus lrswipcda user.t.user.test.Sent default t lrswipcda cyrus lrswipcda user.t.user.test.Drafts default t lrswipcda cyrus lrswipcda user.t.user.test.Trash default t lrswipcda cyrus lrswipcda user.t.user.teresa default t lrswipcda cyrus lrswipcda user.t.user.teresa.Sent default t lrswipcda cyrus lrswipcda user.t.user.teresa.Drafts default t lrswipcda cyrus lrswipcda user.t.user.teresa.Trashdefault t lrswipcda cyrus lrswipcda user.u default u lrswipcda cyrus lrswipcda user.v default v lrswipcda cyrus lrswipcda user.w default w lrswipcda cyrus lrswipcda user.x default x lrswipcda cyrus lrswipcda user.y default y lrswipcda cyrus lrswipcda user.z default z lrswipcda cyrus lrswipcda
Re: Cyrus/postfix/spamassasin: moving junk to junk
Eric Björkvall wrote: Hi! I successfully set up cyrus/postfix/spamassasin/clamav/amavisd to handle mail for 2 domains. Now I want this setup to automatically transfer spam to a mailbox called junk. Pop-users will not get spam messages but they can use webmail or imap to check the junk mail if they wish. I checked /etc/amavisd.conf for options to transfer spam to a special mailbox (each user have their own junk-mailbox) but no go... How can I do this? I use $addr_extension_spam = 'spam'; $recipient_delimiter = '+'; (in your case that would be $addr_extension_spam = 'junk';) Then you have to grant anonymous the post acl to the junk folder, but since that's junk I don't see it as a problem ;-) Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 --- 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 2.2.x and a tool how to see which users are logged in
On Fri, Oct 15, Marc-Christian Petersen wrote: is there any tool available or any method how to see which users are loggged in via IMAP/POP3? I need this to see if a user is currently connected or not to be able to deny mailbox renaming or not. $localstatedir/imap/proc/ contains connection information, but it only shows user information, if a user SELECTed a specific mailbox. -- With best regards, Carsten Hoeger pgpSITbdPwnJV.pgp Description: PGP signature
setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Hello, I am trying out Cyrus 2.2.8 on Slackware Linux with a 2.4.21 kernel and Cyrus SASL 2.1.19, DB 4.2.52 and OpenLDAP 2.2.17. The problem that I have is when I want to start the master I get the following problem: Oct 18 11:32:16 srv master[30609]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Oct 18 11:32:16 srv master[30609]: retrying with 1024 (current max) Oct 18 11:32:16 srv master[30609]: process started Oct 18 11:32:16 srv master[30610]: about to exec /opt/cyrus/bin/ctl_cyrusdb Oct 18 11:32:16 srv ctl_cyrusdb[30610]: recovering cyrus databases Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/mailboxes.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/annotations.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: done recovering cyrus databases Oct 18 11:32:16 srv master[30611]: about to exec /opt/cyrus/bin/ctl_mboxlist Oct 18 11:32:16 srv master[30609]: process 30611 exited, signaled to death by 11 And the master quits with Segmentation fault. Does anyone know what's this setrlimit problem ? Thanks Regards ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.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: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
ML mail wrote: Hello, I am trying out Cyrus 2.2.8 on Slackware Linux with a 2.4.21 kernel and Cyrus SASL 2.1.19, DB 4.2.52 and OpenLDAP 2.2.17. The problem that I have is when I want to start the master I get the following problem: Oct 18 11:32:16 srv master[30609]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Oct 18 11:32:16 srv master[30609]: retrying with 1024 (current max) Oct 18 11:32:16 srv master[30609]: process started Oct 18 11:32:16 srv master[30610]: about to exec /opt/cyrus/bin/ctl_cyrusdb Oct 18 11:32:16 srv ctl_cyrusdb[30610]: recovering cyrus databases Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/mailboxes.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/annotations.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: done recovering cyrus databases Oct 18 11:32:16 srv master[30611]: about to exec /opt/cyrus/bin/ctl_mboxlist Oct 18 11:32:16 srv master[30609]: process 30611 exited, signaled to death by 11 And the master quits with Segmentation fault. Does anyone know what's this setrlimit problem ? That's not actually a problem (under linux it's not possible to use -1 and so it retries with the maximum value) and it's not the cause of the signaled to death by 11. Among other causes it's possible that cyrus is using one version of berkeley db while openldap is using another. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 --- 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: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
On Monday 18 October 2004 11:36, ML mail wrote: Hi, Oct 18 11:32:16 srv master[30609]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted Oct 18 11:32:16 srv master[30609]: retrying with 1024 (current max) Oct 18 11:32:16 srv master[30609]: process started Oct 18 11:32:16 srv master[30610]: about to exec /opt/cyrus/bin/ctl_cyrusdb Oct 18 11:32:16 srv ctl_cyrusdb[30610]: recovering cyrus databases Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/mailboxes.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: skiplist: recovered /var/cyrus/annotations.db (0 records, 144 bytes) in 0 seconds Oct 18 11:32:16 srv ctl_cyrusdb[30610]: done recovering cyrus databases Oct 18 11:32:16 srv master[30611]: about to exec /opt/cyrus/bin/ctl_mboxlist Oct 18 11:32:16 srv master[30609]: process 30611 exited, signaled to death by 11 And the master quits with Segmentation fault. Does anyone know what's this setrlimit problem ? Well, this won't fix your problem, at least it shouldn't ;) but the attached patch silences the setrlimit thing. Maybe Cyrus developers want to merge this finally ... -- ciao, Marc --- old/master/master.c 2004-06-22 21:00:05.0 +0200 +++ new/master/master.c 2004-10-12 23:51:19.0 +0200 @@ -1541,7 +1541,7 @@ void limit_fds(rlim_t x) rl.rlim_cur = x; rl.rlim_max = x; -if (setrlimit(RLIMIT_NUMFDS, rl) 0) { +if (setrlimit(RLIMIT_NUMFDS, rl) 0 x != RLIM_INFINITY) { syslog(LOG_ERR, setrlimit: Unable to set file descriptors limit to %ld: %m, x); #ifdef HAVE_GETRLIMIT @@ -1555,8 +1555,7 @@ void limit_fds(rlim_t x) } } - -if (verbose 1) { +if (verbose 1 getrlimit(RLIMIT_NUMFDS, rl) = 0) { r = getrlimit(RLIMIT_NUMFDS, rl); syslog(LOG_DEBUG, set maximum file descriptors to %ld/%ld, rl.rlim_cur, rl.rlim_max);
frequent maildrop locks?
I'm running my own build of cyrus 2.2.5, pretty much a stock build. Last week one of my users started using pop-before-smtp as his authentication through outlook. Since then, I've seen a couple of unable to lock maildrop errors for him. Any known problems with 2.2.5 or outlook? seph --- 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 inconsistency...
We have a user that was reporting that she was way *way* over her quota. She was alotted only 100MB, and for some reason, she was showing that she was using over 400MB of space on her IMAP account! Furthermore, looking at actual disk space consumption, she waas actually only using 261KB, which is barely anything at all. I have yet to figure out a good way to fix this discrepancy. I thought that maybe doing a recursive reconstruct on her account would maybe sync up her quota entry to what was actually in use. Nope. I thought that the quota command would be able to do something with it, again nope, unless I am just missing an option somwehere. I even used cyradm to do a setquota on the user to see if it would fix it, and again it did not. I editted the file (we are using legacy file format, which is plain text) manually and removed a couple digits. This brought her down to about 41MB of disk space used, and thus 41% of her quota. This gets her working, but I still can't find a way to have the server re-figure out how much she is actually using and write that to the file. I finally just deleted the quota file altogether and used cyradm to create it again using setquota. Well, it created a new quota file for her, but now it shows her sitting at 0KB used out of 100MB, so it is still not right. Other than doing a du on her disk space and manually typing in the value in the quota file, what should I be doing? Thanks, Scott -- +---+ Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/ UNIX Systems Engineer mailto:[EMAIL PROTECTED] ICQ 7626282 Work (740)593-9478 Fax (740)593-1944 +---+ PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/ pgpwVjbOXHGXy.pgp Description: PGP signature
Re: Quota inconsistency...
On Mon, 18 Oct 2004, Scott Adkins wrote: We have a user that was reporting that she was way *way* over her quota. She was alotted only 100MB, and for some reason, she was showing that she was using over 400MB of space on her IMAP account! Furthermore, looking at actual disk space consumption, she waas actually only using 261KB, which is barely anything at all. You left out what version of Cyrus you're running. Some quota bugs have been fixed over time, if we know what you have it will be easier to know what you're hitting. --- 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
Usernames and imp-webmail.
Hi all ! Our users are pretty much used to use imp for webmail. Unfortunately after migrating to cyrus some have been scared like hell, all their email was lost! Or so it seemed :) # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. lmtp_downcase_rcpt: yes Above is configured in imapd.conf. But when a user enters his/her username with some capital letter in it, they will be authenticated succesfully and see a empy mailbox :( Is there any other option I could set to help them ? bye, Chris --- 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: Usernames and imp-webmail.
On Mon, 18 Oct 2004, Christiaan den Besten wrote: Hi all ! Our users are pretty much used to use imp for webmail. Unfortunately after migrating to cyrus some have been scared like hell, all their email was lost! Or so it seemed :) # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. lmtp_downcase_rcpt: yes Above is configured in imapd.conf. But when a user enters his/her username with some capital letter in it, they will be authenticated succesfully and see a empy mailbox :( Is there any other option I could set to help them ? Use username_tolower: yes You can also easily fix imp to lowercase usernames. -- 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: Cyrus/postfix/spamassasin: moving junk to junk
Great! It works! Thanks! Cheers, Eric On 2004-10-18, at 09.03, Luca Olivetti wrote: Eric Björkvall wrote: Hi! I successfully set up cyrus/postfix/spamassasin/clamav/amavisd to handle mail for 2 domains. Now I want this setup to automatically transfer spam to a mailbox called junk. Pop-users will not get spam messages but they can use webmail or imap to check the junk mail if they wish. I checked /etc/amavisd.conf for options to transfer spam to a special mailbox (each user have their own junk-mailbox) but no go... How can I do this? I use $addr_extension_spam = 'spam'; $recipient_delimiter = '+'; (in your case that would be $addr_extension_spam = 'junk';) Then you have to grant anonymous the post acl to the junk folder, but since that's junk I don't see it as a problem ;-) Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 --- 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
migrating to courier-pop to cyrus
Does a script existto migrate courier-pop maildir format to cyrus maildir format ? (with same usernames)
Re: Usernames and imp-webmail.
On Mon, 18 Oct 2004, Christiaan den Besten wrote: Hi all ! Our users are pretty much used to use imp for webmail. Unfortunately after migrating to cyrus some have been scared like hell, all their email was lost! Or so it seemed :) # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. lmtp_downcase_rcpt: yes Above is configured in imapd.conf. But when a user enters his/her username with some capital letter in it, they will be authenticated succesfully and see a empy mailbox :( Is there any other option I could set to help them ? Here is what we use in imp/config/conf.php: $conf['hooks']['vinfo'] = 'imp_get_vinfo'; if (!function_exists('imp_get_vinfo')) { function imp_get_vinfo ($type = 'username') { if ($type == 'username') { return strtolower($_SESSION['imp']['user']); } else { return new PEAR_Error('invalid type: ' . $type); } } } We had a similar problem here, although I don't remember users seeing an empty mailbox. Our users would have different prefs in imp if they changed case. This forces all imp logins to lowercase. Andy --- 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: Usernames and imp-webmail.
Thanx, That fixed the problem. I was not aware that these things could be controlled in conf.php :) --- Use username_tolower: yes You can also easily fix imp to lowercase usernames. [ done :) ] --- I suspect that our version: 2.1.16 does not seem to support this feature. Thanx again all for your help ! bye, Chris - Original Message - From: Andrew Morgan [EMAIL PROTECTED] To: Christiaan den Besten [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:59 PM Subject: Re: Usernames and imp-webmail. On Mon, 18 Oct 2004, Christiaan den Besten wrote: Hi all ! Our users are pretty much used to use imp for webmail. Unfortunately after migrating to cyrus some have been scared like hell, all their email was lost! Or so it seemed :) # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. lmtp_downcase_rcpt: yes Above is configured in imapd.conf. But when a user enters his/her username with some capital letter in it, they will be authenticated succesfully and see a empy mailbox :( Is there any other option I could set to help them ? Here is what we use in imp/config/conf.php: $conf['hooks']['vinfo'] = 'imp_get_vinfo'; if (!function_exists('imp_get_vinfo')) { function imp_get_vinfo ($type = 'username') { if ($type == 'username') { return strtolower($_SESSION['imp']['user']); } else { return new PEAR_Error('invalid type: ' . $type); } } } We had a similar problem here, although I don't remember users seeing an empty mailbox. Our users would have different prefs in imp if they changed case. This forces all imp logins to lowercase. Andy --- 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