and again sql md5 passwords.
Hello there, More SASL question but anyways.. Is there any possible way nowadays to use sql stored md5 hashed passwords if only plain login is needed? have to connect cyrus imapd to existing user database. Using pam and then sql seems like overhead for about 100.000 users at this moment, or not? Also Anyone using "alwaystrue" and will this be supported in future? We need cyrus as imap mail storage only, for local comunity website. All auth & usercheck is done by website and smtp/lmtp deliveries also checked against sql backend. -- Kristaps 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]: Cyrus managment from php..
JV> Anyone could share or point to some simple Cyrus managment JV> function list/class writenn in PHP based on sockets? JV> I guess pecl.php.net/cyrus is pretty out of date? Is there any way to query cyrus from admin user over imap connection to get back users partition? -- kristaps 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 managment from php..
Hi there! Anyone could share or point to some simple Cyrus managment function list/class writenn in PHP based on sockets? I guess pecl.php.net/cyrus is pretty out of date? -- kristaps 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: delete messages from the command-line?
Labvakar mikee, Thursday, May 24, 2007, 4:10:50 PM, Jus rakstijat: m> I use deliver to put messages directly into the inbox m> or some folder inbox.folder. Is there a similiar way m> to remove messages from a folder? I want to remove messages m> when a folder has more than 1000 messages or the messages m> are older than four days. man ipurge -- krisha 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: Moving mailboxes
Labdien Sebastian, Wednesday, May 23, 2007, 10:53:58 AM, Jus rakstijat: SH> we're using Cyrus 2.3.8. Our primary Cyrus partition is getting full. We've SH> added another one and all new users are created there. Still we need to SH> move some users from the old one to the new one. I know how to do that SH> (rename user/xxx user/xxx new). I have successfully moved my own mailboxes. SH> The thing is: how do I make sure that users being moved don't access their SH> mailboxes? I know I can check if somebody is currently logged in by SH> checking the files in /var/lib/imap/proc, but there doesn't seem to be a SH> way to temporarily disable login on an individual basis, is there? As here Cyrys server mostly is accesed by day, we have shedeules scripts, tad move users across partitions at night, and never had any problems. Somehow even if user was logged in @ that exact time. About same subject - anyone knows any php code / library that could help do this same renamemailbox from php scripts? And is there anywa quick way to change default-partition ? So when autocreate mailbox executes, is uses some random or whatever id for partitions? -- kristaps 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
Managing Cyrus partitions & managing from php?
Hello! Have done moving & upgrading here to 2.3.8 and brand new hardware. Old system was managed through perl using Cyrus::IMAP::Admin Moving user to another partition for balancing was easy: $client->renamemailbox("user/$username","user/$username",$partition) or warn "moveuser: " . $client->error; Anyone can sugest how to do this from php? And is there a way to quickly switch which partition is used by autocreate patch "partition-default: /var/spool/imap8" I read the patch and found function get_partition() before creation, but how it can be used? Else all users get partition "default". Thank you! Any help would be nice! ;) -- krisha 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: mboxlist differenece 2.1 vs 2.3 ?
Hello myself! :) Tuesday, March 13, 2007, 9:10:36 AM, I wrote: KA> Migrating here from Cyrus imap 2.1 to 2.3. KA> ctl_mboxlist -d output differs. KA> In old Cyrus 2.1: KA> user.krisha 1 krisha lrswipcda KA> user.krisha.sent-mail1 krisha lrswipcda KA> user.krisha.trash 1 krisha lrswipcda KA> In new Cyrus 2.3: KA> user.krisha0 1 krisha lrswipkxtecda KA> user.krisha.sent-mail 0 1 krisha lrswipkxtecda KA> user.krisha.trash 0 1 krisha lrswipkxtecda KA> Could someone please explain difference? And/or how should I KA> convert this dump to suit new 2.3 version? Found this @ctl_mboxlist manpage: -d Dump the contents of the database to standard output in a portable flat-text format. NOTE: In Cyrus versions 2.2.13 and earlier, the dump format did not include the mailbox type flags, breaking remote mailboxes (frontends, mupdate master, unified backends) when undumped. -u Load the contents of the database from standard input. The input MUST be in the format output using the -d option. NOTE: Both the old and new formats can be loaded, but the old format will break remote mailboxes. We have no remote mailboxes. Should we use the old format for restoring? We converted to "looks like new" format using this php script: But: $ ctl_mboxlist -u < MXBOXLIST.new ctl_mboxlist: cyrusdb_skiplist.c:1093: mystore: Assertion `key && keylen' failed. Aborted Any hints? Thank you! -- krisha 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]: Any points for 2.3 vs 2.2?
Hello, Thursday, February 22, 2007, 2:21:50 PM, Jus rakstijat: SM> 2.3.8 is not considered testing, it's called stable now. Just website says otherway ;) >> We use it as simple mailstorage with quotas accessed only >> from IMAP-webmail or pop3. >> Any solid pros? SM> For the standard features you are using, 2.3.8 seems as stable as 2.2.12 SM> but with some new functionality. This is more SASL question, but anyway. Is there any smooth way to use plaintext/login auth and store MD5 hashed passwords, in my case in SQL? Now looking at http://frost.ath.cx/software/cyrus-sasl-patches/ -- kristaps 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
Any points for 2.3 vs 2.2?
Hello! Are there any benefits from using 2.3 testing release, instead of 2.2.12 stable, if we don't use murder, shared mailboxes, virtual domains, NNTP? We use it as simple mailstorage with quotas accessed only from IMAP-webmail or pop3. Any solid pros? -- kristaps 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[4]: Migrating Cyrus 2 Cyrus new hardware
Hello, Saturday, January 27, 2007, 6:53:27 AM, Jus rakstijat: >> RG> With just about any filesystem, I would recommend smaller >> RG> partitions (250G or so). It really isn't any harder to >> RG> manage, and backup/restore/fsck will be much happier. Still about migrating 2.1.9 to 2.2.12 and new hardware. Shoud /var/imap/quota/* be copied? Or quota -f ? quota -f seems not to work in my tests till now. And /var/imap/user/* seems to bee the seen db files for each user? Can these be easely copied? Both on old & new server skiplist is used for seen db's. Thank you for any advice! ;) -- kristaps 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]: Migrating Cyrus 2 Cyrus new hardware
Hello info-cyrus, Thursday, January 25, 2007, 6:38:17 PM, Jus rakstijat: >> New setup is 2 boxes each with 2 partitions each ~2T. RG> What filesystem? ReiserFS, till know it worked good and fast with hell a lot of small files. RG> With just about any filesystem, I would recommend smaller RG> partitions (250G or so). It really isn't any harder to RG> manage, and backup/restore/fsck will be much happier. Even if that 2T partition is one 3ware raid controler with raid5 over some 6 disks? >> And what would be best way for quotas? All quotas will be >> lifted up afterwards, so I can recreate them and recound RG> Yeah, that would probably work best. What would be correct way to do that? quota -f ? -- kristaps 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
Migrating Cyrus 2 Cyrus new hardware
Hya there! We are trying to make big upgrade for our Cyrus server. Now we are running 2.1.9 on single server with 4 partitions and about 200.000 users! Each partition about 70G and 1.700.000 mail files. We thought to use 2.2.12 which is installed and checked already on new boxes. Or should we go with 2.3 as we don't use any shared folder/murder features? 99.9% users are using webmail to connect to Cyrus without any advanced features. New setup is 2 boxes each with 2 partitions each ~2T. Idea was that partitions 1-2 go to server1, and 3-4 to server2. Now we created rsync server exporting all old partitons and tried rsync whole big bunch of files to new servers, that takes a WHILE :D. Any faster way? rsync wiuld be good, because then everything is tried 4 times it would not be so much to rsync. I though I will copy mailfiles and then reconstruct mailboxes.db on each server, but reconstruct -m reconstructing mailboxes.db currently not supported :(( All auth is done in sql, so no problems migrating that. Should we dump mailboxes.db file, parse with some script to split it in 2, and then reconstruct on each server? And what would be best way for quotas? All quotas will be lifted up afterwards, so I can recreate them and recound with quota tool? Any advices will be greatly apreciated. Thx. -- kristaps 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]: Backup of Cryus IMAP [ ctl_mboxlist -d ]
Wednesday, February 12, 2003, 6:42:46 PM, You wrote: JAT> For a full restore, to guard against corrupting JAT> important database files I do ctl_mboxlist -d to a text file just before JAT> the backup, and then backup that file. ctl_mboxlist -d Gives me output like: user.ajoma default ajoma lrswipcda user.ajrina default ajrina lrswipcda user.ajuks default ajuks lrswipcda user.ajuss default ajuss lrswipcda Point is that i'm using: unixhierarchysep yes Is this mboxlist output correct? Just my 2p Q. -- KRISHA
username
Greetins cyrus usersm, What should be the best way to lowercase all username for incoming emails, so there would be no I/O errors? Should this be done in MTA, or there is some workaround in Cyrus? And what about 8BIT? I don't really get the point.. -- kristaps