Re: IMAP sync tool (rsync for IMAP)
Sort of like rsync for IMAP, if that makes sense. So far, the only tool I've found is imapsync: http://freshmeat.net/projects/imapsync/ Anyone tried it with Cyrus? Good/bad experiences? I just used it to move from 2.1 to 2.3, there were a handful of messages it didn't like (~30 out of a few hundred thousand messages) but it appears to have worked well enough to fix the last few messages manually. most of the errors were cases of invalid headers that 2.3 wouldn't accept, but 2.1 obviously did. I used it to move from Exchange 5.5 to Cyrus 2.3. The tool works great but like David quoted, there where some messages rejected cause of broken headers (Microsoft?!). Michael 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: IMAP sync tool (rsync for IMAP)
Florin Andrei wrote: Anyone tried it with Cyrus? Good/bad experiences? Are there any other tools that work better with Cyrus? I moved abotu 400Gig of mail from UW-imapd to cyrus a couple of months ago. Some messages where not synced because our old UW-imapd accepted broken messages. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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: Installtion error - cyrusdb_berkeley structure has no member named `set_lk_max'
On 12/14/2006 01:12 PM, Oliver Falk wrote: Am 2006-12-14 12:38, Oliver Falk schrieb: Hi Chaskiel! Am 2006-12-12 20:06, Chaskiel M Grundman schrieb: --On Tuesday, December 12, 2006 02:12:41 PM +0530 Pubudu Premachandra <[EMAIL PROTECTED]> wrote: cyrusdb_berkeley.c:176: error: structure has no member named `set_lk_max' set_lk_max has been deprecated since DB 4.0. I guess it was finally removed. The following patch may be used to work around this: [ ... ] Or you can downgrade to DB 4.3 (I don't know if 4.4 will work or not) I'm trying to rebuild my Cyrus IMAP rpm packge for 'Fedora Development'. Fedora just updated DB4 to 4.5.20. The above patch will - I expect, because the error with set_lk_max is the same - be needed for 4.5.20 as well. However; I just wanted to know if anyone has experience with DB 4.5 already or not!? If not with 4.4 I don't think anyone tried 4.5!? [ ... ] Just switched to 4.5.20, because imapd started to spot many db4 errors with compat-db-4.3.29. For now only seendb is not working correctly... -of 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
user and realm splitting in cyrus/ldap
Hello, I'm using Cyrus with saslauthd using ldap. When I am testing the setup with testsaslauthd it works fine. But when I am authenticating through cyrus (imap login) then I notice in the saslauthd logs, that cyrus seems to split the credentials. I'm using virtual domains, so a login looks like [EMAIL PROTECTED] Through cyrus saslauthd receives [user=test] [service=imap] [realm=test.com] [mech=ldap] but with testsaslauthd it receives [EMAIL PROTECTED] [service=imap] [realm=] [mech=ldap] as I expected it. How can I tell cyrus not to split it up to realms? 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
Re: diplay quota for all users
> On Thu, 2006-12-21 at 14:39 -0600, Rafael Mahecha wrote: >> I would like to see the quota for all my users and output that to a >> file... I tried the command bellow in a test server, but I'm still a >> little reluctant to try it on my production server. >> >> su - cyrus -c "/usr/lib64/cyrus-imapd/quota" >> > /mailstore/quotas_list.txt >> >> >> Is there anything to keep in mind while running the command? >> Is there are quota database (I did not see one)? >> Should cyrus be stopped while doing this? >> Are teh any flags/options to the cyrus quota command? > > Quotas are stored in plain text files in /var/imap/quota. That's not tue for all systems. Depending on which Cyrus version you use, quota can be stored using different backend, the one you say is quota_legacy. Using quota(8) always works and is therefore recommended. Simon > Directory is hashed by user's login first character ( 'q' if it's > not in 'a'-'z' range ). > Filename is user's mailbox name ( eg. 'user.' ). > First line is current usage in bytes > Second line is user's quota in kilobytes. > > Example: > > mail1# pwd > /var/imap/quota > mail1# cat m/user.mjawimap > 866269772 > 1024000 > > mjawimap user has 1GB quota and uses about 825MB out of it > ( 84% usage ). > > Bottomline is you can play with these files without any restrictions. > You can change it, generate manually or from robot and it will all > be seen properly by cyrus. > > Mentioned everyday quota warning checker can be a simple oneliner > then. > > M. > > -- > Miros³aw "Psyborg" Jaworski > GCS/IT d- s+:+ a C++$ UBI$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O- > M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y? >"I didn't fight my way to the top of the food chain to be a > vegetarian." > > > 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: user and realm splitting in cyrus/ldap
> Hello, > > I'm using Cyrus with saslauthd using ldap. When I am testing the setup > with testsaslauthd it works fine. But when I am authenticating through > cyrus (imap login) then I notice in the saslauthd logs, that cyrus seems > to split the credentials. I'm using virtual domains, so a login looks > like [EMAIL PROTECTED] Through cyrus saslauthd receives > > [user=test] [service=imap] [realm=test.com] [mech=ldap] > > but with testsaslauthd it receives > > [EMAIL PROTECTED] [service=imap] [realm=] [mech=ldap] > > as I expected it. How can I tell cyrus not to split it up to realms? Did you check the "-r" switch of saslauthd? Simon > > 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 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: user and realm splitting in cyrus/ldap
Marten Lehmann wrote: Hello, I'm using Cyrus with saslauthd using ldap. When I am testing the setup with testsaslauthd it works fine. But when I am authenticating through cyrus (imap login) then I notice in the saslauthd logs, that cyrus seems to split the credentials. I'm using virtual domains, so a login looks like [EMAIL PROTECTED] Through cyrus saslauthd receives [user=test] [service=imap] [realm=test.com] [mech=ldap] but with testsaslauthd it receives [EMAIL PROTECTED] [service=imap] [realm=] [mech=ldap] as I expected it. How can I tell cyrus not to split it up to realms? You have to set the ldap_filter correctly: ldap_filter: Specify a filter. The following tokens can be used in the filter string: %% = % %u = user %U = user portion of %u (%U = test when %u = [EMAIL PROTECTED]) %d = domain portion of %u if available (%d = domain.tld when %u = [EMAIL PROTECTED]), otherwise same as %r %1-9 = domain tokens (%1 = tld, %2 = domain when %d = domain.tld) %s = service %r = realm %D = user DN (available for group checks) The %u token has to be used at minimum for the filter to be useful. If ldap_auth_method is 'bind', the filter will search for the DN (distinguished name) attribute. Otherwise, the search will look for the 'ldap_password_attr' (see below) attribute. In my case it is: ldap_filter: (&(umMailObjectStatus=enabled)(umCyrusStatus=enabled)(umLogin=%u%R)) So that it looks for [EMAIL PROTECTED] 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 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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
Anyone used consilient2 BB Push for Cyrus?
Has anyone heard anything about or used Consilient 2 software for pushing e-mail to BlackBerry thru IMAP? I haven't heard anything about the company or the product but we are wanting to move all our corporate users from Exchange 2000 with BES to Cyrus-IMAP. The only problem is we can't find any push (especially BB-push) software that fits with Cyrus. According to the press release this company does exactly that. So has anyone had any experience with it? Below is a link to the press release: http://consilient.com/products/consilient2/ Thanks a ton! -Sam 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
(no subject)
I am currently charged with administering our 1 semester old Cyrus server. When the server was introduced a policy was written which stated that emails over a certain age would be deleted. I can find no such function or feature in Cyrus or it's associated tools. Does anyone know of a means to accomplish this? Thanks Larry Wickham [EMAIL PROTECTED] Systems Operations Specialist Eastern New Mexico University 1500 S. Ave K Portales, NM 88130 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: (no subject)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wickham, Larry wrote: > I am currently charged with administering our 1 semester old Cyrus > server. When the server was introduced a policy was written which stated > that emails over a certain age would be deleted. I can find no such > function or feature in Cyrus or it's associated tools. Does anyone know > of a means to accomplish this? Check out the manpage for 'ipurge'. Make sure you educate your users about this policy; unless you're only purging mail from specific folders (Trash, Sent, or something similar), you're setting your users up for unexpected mail loss. Chris [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFjB2p98ixrK2vMtARAm1tAJ4sioDkFlrkBo0x8veX6uiWNDXxPwCdFMzC f7/EgZJdZWJhjb91mFIK5Z0= =3lQH -END 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: Anyone used consilient2 BB Push for Cyrus?
On Fri, 2006-12-22 at 11:08 -0600, Sam Egelhof wrote: > Has anyone heard anything about or used Consilient 2 software for > pushing e-mail to BlackBerry thru IMAP? > > I haven't heard anything about the company or the product but we are > wanting to move all our corporate users from Exchange 2000 with BES to > Cyrus-IMAP. The only problem is we can't find any push (especially > BB-push) software that fits with Cyrus. According to the press release > this company does exactly that. > > So has anyone had any experience with it? > > Below is a link to the press release: > > http://consilient.com/products/consilient2/ I haven't used it, but I've spoken to them about it and AFIACT, you still need to install their software on the handheld. You might also want to look at Notify (http://www.notifycorp.com), I've heard this is the product that Sun uses internally to sync between Blackberrys and Sun Messaging Server (or whatever it's called these days). Either option is pricey. 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: Anyone used consilient2 BB Push for Cyrus?
Has anyone heard anything about or used Consilient 2 software for pushing e-mail to BlackBerry thru IMAP? I haven't heard anything about the company or the product but we are wanting to move all our corporate users from Exchange 2000 with BES to Cyrus-IMAP. The only problem is we can't find any push (especially BB-push) software that fits with Cyrus. ? Funambol does IMAP/POP mail sync over SyncML and supports both RIM and Windows Mobile. http://www.funambol.org 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: IMAP sync tool (rsync for IMAP)
On Thu, 2006-12-21 at 15:47 -0800, Florin Andrei wrote: > I'm currently using two IMAP accounts, one on Cyrus-2.2 the other on > Cyrus-2.3. > > The one on Cyrus-2.3 will get decomissioned so I need to transfer all my > email, preserving the folders/subfolders tree, under a specific folder > (oldmail/foo/bar) on the 2.2 server. > I need to do the bulk of the transfer sometime soon, then sync up again > a few times after that, until the day the account on the 2.3 server gets > nuked. > > Essentially, I need a tool that I can point at servers A and B and tell > it "get all the email from my account on server A to a specific folder > on my account on server B, preserving the subfolders hierarchy". > The tool needs to be smart enough to repeat the operation later on but > then it must only transfer the new messages. > The tool may run on one or the other IMAP servers, or even on a 3rd > machine, since it should be network-based. Pretty much all systems are > Linux 'round here, some Windows stragglers too. > > Sort of like rsync for IMAP, if that makes sense. > > So far, the only tool I've found is imapsync: > > http://freshmeat.net/projects/imapsync/ > > Anyone tried it with Cyrus? Good/bad experiences? > > Are there any other tools that work better with Cyrus? I've been using mailutil from the UW-IMAP suite, after seeing some recommendations for it on this list and with my distro. However, as far as I know, it won't automatically operate recursively over your mailboxes (it might: I haven't been looking for that feature). As some other messages I've posted attest, I've been surprised how slowly I can stuff messages into the cyrus server. My guess is the problem is with cyrus, but it might be with mailutil. Parallelizing the copies speeds things up quite a bit, and in my tests I get the best performance with ext3 partitions mounted noatime. I'll post more results when I finish trying out some other filesystems. -- Ross Boylan wk: (415) 514-8146 185 Berry St #5700 [EMAIL PROTECTED] Dept of Epidemiology and Biostatistics fax: (415) 514-8150 University of California, San Francisco San Francisco, CA 94107-1739 hm: (415) 550-1062 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: IMAP sync tool (rsync for IMAP)
On Thu, Dec 21, 2006 at 03:47:26PM -0800, Florin Andrei wrote: > Essentially, I need a tool that I can point at servers A and B and tell > it "get all the email from my account on server A to a specific folder > on my account on server B, preserving the subfolders hierarchy". > The tool needs to be smart enough to repeat the operation later on but > then it must only transfer the new messages. > The tool may run on one or the other IMAP servers, or even on a 3rd > machine, since it should be network-based. Pretty much all systems are > Linux 'round here, some Windows stragglers too. > > Sort of like rsync for IMAP, if that makes sense. > > So far, the only tool I've found is imapsync: > > http://freshmeat.net/projects/imapsync/ > > Anyone tried it with Cyrus? Good/bad experiences? > > Are there any other tools that work better with Cyrus? Another thing you might want to consider is offlineimap: http://software.complete.org/offlineimap/ It's a pile of multithreaded python, but don't let that put you off! I've found it quite robust for IMAP -> Maildir usage (Indeed, I'm replying to this message via Mutt using local Maildirs which are kept synchronised with my FastMail (Cyrus 2.3.7+patches) IMAP account). Imap <=> Imap usage I found less robust in that it sometimes got confused when it had been killed in the middle of operations. If you didn't keep killing it all the time (my usage patterns were pretty strange) it was better - and also I think if you had a server which supports UID PLUS like Cyrus does then it would be safer. Give it a look though. apt-get install offlineimap works on pretty much any sane linux these days :) (I believe you can even get it with apt4rpm, though that's not my particular kink) Regards, Bron. 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