Re: cyrus and global filtering
On Nov 28, 2006, at 1:57 PM, Johannes Egger wrote: tagged as spam by spamassassin into a user's "spam" folder, with a minimum of maintenance (e.g. I'd like to automatically create the folder and subscribe the user to it). I have been told and read on the web that sieve scripts only work on a per-user basis. My users use the squirrelmail "avelsieve" plugin to modify filtering rules. I have considered solving the problem using "plus addressing", e.g. "[EMAIL PROTECTED]" but so far I have not been successful. Any help? You need an "anyone p" ACL on the spam folder so that mail can be delivered to it. I have a patch for 2.3.7 that makes use of the auto create folders options to automatically add that ACL to to auto create folders that you specify. Of course you have to create and add for existing users but new users should be fine. If you want it let me know and I will send it to you. I have been meaning to clean it up and publish it, however I found a few bugs with another part of the code that I want to send in at the same time. -- Andre Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: NFSv4, anyone?
> To summarize, the situation isn't that different from the 'normal' > situation. After all, even a single instance of cyrus running on one > machine contains multiple imapds (at least abt one per connection, on > my current, non-clustered system, abt 1500 at a time). And they all > access the same config dir, the same spool. They are permorming just the > waltz you mentioned - with file locks. They don't communicate by other > means than the file system. The master process only spawns them. The > same works with 'independent' instances as well. Read the threads. There > are at least two sites doing just the thing mentioned, having had it in > production use for years. Thank you Janne for this insight. Your line about master spawning multiple imapd instances shed a lot of light. I realize you are right. I stand corrected. > To spare you some time in reading through the threads, here is a pointer > to some relevant information: > > http://irbs.net/internet/info-cyrus/0607/0449.html Thanks. Now, one question that is a bit off topic, why is NFSv4 locking so bad? Couldn't they (Powers that Be) fix it, so it behaves like a normal (albeit, networked) file system? Nix. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyrus and global filtering
Dear list, I run cyrus 2.1.18 and postfix 2.1.5 on a linux debian box, 2.6.8 kernel. I use cyrdeliver as a delivery agent for postfix, procmail is not involved. I am wondering whther it is possible to use global filtering scripts with cyrus, similar to /etc/procmailrc. The reason I ask - maybe there are other ways to do this - is that I would like to filter mails tagged as spam by spamassassin into a user's "spam" folder, with a minimum of maintenance (e.g. I'd like to automatically create the folder and subscribe the user to it). I have been told and read on the web that sieve scripts only work on a per-user basis. My users use the squirrelmail "avelsieve" plugin to modify filtering rules. I have considered solving the problem using "plus addressing", e.g. "[EMAIL PROTECTED]" but so far I have not been successful. Any help? Thanks, Johannes Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: frontend-to-backend lmtp auth: only admins may authenticate
* Peter Schober <[EMAIL PROTECTED]> [2006-11-23 19:49]: > everything works fine if 'frontend' is listed under 'admins:' on the > backends, but "Setting up the backends ..."[0] like in the docs: [...] > leads me to including 'frontend' just in 'lmtp_admins' and > 'proxyservers': [...] > lmtp_admins: frontend ^ my bad. a co-worker changed the lmtp servicename in cyrus.conf to 'Blmtp' (to make things more grep-able on a central loghost), but didn't change it in imapd.conf as well. setting it to Blmtp_admins in this case fixed it. mfg, -p.schober -- [EMAIL PROTECTED] - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: 2.6 Kernel and POP issues
-- "Robert T. Covell" <[EMAIL PROTECTED]> is rumored to have mumbled on 28. November 2006 10:35:40 -0600 regarding RE: 2.6 Kernel and POP issues: Looking over my start up scripts I found that the system is using urandom and not random. That doesn't have to do anything with anything. Should I be using the compile option: --with-egd-socket From the configure explanation I would not think so. No. You should use --with-devrandom=/dev/urandom. -- Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10 Zentrum für angewandte Informatik - Universitätsweiter Service RRZK Universität zu Köln / Cologne University - Tel. +49-221-478-5587 pgpnEcySmijbL.pgp Description: PGP signature Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus::IMAP::Admin with SSL? (Marten Lehmann)
Marten, if you're writing your own scripts, download the IMAP::Admin Perl module from CPAN and use that, instead. It will let you connect via SSL. Karl Boyken Hello, how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL? Currently I am using Cyrus::IMAP::Admin->new($server, $port); Regards Marten -- Karl Boyken, system administrator [EMAIL PROTECTED] 303A MLH, Dept. of Comp. Sci. http://www.cs.uiowa.edu/~boyken/ The U. of Iowa, Iowa City, IA 52242 319-335-2730 (voice) 319-335-3668 (fax) smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus HA & LB cluster summary
On Tue, Nov 28, 2006 at 05:28:02PM +0100, Michael Menge wrote: > > the Cyrus (HA and LB) Cluster question seems to popup very often the > last months. With this post I try to summarize the info of the posts > of the > following threads: Thanks. This is valuable information. > The following shared Filesystems seem support the file-locking > > GFShttp://sources.redhat.com/cluster/gfs/ > Lustre http://www.lustre.org/ > NFSv4 http://www.nfsv4.org/ > Polyserve CFS http://www.polyserve.com > Veritas CFS > http://www.symantec.com/enterprise/products/overview.jsp?pcid=1020&pvid=209_1 Sun Cluster Filesystem also supports file locking and other POSIX semantics on a cluster. It's part of Sun Cluster, which is a free product. -- -Gary Mills--Unix Support--U of M Academic Computing and Networking- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus::IMAP::Admin with SSL?
Hello, how can I connect to the Cyrus-Server with Cyrus::IMAP::Admin through SSL? Currently I am using Cyrus::IMAP::Admin->new($server, $port); Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus HA & LB cluster summary
Hi, the Cyrus (HA and LB) Cluster question seems to popup very often the last months. With this post I try to summarize the info of the posts of the following threads: - Cyrus IMAP and MySQL mailboxes (Building load-balancing cluster) - NFSv4, anyone? - Cyrus, clusters, GFS - HA yet again - High availability email server. - Cyrus & Lustre I found some older threads which might be of intresst, but not upto date anymore: - Cyrus 2.3 on shared filesystems - Playing with replicated murder - Using a SAN/GPFS with cyrus - high-availability again - Two Cyrus servers - Cyrus, NFS and mail spools - multiple cyruses via SAN - Cyrus/NFS/SMB - No NFS? Ok, how about GFS/GPFS If some points are incorrect please feel free to correct them. These are the setups for Cyrus in a HA and/or LB Cluster - DNS / Perdition load balancing The users are split on several Cyrus server and DNS or Perdition is used to direct the user to the correct server. This setup is only a static LB cluster and it is not possible to share mailboxes between users on different servers. But this setup is very easy and there are no problems because there are no shared filesystems. In case one server crashes the some of the users will have no access to the mails. Mails may be lost depending on the kind of crash, the storage and the backup. - Murder setup In this setup the users are split on several backends that are connected via frontendservers. This setup allows shared folders between users on different backends. This is like the DNS / Perdition setup only a LB cluster, but users can be moved easy from one backendserver to another. In case of crash this setup does not differ from the setup above. - Replication Replication can be add to the two setups above. But you need either additional servers or you have to take care to set up replication server and client on one Cyrus server/backend. Replication is only in Cyrus 2.3.x and this setup needs manual intervention i case of failure. In this case the MUPDATE master / DNS / Perdition has to be set to point to the new server. With scripts it should be possible to do this automatical. The replication is asynchron so you might lose some mails. - Shared filesystem Active/Passive This setup can add HA to a normal Cyrus server by storing the Mails and databases on a shared filesystem and monitoring the server with heartbeat. This setup should work with every shared filesystem and there should be no problems with bdb - Shared filesystem Active/Active In this setup all users are on all server. The mailboxes and databases are on a shared filesystem so that changes on one server are visible on all other servers. Cyrus depends on the file-locking of the filesystem. NFSv4, GFS, Lustre, and some other shared filesystem affirm that they have file-locking across cluster nodes. The sockets, lock- and pid-files have to stay on a local filesystem or have to be made unique across cluster nodes. BDB seems to have problems in this setup, because the changes of the lock in the mmaped files are not instantly on all clients/nodes and the use of shared memory. You have to compile Cyrus without bdb-support to get rid of the errors. This setup needs no extra servers, and all use the same configuration. In case of server crash the user use one of the other servers. The server can be replaced with an clone of one of the other servers. The storage should be too on a HA cluster to make the whole mailsystem ha. The Active/Active Shared filesystem setup is discussed controvers. This setup is not widely used and therefor not tested that mutch. But Dave McMurtrie and Scott Adkins have reported of sucsessfull installations The following shared Filesystems seem support the file-locking GFShttp://sources.redhat.com/cluster/gfs/ Lustre http://www.lustre.org/ NFSv4 http://www.nfsv4.org/ Polyserve CFS http://www.polyserve.com Veritas CFS http://www.symantec.com/enterprise/products/overview.jsp?pcid=1020&pvid=209_1 M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen smime.p7s Description: S/MIME krytographische Unterschrift Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folders containing messages and subfolders
On Tue, 2006-11-28 at 15:48 +, Kevin Clark wrote: > Hi, > > Does Cyrus IMAP support the ability to have folders that may contain both > messages and subfolders? > > The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests > that no Linux IMAP server using the Mailbox format supports this feature. > > Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT > support folders containing both messages and subfolders? No, Cyrus has its own mailbox format that allows mailbox to contain both subfolders and messages. Z Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: 2.6 Kernel and POP issues
Looking over my start up scripts I found that the system is using urandom and not random. Should I be using the compile option: --with-egd-socket >From the configure explanation I would not think so. If in fact urandom is being used and the entropy pool is working would there be anything else I can look at to gleam light on the issue? Thanks, -Bob rc.S Snippet # Carry an entropy pool between reboots to improve randomness. if [ -f /etc/random-seed ]; then echo "Using /etc/random-seed to initialize /dev/urandom." cat /etc/random-seed > /dev/urandom fi # Use the pool size from /proc, or 512 bytes: if [ -r /proc/sys/kernel/random/poolsize ]; then dd if=/dev/urandom of=/etc/random-seed count=1 bs=$(cat /proc/sys/kernel/random/poolsize) 2> /dev/null else dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null fi chmod 600 /etc/random-seed -Original Message- From: Wesley Craig [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 6:17 PM To: Robert T. Covell Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: 2.6 Kernel and POP issues On 27 Nov 2006, at 18:20, Robert T. Covell wrote: > Other articles I have read reference how to set it up. My setup seems > to be similar to what I have seen. From the below article it is > possible that I need to fill up the entropy pool. Are their other > ways > to do this aside from running find /.? Or examples of how to > "tune" it > (if possible). Assuming this is the problem, the "fix" is to use /dev/urandom rather than /dev/random. The difference is that /dev/urandom always returns bytes, whether or not there is sufficient entropy. Another fix would be to run on a machine with a hardware entropy generator. > If this turns out to be the issue does anyone know what would have > changed from 2.4 to 2.6 (which I know is a lot), but in regards to > entropy? Linux 2.4 didn't have a secure /dev/random, at least not be default. 2.6 does by default. :wes Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folders containing messages and subfolders
> Hi, > > Does Cyrus IMAP support the ability to have folders that may contain both > messages and subfolders? Yes, Cyrus IMAP supports messages and subfolders in folders. > > The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests > that no Linux IMAP server using the Mailbox format supports this feature. > > Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT > support folders containing both messages and subfolders? No, Cyrus IMAP uses it's own message store. Simon Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folders containing messages and subfolders
> Does Cyrus IMAP support the ability to have folders that may contain both > messages and subfolders? Absolutely, yes. > The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests > that no Linux IMAP server using the Mailbox format supports this feature. Cyrus doesn't use Mailbox. Mailbox sucks and is ancient. > Does Cyrus IMAP use the Mailbox format No! > and, if so, does it therefore NOT > support folders containing both messages and subfolders? It supports just about everything you can conceive of doing with an IMAP server. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folders containing messages and subfolders
Kevin Clark wrote: Hi, Does Cyrus IMAP support the ability to have folders that may contain both messages and subfolders? The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests that no Linux IMAP server using the Mailbox format supports this feature. Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT support folders containing both messages and subfolders? Cyrus does not store mail in mbox format, and it does support folders containing both messages and subfolders. Thanks, Dave Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folders containing messages and subfolders
--On Tuesday, November 28, 2006 15:48 + Kevin Clark <[EMAIL PROTECTED]> wrote: Hi, Does Cyrus IMAP support the ability to have folders that may contain both messages and subfolders? The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests that no Linux IMAP server using the Mailbox format supports this feature. Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT support folders containing both messages and subfolders? By 'Mailbox format' they seem to mean 'mbox' format. When that format is used, a 'mail folder' is either a directory containing other folders or a file containing messages. Cyrus does not use mbox format, and its 'mail folders' can contain both messages and other folders. Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Folders containing messages and subfolders
Hi, Does Cyrus IMAP support the ability to have folders that may contain both messages and subfolders? The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests that no Linux IMAP server using the Mailbox format supports this feature. Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT support folders containing both messages and subfolders? Many thanks, Kevin Clark Connection Software Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus IMAP and MySQL mailboxes (Building load-balancing cluster)
On Tue, 2006-11-28 at 08:01 -0600, Gary Mills wrote: > On Tue, Nov 28, 2006 at 11:54:55AM +0300, Igor Zhbanov wrote: > > I need to build mail system without using uncommon hardware such as > > shared storage connected via SCSI or fiber channel. I need > > "software-only" solution. Can you recommend me what kind of clustered > > filesystem and/or network block devices to use? GFS, DRBD-0.8, > > something else? What is better, reliable and more tested? > In that case, you should consider iSCSI for shared storage. It has > the advantage that the host connections are ordinary ethernet. And you can setup an ordinary LINUX box as an iSCSI target. http://linux-iscsi.sourceforge.net/ http://www.cuddletech.com/articles/iscsi/index.html http://www.cs.uml.edu/~mbrown/iSCSI/ Of course I really don't understand an attitude of I-really-need-HA but an unwillingness to buy real SAN hardware. Real SANs are rigorously tested and optimized to do exactly what they do more so than what you will be able to accomplish with an ordinary host box. "What is better, reliable and more tested?" A real SAN. On the software side GFS is widely used, maybe not for Cyrus, but it is stable. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Deferred...
> Hello, > > I try to send mail with my fresh Cyrus 2.2, but /var/log/mail.log says: > > Nov 28 15:05:39 linux postfix/lmtp[3227]: 8337317785EB: > to=<[EMAIL PROTECTED]>, relay=none, delay=0.14, delays=0.07/0.05/0.02/0, > dsn=4.4.1, status=deferred (connect to > linux.lokaal.netwerk[/var/run/cyrus/socket/lmtp]: No such file or > directory) > > In /etc/postfix/main.cf I have: > mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp Check master.cf, maybe your lmtp runs chrooted, which is not the default anymore with current postfix. Simon > > Postfix can access /var/run/cyrus/socket/lmtp: > linux:/home/paul# ls -l /var/run/cyrus/socket/lmtp > srwxrwxrwx 1 root root 0 2006-11-28 15:03 /var/run/cyrus/socket/lmtp > linux:/home/paul# ls -ld /var/run/cyrus/socket > drwxr-x--- 2 cyrus lmtp 4096 2006-11-28 15:03 /var/run/cyrus/socket > linux:/home/paul# ls -ld /var/run/cyrus > drwxr-xr-x 3 cyrus mail 4096 2006-11-28 14:07 /var/run/cyrus > linux:/home/paul# grep lmtp /etc/group > lmtp:x:1001:postfix > > I don't understand what's wrong... > > With regards, > Paul van der Vlis. > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Deferred...
Simon Matter schreef: >>Hello, >> >>I try to send mail with my fresh Cyrus 2.2, but /var/log/mail.log says: >> >>Nov 28 15:05:39 linux postfix/lmtp[3227]: 8337317785EB: >>to=<[EMAIL PROTECTED]>, relay=none, delay=0.14, delays=0.07/0.05/0.02/0, >>dsn=4.4.1, status=deferred (connect to >>linux.lokaal.netwerk[/var/run/cyrus/socket/lmtp]: No such file or >>directory) >> >>In /etc/postfix/main.cf I have: >>mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp > > Check master.cf, maybe your lmtp runs chrooted, which is not the default > anymore with current postfix. I've changed this: lmtp unix - - - - - lmtp to this: lmtp unix - - n - - lmtp And now it works! Thanks! With regards, Paul van der Vlis. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Deferred...
Hello, I try to send mail with my fresh Cyrus 2.2, but /var/log/mail.log says: Nov 28 15:05:39 linux postfix/lmtp[3227]: 8337317785EB: to=<[EMAIL PROTECTED]>, relay=none, delay=0.14, delays=0.07/0.05/0.02/0, dsn=4.4.1, status=deferred (connect to linux.lokaal.netwerk[/var/run/cyrus/socket/lmtp]: No such file or directory) In /etc/postfix/main.cf I have: mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp Postfix can access /var/run/cyrus/socket/lmtp: linux:/home/paul# ls -l /var/run/cyrus/socket/lmtp srwxrwxrwx 1 root root 0 2006-11-28 15:03 /var/run/cyrus/socket/lmtp linux:/home/paul# ls -ld /var/run/cyrus/socket drwxr-x--- 2 cyrus lmtp 4096 2006-11-28 15:03 /var/run/cyrus/socket linux:/home/paul# ls -ld /var/run/cyrus drwxr-xr-x 3 cyrus mail 4096 2006-11-28 14:07 /var/run/cyrus linux:/home/paul# grep lmtp /etc/group lmtp:x:1001:postfix I don't understand what's wrong... With regards, Paul van der Vlis. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
notifyd memory leak
This is somewhat of a long shot, but maybe someone has seen this problem. On all of our Cyrus backends, we've seen the memory size of the notify daemon will monotonically increase until all swap space is eventually taken up: PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND 16338 cyrus 1 590 4082M 1309M sleep 21:12 0.00% notifyd We can recover the memory, of course, by restarting cyrus master, but this is still an annoyance. We are running a rather old version of cyrus (2.1.5) so if this has been fixed in a later version that's fine; I checked the release notes and couldn't find an explicit fix for notifyd. Thanks, Tod Pike -- Tod Pike Manager of Enterprise Services School of Computer Science Carnegie Mellon University, Pittsburgh, Pa Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus IMAP and MySQL mailboxes (Building load-balancing cluster)
On Tue, Nov 28, 2006 at 11:54:55AM +0300, Igor Zhbanov wrote: > I need to build mail system without using uncommon hardware such as > shared storage connected via SCSI or fiber channel. I need > "software-only" solution. Can you recommend me what kind of clustered > filesystem and/or network block devices to use? GFS, DRBD-0.8, > something else? What is better, reliable and more tested? In that case, you should consider iSCSI for shared storage. It has the advantage that the host connections are ordinary ethernet. -- -Gary Mills--Unix Support--U of M Academic Computing and Networking- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus IMAP and MySQL mailboxes (Building load-balancing cluster)
> 2006/11/27, Janne Peltonen <[EMAIL PROTECTED]>: >> On Sat, Nov 25, 2006 at 11:56:20PM +0300, Igor Zhbanov wrote: >> > So, what is the best way to build load-balancing Cyrus IMAP cluster? >> > Nginx, perdition, Cyrus IMAP Aggregator, Cyrus IMAP murder, Cyrus IMAP >> > replication? >> >> You forgot the simplest one: Cyrus IMAP on a cluster with no >> replication, no murder, no nothing, but on a (really working) clustered >> FS and no BDB. Oh yeah, you still have to have some way to make the >> system appear to be a single system to the users. I'm probably going to >> use just a simple round-robin DNS, but you could use an LVS frontend or >> something similar, if you want real load-balancing. >> >> It really all depends upon what you need. I prefer the aforementioned >> solution because I think it is very simple at the application level (if >> not the FS level). > I need to build mail system without using uncommon hardware such as > shared storage connected via SCSI or fiber channel. I need > "software-only" solution. Can you recommend me what kind of clustered > filesystem and/or network block devices to use? GFS, DRBD-0.8, > something else? What is better, reliable and more tested? >From what I know GFS is no help here because it needs a shared storage for it. And DRBD can IIRC be accessed only from one server at a time, which means you could probably build a failover system but not an active-active cluster. Simon Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus IMAP and MySQL mailboxes (Building load-balancing cluster)
2006/11/27, Janne Peltonen <[EMAIL PROTECTED]>: On Sat, Nov 25, 2006 at 11:56:20PM +0300, Igor Zhbanov wrote: > So, what is the best way to build load-balancing Cyrus IMAP cluster? > Nginx, perdition, Cyrus IMAP Aggregator, Cyrus IMAP murder, Cyrus IMAP > replication? You forgot the simplest one: Cyrus IMAP on a cluster with no replication, no murder, no nothing, but on a (really working) clustered FS and no BDB. Oh yeah, you still have to have some way to make the system appear to be a single system to the users. I'm probably going to use just a simple round-robin DNS, but you could use an LVS frontend or something similar, if you want real load-balancing. It really all depends upon what you need. I prefer the aforementioned solution because I think it is very simple at the application level (if not the FS level). I need to build mail system without using uncommon hardware such as shared storage connected via SCSI or fiber channel. I need "software-only" solution. Can you recommend me what kind of clustered filesystem and/or network block devices to use? GFS, DRBD-0.8, something else? What is better, reliable and more tested? Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html