Re: Non-ASCII chars in MAIL FROM envelope

2008-02-26 Thread Kjetil Torgrim Homme
On Wed, 2008-02-13 at 20:29 +1100, Rob Mueller wrote: Yes, but that will block possibly valid mail. Of course I don't accept mail with non-ASCII RCPT TO addresses because Cyrus doesn't allow it, but I should accept non-ASCII MAIL FROM addresses if they are valid. But Cyrus also refuses

Re: Can Sieve Do This?

2007-02-07 Thread Kjetil Torgrim Homme
On Thu, 2007-02-08 at 00:46 +0100, FORMER 03 | Baltasar Cevc wrote: On 05.02.2007, at 23:06, Kevin Kruzich wrote: I'd like to create a sieve rule that copies all received messages to a folder named INBOX/BACKUP-username. This would be set to a limit such as size or number of messages in

Re: using skiplist for quotas.db

2007-01-19 Thread Kjetil Torgrim Homme
On Fri, 2007-01-19 at 21:58 +1100, Rob Mueller wrote: What filesystem are you using? Have you considered trying reiserfs with tails enabled. It's quite impressive how little disk space it actually uses (don't believe du output). We used to use NVRAM cards, and even with 100,000 users, it

Re: using skiplist for quotas.db

2007-01-19 Thread Kjetil Torgrim Homme
On Fri, 2007-01-19 at 07:49 -0500, Ken Murchison wrote: Rob Mueller wrote: The problem I saw was that accessing a skiplist db involves locking the entire file I believe. This felt like a huge point of contention, especially since every email delivered would lock it. I never did end up

Re: sieve autocreate

2007-01-18 Thread Kjetil Torgrim Homme
On Mon, 2007-01-15 at 16:58 +0100, Paul Dekkers wrote: P.S. I think it's the variable extension in sieve that could provide this, if not for the fact that setdate has been removed from the specification (which I think would be what I'm looking for) and that the variable extension is not

using skiplist for quotas.db

2007-01-18 Thread Kjetil Torgrim Homme
we're running Cyrus 2.2.12 on a server with many virtual domains and users. currently, we're using quotalegacy, but running quota(8) requires reading many directories (1736 to be exact) to enumerate the quota roots (keys) and opening the quota file for each of more than 100k users. usually, this

Re: Cyrus, Solaris 10, ZFS? (and NIS?)

2006-10-05 Thread Kjetil Torgrim Homme
On Thu, 2006-10-05 at 16:46 -0400, Chaskiel M Grundman wrote: mynewstate is taking 8s to run, and very little of the time is taken up in local subroutines. auth_unix.c:mynewstate calls getpwnam, and then iterates over all the groups using getgrent(), checking to see what groups the user is

64-bit quotas with 2.2.13

2006-09-27 Thread Kjetil Torgrim Homme
I tried to apply the patch for 2.2.12 to get quotas beyond 2 GiB, but it doesn't apply very well. has anyone ported it to 2.2.13? -- thanks, Kjetil T. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info:

Re: slow populating a mailbox

2006-09-25 Thread Kjetil Torgrim Homme
On Sun, 2006-09-24 at 23:17 -0700, Ross Boylan wrote: I've been using the UW-IMAP mailutil to copy messages from my regular Unix mailboxes (for mutt) to IMAP. The messages are all going to a single folder for a single user. My impression is that this is rather slow, about 20 minutes for

Re: Migrating from UW: Mailbox does not exist

2006-09-18 Thread Kjetil Torgrim Homme
On Mon, 2006-09-18 at 16:41 -0400, Jorey Bump wrote: I have another server to migrate, and would like these subdirectories to be recreated properly during the process, as there are many more accounts to move. Has anyone else encountered this and found a solution? how do you think imapsync

Re: sync_client bails out after 3 MAILBOXES need upgrading to USER in one run

2006-09-12 Thread Kjetil Torgrim Homme
On Tue, 2006-09-12 at 10:25 -0400, Wesley Craig wrote: Now that we have delayed expunge for messages, we continue to run tape backups only for the case where users inadvertently delete folders. interesting. is one of the replicas off-site? you don't worry about EMP or stuff like that?

Re: 5.1.1 User unknown bounces

2006-09-09 Thread Kjetil Torgrim Homme
On Fri, 2006-09-08 at 10:45 -0700, Andrew Morgan wrote: Otherwise, just let Sendmail queue the message and attempt to deliver the message to Cyrus. If the user does not exist, Cyrus will let Sendmail know during the LMTP handshake. DO NOT DO THIS! if your Sendmail accepts _all_ possible

Re: migrate_sieve.pl on twiki

2006-09-08 Thread Kjetil Torgrim Homme
On Fri, 2006-09-08 at 11:23 +0200, Rudy Gevaert wrote: Kjetil Torgrim Homme wrote: I don't know it, but perhaps my script does the job? The script on the wiki mentions it migrates procmail to sieve... aha... I have a script for this, too. it's not meant for unattended use since it's

Re: interaction of plus addressing and sieve

2006-09-05 Thread Kjetil Torgrim Homme
On Mon, 2006-09-04 at 21:55 -0700, Ross Boylan wrote: Does the use of plus addressing (user+folder.subfolder) bypass sieve? If not, how do they interact, for example if sieve specifies deliveries to locations other than folder.subfolder? it only changes the default folder for the keep command,

Re: creating mailbox from imap

2006-09-05 Thread Kjetil Torgrim Homme
On Tue, 2006-09-05 at 15:26 +0700, Superbiji wrote: Oops sorry guys, my mistake here ^^ the problem is admins: [EMAIL PROTECTED] yes actually i'm using [EMAIL PROTECTED] to login where should be: postmaster without @domain this is why obfuscation of logs and transcripts is bad, it

Re: To list admins: Reply-to address

2006-09-05 Thread Kjetil Torgrim Homme
On Tue, 2006-09-05 at 14:14 +0200, Daniel Eckl wrote: Rudy Gevaert wrote: yes, this is desired. read http://www.unicom.com/pw/reply-to-harmful.html How do you reply to list in thunderbird? I had a look, it seems there is no support for it, not even an extension. Well, just assumed

Re: common quota for a group of users?

2006-09-04 Thread Kjetil Torgrim Homme
On Mon, 2006-09-04 at 15:45 +0200, Szókovács Róbert wrote: Would [group quotas] be a commonly requested feature? Is there any plans to add it in the future? I can't remember seeing it requested before, so it's not common. would the group memberships be disjunct? where should the group

Re: Recently-APPENDed messages not showing up as RECENT responses after NOOP

2006-09-04 Thread Kjetil Torgrim Homme
On Mon, 2006-09-04 at 15:42 +0100, John J Lee wrote: On Mon, 4 Sep 2006, Kjetil Torgrim Homme wrote: oh yes, please use flags! Cyrus supports arbitrarily chosen flags by clients, see PERMANENTFLAGS. (of course, other IMAP servers aren't as advanced, so you may want to keep this wasteful

Re: Recently-APPENDed messages not showing up as RECENT responses after NOOP

2006-09-03 Thread Kjetil Torgrim Homme
On Sat, 2006-09-02 at 15:48 +, John J Lee wrote: The problem occurs when SpamBayes (specifically, sb_imapfilter.py) tries to add an X-Spambayes-Classification header to emails it has classified, in order to record whether it thought the mail was spam or not. It does that by creating a

Re: SQL Storage for fast retrieval from archives

2006-09-01 Thread Kjetil Torgrim Homme
On Fri, 2006-09-01 at 18:41 +0530, Ramprasad wrote: Hi, I am trying to use cyrus for my mail archives ( typically 1GB-10GB per user ) for say 100 users What is the best way of storing mails. There will not be much of add/delete from these archives but retrieval has to be fast on header

Re: To list admins: Reply-to address

2006-09-01 Thread Kjetil Torgrim Homme
On Fri, 2006-09-01 at 01:59 -0700, Nikola Milutinovic wrote: Could you do something about the Reply-to address? The way things are now, when I hit Reply button, I am sending mail to the original author of the message. What I subconsciously expect, is to send to the list, instead. don't hit

Re: deliver.db conversion to skiplist

2006-08-30 Thread Kjetil Torgrim Homme
On Tue, 2006-08-29 at 11:22 -0400, Shelley Waltz wrote: Aug 24 10:50:33 chipmunk lmtpunix[18963]: DBERROR: opening /var/lib/imap/deliver.db: Cannot allocate memory Aug 24 10:50:33 chipmunk lmtpunix[18963]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error Aug 24 10:50:33 chipmunk

Re: Problems authenticating using saslauthd w/LDAP

2006-08-30 Thread Kjetil Torgrim Homme
On Mon, 2006-08-28 at 13:39 -0700, Rob Tanner wrote: I've setup an IMAP server using Cyrus IMAP4 v2.2.3 which I've setup before without a problem. Authentication is handles through saslauthd. When I use /etc/shadow as the authentication mechanism (-a shadow), my test accounts log in just

Re: Problems authenticating using saslauthd w/LDAP

2006-08-30 Thread Kjetil Torgrim Homme
On Wed, 2006-08-30 at 20:13 +0200, Kjetil Torgrim Homme wrote: On Mon, 2006-08-28 at 13:39 -0700, Rob Tanner wrote: I've setup an IMAP server using Cyrus IMAP4 v2.2.3 which I've setup before without a problem. Authentication is handles through saslauthd. When I use /etc/shadow

Re: hardware recommendations for MURDER?

2006-08-30 Thread Kjetil Torgrim Homme
On Tue, 2006-08-29 at 12:24 +0200, Marten Lehmann wrote: How can I calculate how much CPU and memory I need for an average user with a maximum of 100 MB per mailbox and some larger mailboxes like 2 or 5 GB? inactive users don't require much resources at all ... it's really impossible to

Re: Sieve vacation rule not working..

2006-08-22 Thread Kjetil Torgrim Homme
On Mon, 2006-08-21 at 10:19 -0700, Joseph Silverman wrote: OK, I changed it to 3 days. Tried it again, no luck - no vacation notice sent and no error of any sort in logs. to force it to send more often in a test environment, you can clear the deliver.db (stop cyrus, delete the file, restart)

Re: Sieve vacation issue

2006-08-22 Thread Kjetil Torgrim Homme
On Tue, 2006-08-22 at 18:38 -0700, Kelsey Bjarnason wrote: Settings include keep a copy in the INBOX, marked as deleted, but no copy remains in the inbox. Responses get sent okay, but the email gets nuked. Any hints? post the script. -- Kjetil T. Cyrus Home Page:

Re: Sieve vacation rule not working..

2006-08-21 Thread Kjetil Torgrim Homme
On Sun, 2006-08-20 at 16:30 -0700, Joseph Silverman wrote: All the other rules/filters are working. vacation is NOT working (set it to 0 days between emails, assume that means answer each and every email) and still nothing. no, you're not allowed to shoot yourself in the foot with Sieve.

Re: Sieve vacation rule not working..

2006-08-20 Thread Kjetil Torgrim Homme
On Sun, 2006-08-20 at 11:14 +0200, former03 | Baltasar Cevc wrote: I never coded sieve myself (Horde ingo is my friend ;-) - however I think there should be quotes about the text. you can use either, notice he used the the text: construct which means the next lines until the . should be used

Re: How to restrict pop/imap access by user/group names

2006-08-15 Thread Kjetil Torgrim Homme
On Wed, 2006-08-16 at 01:21 +0200, former03 | Baltasar Cevc wrote: On 15.08.2006, at 19:11, Kai Wang wrote: Currently we use one imapd.conf file. We configured cyrus - saslauthd - pam - (cas) ldap to do authentication. We want to use pam.cas but haven't tested it yet. Using that

Re: Performance and cheap storage

2006-08-07 Thread Kjetil Torgrim Homme
On Mon, 2006-08-07 at 12:15 -0300, Henrique de Moraes Holschuh wrote: On Mon, 07 Aug 2006, Kjetil Torgrim Homme wrote: I think David is missing the issue: it's the proxied connection which is problematic, not the connection to the client. this locks the IP addresses to the frontend's

Re: Performance and cheap storage

2006-08-06 Thread Kjetil Torgrim Homme
On Sun, 2006-08-06 at 11:40 +1000, Bron Gondwana wrote: On Sat, 5 Aug 2006 16:02:44 -0700 (PDT), David Lang [EMAIL PROTECTED] said: On Sat, 5 Aug 2006, Bron Gondwana wrote: Your frontend only can make connections out using any port it likes, but there are only 65k of them, and at any

Re: Performance and cheap storage

2006-08-03 Thread Kjetil Torgrim Homme
On Tue, 2006-08-01 at 19:34 -0400, Greg A. Woods wrote: Is anyone here running enough concurrent IMAP/SSL connections to know if the SSL overhead chews up enough CPU to conflict with something like un-accellerated iSCSI (i.e. enough to also justify a crypto accellerator, perhaps as well as an

Re: delete some email inside user mailboxes

2006-08-03 Thread Kjetil Torgrim Homme
On Fri, 2006-08-04 at 01:31 +0800, Linux Nic wrote: Just concern is there anyway for me to delete some of the emails from particular sender inside few users mailboxes. Anyway to do it ? you can rm the files and run reconstruct and quota afterwards. you can do this while everything is

Re: Subscribe as admin for a user?

2006-07-12 Thread Kjetil Torgrim Homme
On Wed, 2006-07-12 at 11:48 -0400, Jason Englander wrote: Anyone know of a perl module or php function that will let the cyrus administrator-user subscribe a mailbox for a user without authenticating as that user and without using autocreate? well, the Mail::IMAPClient module for Perl has a

Re: Cyrus 2.3.7 Replication Question

2006-07-12 Thread Kjetil Torgrim Homme
On Thu, 2006-07-13 at 07:58 +1000, Robert Mueller wrote: It won't. Cyrus currently only supports unidirectional replication. You can make it work (we do), but you need 2 separate instances of cyrus on each machine, which basically means 2 start/stop scripts, 2 different ports/ips for each

Re: Removing duplicates from mail base

2006-07-07 Thread Kjetil Torgrim Homme
On Fri, 2006-07-07 at 22:24 +0800, Wouter van Marle wrote: I've a rather peculiar issue. I have a rather large archive of e-mails in the cyrus imap format. But due to copy errors while migrating to the cyrus server, I now have ended up with many many duplicate e-mails. And I'd like to take

Re: Removing duplicates from mail base

2006-07-06 Thread Kjetil Torgrim Homme
On Mon, 2006-07-03 at 22:10 +0800, Wouter van Marle wrote: I've a rather peculiar issue. I have a rather large archive of e-mails in the cyrus imap format. But due to copy errors while migrating to the cyrus server, I now have ended up with many many duplicate e-mails. And I'd like to take

Re: occasional delays in lmtpd

2006-07-06 Thread Kjetil Torgrim Homme
On Thu, 2006-07-06 at 20:53 +0100, Alan Thew wrote: On Thu, 6 Jul 2006 17:36 , Kjetil Torgrim Homme [EMAIL PROTECTED] said: we're running Cyrus 2.2.12 on RHEL3U7. about once a day (typically peak hours), we have a problem with lmtpd just hanging: Jul 6 13:36:27 mail-imap3 lmtpunix[1578

Re: Cyrus - Postfix - redirect mails from a special sender domain

2006-06-22 Thread Kjetil Torgrim Homme
On Thu, 2006-06-22 at 10:59 +0200, Sylvain MEDEOT wrote: Here is what I am using... if allof (address :contains [From,FROM] extspec.de) { redirect [EMAIL PROTECTED]; } just picking some Sieve nits, I hope you don't mind. the header field name is case insensitive, so you don't have to

Re: what is the best way to migrate

2006-06-22 Thread Kjetil Torgrim Homme
On Thu, 2006-06-22 at 20:53 +0200, Rudy Gevaert wrote: I had a look at the FAQ of imapsync and it seems that I can authenticate as the admin user, but authorize as a normal user. I hope that works! It would be great! yes, it works. For no downtime we would kick of the sync in advance, and

Re: Restrict who can connect by IP ... ?

2006-06-17 Thread Kjetil Torgrim Homme
On Sat, 2006-06-17 at 16:02 -0300, Marc G. Fournier wrote: Is it possible to restrict a specific service (ie. imap) so that it can only be connected to from a specific IP? For instance, imap from horde server while imaps is open to everywhere? if you have enabled TCP wrappers, yes -- see

Re: Restrict who can connect by IP ... ?

2006-06-17 Thread Kjetil Torgrim Homme
On Sat, 2006-06-17 at 17:56 -0300, Marc G. Fournier wrote: On Sat, 17 Jun 2006, Kjetil Torgrim Homme wrote: if you have enabled TCP wrappers, yes -- see cyrus.conf(5). in most cases, ipfilter, iptables or equivalent OS mechanism is just as easy to set up, IMHO. 'k, now my stupid

Re: Looking for a *good* X based GUI IMAP client for Cyrus IMAP ...

2006-06-15 Thread Kjetil Torgrim Homme
On Wed, 2006-06-14 at 20:51 -0300, Marc G. Fournier wrote: On Tue, 13 Jun 2006, Murray Trainer wrote: Evolution isn't perfect but it can do that. There is a show only subscribed folders button that is on by default but you can turn it off. Right, but that only gives you your inbox,

Re: Sieve doesn´t filter emails with words with accents

2006-06-15 Thread Kjetil Torgrim Homme
On Thu, 2006-06-15 at 16:33 +0200, Sandy Drobic wrote: Sebas PRE wrote: I would like to create a sieve filter to deliver to a folder all mail with leído: in the Subject: header, but it does not work. Because 8 bit characters are not allowed in header lines. You need to look for the

Re: Re[2]: strange delays in connecting to POP3 server

2006-06-08 Thread Kjetil Torgrim Homme
On Thu, 2006-06-08 at 09:21 +0300, Igor Belikov wrote: SD I would rather look at the log of the sql server. No errors. did you make sure it's not a problem with entropy for /dev/random? I never saw you reply to that suggestion. -- Kjetil T. Cyrus Home Page:

Re: SRS in cyrus sieve

2006-05-31 Thread Kjetil Torgrim Homme
On Wed, 2006-05-31 at 12:55 +0530, Ramprasad wrote: IMHO SPF works.If forwarded mails are the only thing SPF breaks and can be overcome with SRS, then Why not use it? it can be overcome with SRS -- if the whole world implements SRS! if we could get the whole world to change, we could make a

Re: SRS in cyrus sieve

2006-05-30 Thread Kjetil Torgrim Homme
On Fri, 2006-05-26 at 11:56 +0530, Ramprasad wrote: I am using cyrus-imapd-2.2.12-3 on centos. How can I enable SRS address rewriting in sieve I want all redirected mails ( vacation or forward ) to go with ids from my domain instead of ids of the from domain SPF doesn't work, don't use it,

Re: Sieve script question

2006-05-30 Thread Kjetil Torgrim Homme
On Tue, 2006-05-30 at 14:48 +0200, Lars Schimmer wrote: But if the person bonsai send a email to all, this email get sorted into the ALL folder AND into the bonsai folder. Doesn't the stop rule stop the execution of the script for this email? yes, stop stops execution of the script. How can

Re: ipurge excludes

2006-05-30 Thread Kjetil Torgrim Homme
On Sun, 2006-05-28 at 22:43 +0200, Sebastian Lemke wrote: I have configured ipurge to remove old mails like this: spamclean cmd=ipurge -f -d 7 user/*/Trash user/*/SPAM at=0415 Now I want to exclude one User from this rule – his Trash should never be purged. How can I do this ? set

Re: sieve proxy

2006-05-24 Thread Kjetil Torgrim Homme
On Mon, 2006-05-22 at 18:17 +0200, Rudy Gevaert wrote: Kjetil Torgrim Homme wrote: Thanks for you reply. We are not going to use Murder. We are going to use IMP and the Horde framework for Webmail. We could hack it the same way. However how do you resolve the ussues for non webmail

Re: Replication specifics

2006-05-24 Thread Kjetil Torgrim Homme
On Tue, 2006-05-23 at 17:16 -0400, Patrick Radtke wrote: On May 23, 2006, at 4:48 PM, David Korpiewski wrote: that currently only exists on the defunct master? If the replica updates every 10 seconds, then we have the potential to lose 10 seconds of email. Or worse case, the

Re: Implementing IMAP advice for first timer

2006-05-24 Thread Kjetil Torgrim Homme
On Wed, 2006-05-24 at 08:38 -0400, Chris Hilts wrote: Sebastian Hagedorn wrote: Don't bother with Courier, it's not a real IMAP server. It isn't? Since when? since the author started claiming the RFC is wrong, and Courier is right... -- Kjetil T. Cyrus Home Page:

Re: pop3 slow respond

2006-05-12 Thread Kjetil Torgrim Homme
On Fri, 2006-05-12 at 12:42 +0400, Andrey Kolbasenko wrote: The classic reason I've seen for behavior like this is lack of entropy leading to blocking reading /dev/random. The easy way to check is strace. The fix is to use something like rng-tools. BIG Thanks David! I remove /dev/random

Re: I want to migrate my server. does this procedure make sense. [VASCL:A141B92B730]

2006-05-03 Thread Kjetil Torgrim Homme
On Wed, 2006-05-03 at 11:34 -0400, Richmond Dyes wrote: I have a postfix 2 and cyrus 2.0 server on Redhat 7.2 I want to move this server to a redhat enterprise 4.3 server with postfix 2.1.5 and 2.2.12. I have analyzed it and thought this procedure would work 1. Install the new

Re: prepare large site migration

2006-05-01 Thread Kjetil Torgrim Homme
On Sun, 2006-04-30 at 21:42 +0200, Andrzej Kwiatkowski wrote: I'm preparing for migrating about 30k account from Netscape Messaging Server to Cyrus (yeah... cyrus rules, NMS sucks ;-) ) And now i want to find out the best solutions for this. NMS has very similar structure of mailboxes 1.

Re: More robust INDEXing

2006-05-01 Thread Kjetil Torgrim Homme
On Sun, 2006-04-30 at 16:26 -0400, Forrest Aldrich wrote: Slightly OT: however, there are a few programs out there that offer a richer indexing method (a la Google for your email). I wonder if there's a place for that somewhere in the Cyrus structure. There's obvious utility in a richer

Re: Allow plaintext and TLS

2006-04-04 Thread Kjetil Torgrim Homme
On Tue, 2006-04-04 at 16:07 -0400, Ken Murchison wrote: Richard Wohlstadter wrote: Hmm. I'm running Thunderbird on my local dev box (Cyrus 2.3 CVS) with allowplaintext:0 and its behaves just fine. Is your client configured for TLS or SSL. It works fine with SSL(the only option pre

Re: Help with a Sieve script

2006-04-04 Thread Kjetil Torgrim Homme
On Sat, 2006-04-01 at 09:54 -0500, Scott Bronson wrote: There are two simple Sieve scripts that I would like to write: I need to unconditionally save a copy of each incoming message, organized by the recipient's name. Is it possible to write a global Sieve script to do something like this?

Re: pop3 connection timeout lock problem

2006-03-27 Thread Kjetil Torgrim Homme
On Mon, 2006-03-27 at 09:33 -0800, Kevin McWilliams wrote: OK, that makes sense. I still don't understand why the timer is reset after each attempt to login. are you sure it is? the timer only runs for an idle connection. if the subsequent attempts quit cleanly, they won't affect the

Re: multiple vServers using same authentication backend ...

2006-03-27 Thread Kjetil Torgrim Homme
On Sat, 2006-03-25 at 02:21 -0400, Marc G. Fournier wrote: Basically, what I need to do is some sort of 'intermediary' process that runs on the database server, like saslauthd, that talks to the database and authenticates the passwd ... but doesn't give access to look at the passwords ...

Re: Any ideas? Cyrus takes 5 minutes to start

2006-03-18 Thread Kjetil Torgrim Homme
On Fri, 2006-03-17 at 22:03 +0200, Mika Iisakkila wrote: (Yes, I've always wondered myself what's happening back there too, but never bothered to find out. Apparently Cyrus does this in some brute-force way, one mailbox at a time -- in your truss segment, it seems to read in three megabytes'

Re: Any ideas? Cyrus takes 5 minutes to start

2006-03-13 Thread Kjetil Torgrim Homme
On Mon, 2006-03-13 at 09:34 -0500, Rosenbaum, Larry M. wrote: We have just upgraded from an ancient version of Cyrus to a new one on some new hardware. I have discovered that Cyrus takes 4-5 minutes to start: Feb 25 13:42:15 email master[327]: process started Feb 25 13:42:15 email

Re: reoccuring DBERRORs

2006-02-24 Thread Kjetil Torgrim Homme
On Fri, 2006-02-24 at 21:39 +1100, Rob Mueller wrote: When I shut down Cyrus cleanly, which of the files in /var/lib/cyrus/db can be deleted safely along with deliver.db then? FYI, we're using 2.3 and have: duplicate_db: berkeley-nosync seenstate_db: skiplist subscription_db: flat

Re: Multiple SSL certificates

2006-02-20 Thread Kjetil Torgrim Homme
On Mon, 2006-02-20 at 10:48 +0600, mitrohin a.s. wrote: On Fri, Feb 17, 2006 at 11:56:00AM -0500, Rosenbaum, Larry M. wrote: How do I configure Cyrus to use multiple SSL certificates/private keys? I want users to be able to reach the server as either a.example.com or a.b.example.com. I

Re: migrating mailboxes between cyrus-imap servers

2006-02-11 Thread Kjetil Torgrim Homme
On Sat, 2006-02-11 at 21:57 +, Tony wrote: If I do this on a sample mailbox's seen list: /usr/lib/cyrus-imapd/cvt_cyrusdb /var/lib/imap/user/a/auser.seen flat /var/lib/imap/user/a/auser.seen.new skiplist then I get the following in /var/log/maillog: Feb 11 21:48:52 server

Re: servername not honored in imapd.c?

2006-02-08 Thread Kjetil Torgrim Homme
On Wed, 2006-02-08 at 16:50 -0500, Steve Huston wrote: In debugging a problem we've got since upgrading to Cyrus 2.3.1 (among other things), I discovered that at one point Pine checks to see if the name returned by the server is equal to the name that it thinks it connected to, and if not it

Re: cyrus email server in HA SAN configuration

2006-02-04 Thread Kjetil Torgrim Homme
On Fri, 2006-02-03 at 10:39 +0100, Sebastian Hagedorn wrote: --On 2. Februar 2006 22:36:25 +0100 Kjetil Torgrim Homme [EMAIL PROTECTED] wrote: we have an old installation, so we're using LVS (2 directors in active/active) in front of Perdition (2 frontends) in front of 16 Cyrus

Re: delivering to over-quota users based on sender

2006-02-02 Thread Kjetil Torgrim Homme
On Thu, 2006-01-26 at 14:19 +, Paul Haldane wrote: We're running a couple of largish cyrus (2.x) imap servers (with sendmail). Our admin people have come up with a request to be able to deliver messages (from certain email addresses) to people who have reached their mailbox quota. We

Re: Backup using lvm snapshot on linux

2006-02-02 Thread Kjetil Torgrim Homme
On Tue, 2006-01-31 at 10:36 +1030, Daniel O'Connor wrote: On Tuesday 31 January 2006 09:47, Timo Veith wrote: Which way would you recommend for copying: rsync, tar, cp or whatever? I am concerned about the databases that cyrus uses. Will they they be consistent afterwards. Is there anything

Re: imapd sieve: mail moved into date-name-folders

2006-02-02 Thread Kjetil Torgrim Homme
On Wed, 2006-02-01 at 17:28 +0100, Miro Dietiker, MD Systems wrote: Is there a simple way to script the deletion of mails in this box older than 2month or so? ipurge can do this, from our cyrus.conf: purgespam cmd=ipurge -X -d 14 -f user.%.spam at=0200 purgetrashcmd=ipurge -X -d 28

Re: cyrus email server in HA SAN configuration

2006-02-02 Thread Kjetil Torgrim Homme
On Thu, 2006-02-02 at 13:01 -0800, Chad A. Prey wrote: I am about to realize my dream of having a cyrus email server with Fibre Channel SAN storage. Could any of you out the that's got one of these beasts RUNNING IN PRODUCTION tell me your setup and overall results? I am thinking about

Re: a few questions

2006-01-21 Thread Kjetil Torgrim Homme
On Fri, 2006-01-20 at 04:13 -0800, Cap wrote: - Is it possible to keep the quota information in LDAP? not really. you certainly don't want to update LDAP with the quota usage for every received message. that said, we keep the quota limits in LDAP, and run a job every night to make sure the

Re: Cyrus deliver command

2005-12-10 Thread Kjetil Torgrim Homme
On Fri, 2005-12-09 at 14:36 -0500, Dahnke, Eric (Company IT) wrote: How can a person set the Subject and X- headers in an email using deliver. Suppose I need to have an email as formatted below delivered to a users mailbox. Can I just cat a file containing this text and pipe it to deliver? Thx

Re: traffic accounting for imap and pop

2005-11-30 Thread Kjetil Torgrim Homme
On Mon, 2005-11-28 at 22:05 +0100, Cristian Livadaru wrote: I'm just curios how other people handle this? Don't you use or need any traffic accounting for imap? no, bandwidth is cheap here. there must be someone that could give me a hint to a howto, a book, or anything that will help me with

Re: cyrus-imap + sieve

2005-07-20 Thread Kjetil Torgrim Homme
On Sat, 2005-07-09 at 16:53 +0200, Sebastian Fohler wrote: I sent a mail from my [EMAIL PROTECTED] account where this line is in the header: Return-Path: [EMAIL PROTECTED] so it should work, but it doesn't. you need to use the envelope test, Return-Path is not added to the message until it

Re: corrupted quota or index files

2004-12-21 Thread Kjetil Torgrim Homme
On man, 2004-12-20 at 14:20 +0100, Jure Pe_ar wrote: I've learned the hard way that qouta -f is doing bad things to my setup. While I have things under control now, unfortunately i still didn't find time to examine in detail what's going on. For now i suggest you to parse quota files directly.

corrupted quota or index files

2004-12-20 Thread Kjetil Torgrim Homme
we are running Cyrus imapd 2.2.10 with default database types. every morning, we run quota -f and parse the output so we can send warning messages to people close to or over their quota. on two occasions, this has gone terribly wrong, a lot of users have their quota usage jacked way up,

Re: Messages lost

2004-12-20 Thread Kjetil Torgrim Homme
On Fri, 2004-12-17 at 17:21 +0100, Jimmy Karlsson wrote: Noob question, I have very little experience with Cyrus and may have misunderstood everything. I have a problem with Cyrus losing messages (or I have misunderstood the log). The following three messages was simply lost. The common thing

a slightly confusing log message

2004-07-27 Thread Kjetil Torgrim Homme
after a fresh install compiled --with-idled I found this message in my syslog: idled[29245]: construct_hash_table called without a size idled[29245]: exiting the reason for this is trivial, it counts the number of mailboxes, and passes that on as the size. at this point, I had

Re: Using singleinstancestore on a large scale (thousands of recipients)

2004-01-13 Thread Kjetil Torgrim Homme
On Tue, 2004-01-13 at 13:02, Sebastian Hagedorn wrote: - can a single inode have 30,000+ links? We're using ext3 as this is the only file system supported by Red Hat. from /usr/include/linux/ext3_fs.h: /* * Maximal count of links to a file */ #define EXT3_LINK_MAX 32000 I don't

Re: Using singleinstancestore on a large scale (thousands of recipients)

2004-01-13 Thread Kjetil Torgrim Homme
On Tue, 2004-01-13 at 17:00, Earl R Shannon wrote: I may have made an invalid assumption. The perl script I mentioned in my last post runs on the IMAP server itself. No need for an MTA to get involved. I assumed the initial poster was doing the same. BTW, deliver is simply a wrapper to lmtpd

Re: Is Reiserfs better than ext3

2004-01-12 Thread Kjetil Torgrim Homme
On Fri, 2004-01-09 at 16:46, mb wrote: At 17:54 +0530 Ramprasad A Padmanabhan wrote: I am having around 2000 users on my cyrus server ( redhat 9.0 ) someone told be I should reformat my partition in Reiserfs rather that ext3 and I will get a great perlformance improvement ..until you get

Re: SQUAT failed to open index file

2004-01-12 Thread Kjetil Torgrim Homme
On Thu, 2004-01-08 at 19:37, Ken Murchison wrote: Jan 8 16:07:52 vwclub imap[16435]: SQUAT failed to open index file Jan 8 16:07:52 vwclub imap[16435]: SQUAT failed It means that a client did a SEARCH on the mailbox and a SQUAT index file (created by squatter which accelerates SEARCH)

Re: Master Daemon command line arguments.

2004-01-06 Thread Kjetil Torgrim Homme
On Tue, 2004-01-06 at 15:48, Rob Siemborski wrote: On Tue, 6 Jan 2004, Oliver Jones wrote: That is kinda lame. ;) It would be really handy to only have to pass those variables to the master daemon and have them propagate down. Obviously with a way to override them per service/event if

Re: Master Daemon command line arguments.

2004-01-06 Thread Kjetil Torgrim Homme
On Wed, 2004-01-07 at 02:25, Oliver Jones wrote: On Wed, 2004-01-07 at 12:24, Kjetil Torgrim Homme wrote: I added a small patch which makes Cyrus' utilities add $CYRUS_PATH to the front when looking for its configuration files. Is this patch in the Cyrus 2.2.2 BETA codebase? (please don't

Re: Exim4 delivery to Cyrus21 mail folders :-(

2004-01-05 Thread Kjetil Torgrim Homme
On Tue, 2004-01-06 at 03:19, Jim Archer wrote: I have been trying to get Exim4 to deliver into a Cyrus21 mail folder. All that happens is that the message ends up in the Inbox. hmpf, you could at least point out that you were posting the same message to two different lists. preferably you'd

Re: delivering to all users

2003-10-29 Thread Kjetil Torgrim Homme
On Wed, 2003-10-29 at 16:24, Rob Siemborski wrote: On Wed, 29 Oct 2003, Alexander Brill wrote: Is there an easy way to deliver a message to all my users? Would be handy in sending out system messages. This is an MTA level thing, well, you could use a shared folder (ie. a folder outside

reconstruct and uidvalidity

2003-10-28 Thread Kjetil Torgrim Homme
we recently had major problems with a disk system, and had to roll files back from tape. running reconstruct -f -r user mostly did the trick, but some users had issues with the clients not showing them new e-mail messages. what has happened, I think, is that they had messages 1,2,3 in their

Re: reconstruct and uidvalidity

2003-10-28 Thread Kjetil Torgrim Homme
On Tue, 2003-10-28 at 16:45, Rob Siemborski wrote: On Tue, 28 Oct 2003, Kjetil Torgrim Homme wrote: assuming my understanding is correct, I think we need a flag to reconstruct to force bumping up UIDVALIDITY. (a good thing Cyrus uses a timestamp for this -- we don't have to worry about

Re: Questions about LDAP schema and Multi-Domain IMAP

2003-03-05 Thread Kjetil Torgrim Homme
[Jonathan Marsden]: That combination certainly seems to work fine here, in a multi-server multi-domain international directory and email deployment. OpenLDAP 2.0.27 and cyrus-sasl-2.1.7 or -2.1.10 or -2.1.12 have all worked (currently on Red Hat 7.3, on x86 SMP hardware). yeah,

Re: Questions about LDAP schema and Multi-Domain IMAP

2003-03-05 Thread Kjetil Torgrim Homme
[Jonathan Marsden]: That combination certainly seems to work fine here, in a multi-server multi-domain international directory and email deployment. OpenLDAP 2.0.27 and cyrus-sasl-2.1.7 or -2.1.10 or -2.1.12 have all worked (currently on Red Hat 7.3, on x86 SMP hardware). yeah,