Re: [POLL] unexpunge behavior
On Tue, 2005-05-03 at 15:15 -0400, Derrick J Brashear wrote: > On Tue, 3 May 2005, Ken Murchison wrote: > > > Igor Brezac wrote: > >> > >> How does quota work? I assume that a 'deleted message' (before it is > >> cyr_expire'd) does not count against quota. > > > > Correct. > > And since the user can't get it back without intervention it's not > secretly limitless quota, though it does make knowing how much disk space > you've allocated less deterministic. What prevents an user from exceeding his quota by a huge amount of space? Say I create 100MB of messages, delete them, and repeat? True, sooner or later the expire daemon will kick in, but what about if the user is fast enough to fill your disk up _before_ that happens? I perfectly understand that the other way (deleted messages counted) prevents the user from freeing space in his mailbox in a timely manner. Maybe an extra quota? Something like the "deleted" space is 1/2 or the same of the user quota. That would put a limit on the allocated space (1.5 or 2 times the quota value). Most users won't notice, and runaway (or malicious) cases have a predictable limitation. .TM. -- / / / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _/ _/ _/ [EMAIL PROTECTED] --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
is this a DB lock problem?
I am running cyrus-imap-2.2.8 and it has been running continuously for over a year without a shutdown. Today I suddenly have a problem which shows up with Mulberry. Mulberry hangs at startup while trying to obtain a list of all users. A protocol log on cyrus show that the the IMAP process has obtained a list of the user's folders and then issued: A6 LIST "" "user.%" command. The IMAP process has not responded and appears to be hanging and does not time-out (at least, I have waited several minutes). The logs show the usual "DBERROR db3: nnn lockers" messages. However, whereas the number has always typically been less than tem it has steadily increase over night to around 450, jumping around at that sort of level. Is it likely I have a genuine lock problem or could there be some other issue here? I can see no way out of it at present, other than to shut down the service. We have several thousand currently active users who will thrown off if I do that, so I am looking for a less drastic solution. Any ideas please? Phil. --- Phil Chambers ([EMAIL PROTECTED]) University of Exeter --- 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: mbox or uw-imap vs. cyrus-imapd
On Wed, May 04, 2005 at 08:30:12PM -0700, Craig White wrote: > Is there similar to > > http://www.courier-mta.org/mbox-vs-maildir/ > > for cyrus? Cyrus also uses a one-file-per-message format. It's not maildir, but the benefits are the same. --- 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: mbox or uw-imap vs. cyrus-imapd
On Thu, 05 May 2005, Andreas Hasenack wrote: > On Wed, May 04, 2005 at 08:30:12PM -0700, Craig White wrote: > > Is there similar to > > http://www.courier-mta.org/mbox-vs-maildir/ > > for cyrus? > > Cyrus also uses a one-file-per-message format. It's not maildir, but > the benefits are the same. Except that due to the indexes, it is not concurrency-safe. Cyrus does proper locking. That said, anyone comparing uw-imap with cyrus-imap or uw-imap with courrier-imap is not serious about the imap part. uw-imap is useless. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --- 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: Question about cyrus quotas - how it behaves
On Wed, 4 May 2005, David R Bosso wrote: --On May 4, 2005 4:19:51 PM -0600 Sun Advocate Webmaster <[EMAIL PROTECTED]> wrote: Just a question for all of you about quotas on cyrus imap. As far as I see, there is no "grace" quota or warning system. Users not watching the size of their mailboxes won't know they're near full until they're actually full. Is this the case? Check out quotawarn: and quotawarnkb: in man imapd.conf. They result in IMAP ALERT messages being generated. Note that these alerts are sent on SELECT, and it has been claimed that Outlook SELECTs a lot, making it unusable. I have not verified this. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: is this a DB lock problem?
On Thu, 5 May 2005, Phil Chambers wrote: I am running cyrus-imap-2.2.8 and it has been running continuously for over a year without a shutdown. Today I suddenly have a problem which shows up with Mulberry. Mulberry hangs at startup while trying to obtain a list of all users. A protocol log on cyrus show that the the IMAP process has obtained a list of the user's folders and then issued: A6 LIST "" "user.%" command. The IMAP process has not responded and appears to be hanging and does not time-out (at least, I have waited several minutes). This is causing your lockers to steadily increase. Do you know if such processes crash? The logs show the usual "DBERROR db3: nnn lockers" messages. However, whereas the number has always typically been less than tem it has steadily increase over night to around 450, jumping around at that sort of level. Is it likely I have a genuine lock problem or could there be some other issue here? I can see no way out of it at present, other than to shut down the service. We have several thousand currently active users who will thrown off if I do that, so I am looking for a less drastic solution. Any ideas please? Phil. --- Phil Chambers ([EMAIL PROTECTED]) University of Exeter --- 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 -- 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: is this a DB lock problem?
On Thu, 5 May 2005, Phil Chambers wrote: I am running cyrus-imap-2.2.8 and it has been running continuously for over a year without a shutdown. Today I suddenly have a problem which shows up with Mulberry. Mulberry hangs at startup while trying to obtain a list of all users. A protocol log on cyrus show that the the IMAP process has obtained a list of the user's folders and then issued: A6 LIST "" "user.%" command. The IMAP process has not responded and appears to be hanging and does not time-out (at least, I have waited several minutes). What does a syscall tracer show the imapd doing when this is happening? Is it likely I have a genuine lock problem or could there be some other issue here? I don't think you've given us enough information to know that. --- 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: is this a DB lock problem?
On Thu, 5 May 2005 12:03:06 -0400 (EDT) Igor Brezac <[EMAIL PROTECTED]> wrote: > On Thu, 5 May 2005, Phil Chambers wrote: > > > I am running cyrus-imap-2.2.8 and it has been running continuously for over > > a year > > without a shutdown. Today I suddenly have a problem which shows up with > > Mulberry. > > Mulberry hangs at startup while trying to obtain a list of all users. > > > > A protocol log on cyrus show that the the IMAP process has obtained a list > > of the > > user's folders and then issued: > > > > A6 LIST "" "user.%" > > > > command. The IMAP process has not responded and appears to be hanging and > > does not > > time-out (at least, I have waited several minutes). > > This is causing your lockers to steadily increase. Do you know if such > processes crash? > It appears that master eventually kills them for being idle for too long. I subsequently discovered the LMTP was hanging for some users too and Exim was timing out, causing the queues to build up. the system also started to run out of processes so I was forced to shut the cyrus system down. On re-starting all appears to be back to normal. It would be nice to know what was happening. Phil. --- Phil Chambers ([EMAIL PROTECTED]) University of Exeter --- 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: Message contains NUL characters ...
Igor Brezac wrote: On Thu, 28 Apr 2005, Henrique de Moraes Holschuh wrote: On Thu, 28 Apr 2005, John Fawcett wrote: Anyone know whether a patch for cyrus to strip out nuls would be welcome? Make it clean, and optional (as in either reject the message, or remove the NULs...), and I don't see why not. The default would need to be reject, though. I think we are saying the same thing: the current behaviour needs to be default. I personaly think that this filtering belongs in MTA. The following sentence from 3.1 would seem to indicate clearly that the default should be to ACCEPT the mail... "However, when interpreting messages, these tokens MUST be honored as part of the legal syntax." Tim --- 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
Mysql Based Database Storage
One of the biggest problems we see with cyrus is its lack of ability to do true high-availability, particularly in a scaleable manner. I know one option is to do murder with multiple sans, but this is far from true scaleability (one san can only be located in one place in the country, and only contains one copy of the data) and even further from true HA (teh san is a single point of failure, perhaps replication to another san might be a solution, but its not at all cost effective). Anyway, I was looking at mysql cluster in mysql 5.1 (plans) and it seems like this might be a true solution to virtually all the problems with running highly scaleable, high-availability cyrus installations. Has anyone implemented, or at least thought of implementing a mysql based backend for mail and database storage for cyrus? How utterly complex an endeavor might it be? What might be the biggest foreseeable problems? Best, Lee --- 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: clamav?
On Tuesday 03 May 2005 01:21, Amos wrote: > Hmmm... what's this about ClamAV? Integrated virus scanning? Maybe > for the Sieve virus check test? It is very bad idea. Anti-virus check should be made at a stage of smtp-session. The sender should receive reject after data. It is not a problem of cyrus-imap. It is a task of MTA. -- Regards, Sergey --- 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: clamav?
On Fri, 6 May 2005, Sergey wrote: On Tuesday 03 May 2005 01:21, Amos wrote: Hmmm... what's this about ClamAV? Integrated virus scanning? Maybe for the Sieve virus check test? It is very bad idea. Anti-virus check should be made at a stage of smtp-session. The sender should receive reject after data. It is not a problem of cyrus-imap. It is a task of MTA. 'k, I use postfix right now, and amavisd for the virus scanning ... as far as I know, the sender doesn't receive a 'reject ' that way either ... or is there something that I need to setup for this to happen? Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 --- 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: Question about cyrus quotas - how it behaves
Check out quotawarn: and quotawarnkb: in man imapd.conf. They result in IMAP ALERT messages being generated. Note that these alerts are sent on SELECT, and it has been claimed that Outlook SELECTs a lot, making it unusable. I have not verified this. Indeed, this can be a problem if you have a large number of folders. For example, I have about 30 folders under my Inbox for archived messages, various mailing lists, etc., and if I ever get near the quota, hitting Control+M to poll for messages is a really bad idea, because I'll get an alert dialog at least once for each and every folder -- and there's nothing you can do but keep hitting ENTER until it is done. It can be annoying, but I'd wager that most people don't sit above that 90% threshold for long, before they clue in and dump some old mail. --- 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: clamav?
On Friday 06 May 2005 02:35, Marc G. Fournier wrote: > 'k, I use postfix right now, and amavisd for the virus scanning ... as far > as I know, the sender doesn't receive a 'reject ' that way > either ... or is there something that I need to setup for this to happen? I do not know about Postfix unfortunately. :-( I use Sendmail and clamav-milter for it. -- С уважением, Сергей [EMAIL PROTECTED] --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html