Re: CalDav CardDav webmail client ?
A bit on the heavy side, but Nextcloud's agenda component is CalDAV and can access external CalDAV/ICS calendars. However its mail client will only access its own address book (which is CardDAV). Xav Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: How to retrieve unread status from backup ?
... aaand it worked like a charm ! I spent way more time setting up a new serveur from the backup than doing the flags restore. Thanks again ! Xav Le jeudi 30 mars 2017 à 09:49 +0200, Xavier Bestel a écrit : > Thanks a lot Bron, precisely the kind of thing I was looking for :) > > Regards, > Xav > > Le mercredi 29 mars 2017 à 12:12 -0500, Bron Gondwana a écrit : > > Actually, if you restore from backup to another Cyrus instance and > > can log in it's very easy using search-extended: > > > > telnet restoreserver 143 > > . login username password > > . select INBOX > > . UID SEARCH RETURN () UNSEEN > > * ESEARCH (TAG ".") UID ALL > > 1015337,1015340:1015366,1015378:1015379,1015381,1015384 > > . logout > > > > telnet productionserver 143 > > . login username password > > . select INBOX > > . uid store 1015337,1015340:1015366,1015378:1015379,1015381,1015384 > > -flags \Seen > > . logout > > > > And you're done :) Repeat the search for any other mailbox. > > > > Bron. > > > > On Wed, 29 Mar 2017, at 10:34, James Cassell wrote: > > > On Wed, Mar 29, 2017, at 04:18 AM, Xavier Bestel wrote: > > > > Hi, > > > > > > > > I have done an unfortunate "mark all as read" on my mailbox, > > > > and > > > > I'm > > > > not one of those "mailbox zero" guys. So I have lost some > > > > valuable > > > > information. But I have some (old) backups. > > > > > > > > So my question is: how do I retrieve the "read/unread" status > > > > from the > > > > (not so recent) backup, and how can I reapply it to my running > > > > server > > > > (which continues to receive mails regularly) ? > > > > > > > > > > > > > You could do it with some invocations of imapsync. The quickest > > > way would also restore any messages you may have deleted since > > > your > > > backup. Do an imapsync run with your backup server as "host1" > > > and > > > your live server as "host2". > > > > > > How I'd do it would be to take several steps: > > > 1. Sync from your live server to a temporary server (or temp > > > folder > > > on the same server). > > > 2. Apply a unique imap flag to all messages in the temporary > > > server > > > 3. sync from your backup to the temporary server. This will > > > clear > > > the unique flag on sync'ed messages. > > > 4. delete from the temporary server all messages that still have > > > the unique flag. > > > 5. sync from the temporary server back to the live server. > > > 6. delete the temporary server > > > > > > Hope that helps! > > > > > > V/r, > > > James Cassell > > > > > > Cyrus Home Page: http://www.cyrusimap.org/ > > > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cy > > > ru > > > s/ > > > To Unsubscribe: > > > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > > > > > > > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: How to retrieve unread status from backup ?
Thanks a lot Bron, precisely the kind of thing I was looking for :) Regards, Xav Le mercredi 29 mars 2017 à 12:12 -0500, Bron Gondwana a écrit : > Actually, if you restore from backup to another Cyrus instance and > can log in it's very easy using search-extended: > > telnet restoreserver 143 > . login username password > . select INBOX > . UID SEARCH RETURN () UNSEEN > * ESEARCH (TAG ".") UID ALL > 1015337,1015340:1015366,1015378:1015379,1015381,1015384 > . logout > > telnet productionserver 143 > . login username password > . select INBOX > . uid store 1015337,1015340:1015366,1015378:1015379,1015381,1015384 > -flags \Seen > . logout > > And you're done :) Repeat the search for any other mailbox. > > Bron. > > On Wed, 29 Mar 2017, at 10:34, James Cassell wrote: > > On Wed, Mar 29, 2017, at 04:18 AM, Xavier Bestel wrote: > > > Hi, > > > > > > I have done an unfortunate "mark all as read" on my mailbox, and > > > I'm > > > not one of those "mailbox zero" guys. So I have lost some > > > valuable > > > information. But I have some (old) backups. > > > > > > So my question is: how do I retrieve the "read/unread" status > > > from the > > > (not so recent) backup, and how can I reapply it to my running > > > server > > > (which continues to receive mails regularly) ? > > > > > > > > > You could do it with some invocations of imapsync. The quickest > > way would also restore any messages you may have deleted since your > > backup. Do an imapsync run with your backup server as "host1" and > > your live server as "host2". > > > > How I'd do it would be to take several steps: > > 1. Sync from your live server to a temporary server (or temp folder > > on the same server). > > 2. Apply a unique imap flag to all messages in the temporary server > > 3. sync from your backup to the temporary server. This will clear > > the unique flag on sync'ed messages. > > 4. delete from the temporary server all messages that still have > > the unique flag. > > 5. sync from the temporary server back to the live server. > > 6. delete the temporary server > > > > Hope that helps! > > > > V/r, > > James Cassell > > > > Cyrus Home Page: http://www.cyrusimap.org/ > > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyru > > s/ > > To Unsubscribe: > > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > > Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
How to retrieve unread status from backup ?
Hi, I have done an unfortunate "mark all as read" on my mailbox, and I'm not one of those "mailbox zero" guys. So I have lost some valuable information. But I have some (old) backups. So my question is: how do I retrieve the "read/unread" status from the (not so recent) backup, and how can I reapply it to my running server (which continues to receive mails regularly) ? Regards, Xav Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: cyrus 2.3.16 ssl/tls and no deleting message on Samsung galaxy
On Fri, 2011-12-30 at 07:49 +0100, Per olof Ljungmark wrote: > On 12/29/11 18:54, Xavier Bestel wrote: > > On 12/28/2011 09:00 AM, Josef Karliak wrote: > >> Hi there, > >> it maybe some error or bug somewhere - we use Samsung galaxy S2, android > >> 2.3.3. I've set it up as a imap client. When I delete a message, it > >> disapears from the phone email list. After "renewing" mail box the > >> deleted message is in the new messages again. > > > > I'm interested in a solution if you find one. > > We use k9mail for our droids with Cyrus and it works quite well, at > least much better than the built-in client. I like K9Mail, but it has its share of problems. The worst for me is that it sometimes pegs the CPU to 100% for no reason, which drains the battery fast. Anyway I'd like the stock mail client to work with Cyrus. Thanks, Xav Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: cyrus 2.3.16 ssl/tls and no deleting message on Samsung galaxy
On 12/28/2011 09:00 AM, Josef Karliak wrote: > Hi there, > it maybe some error or bug somewhere - we use Samsung galaxy S2, android > 2.3.3. I've set it up as a imap client. When I delete a message, it > disapears from the phone email list. After "renewing" mail box the > deleted message is in the new messages again. I'm interested in a solution if you find one. Thanks, Xav Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Exec'ing a script from Cyrus when imapd has a client
On Thu, 2009-11-12 at 13:47 -0500, Greg A. Woods wrote: > Use SMTP to breech the unreliable link! It's safe, proven, and designed > for that very task! ... and not an option at some mail providers, which are mandatory for some people because they are their employer whose mail they must read. For transferring from a POP-only server to an IMAP-enabled server, there's not much else than fetchmail, like it or not. Xav 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: Exec'ing a script from Cyrus when imapd has a client
Le jeudi 12 novembre 2009 à 13:53 -0500, Greg A. Woods a écrit : > I'd very much like to stop anyone from offering such hacks as > "solutions" to others though, especially when there are perfectly good > alternatives which don't violate any protocol layers and which are > infinitely more robust and reliable. You dispense a lot of stop energy on this list, with dubious technical arguments to justify your point. Do you gain anything if Cyrus doesn't fulfill the needs of some users ? Xav 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: Exec'ing a script from Cyrus when imapd has a client
On Tue, 2009-10-27 at 08:58 -0400, Adam Tauno Williams wrote: > On Tue, 2009-10-27 at 08:18 +0100, Rudy Gevaert wrote: > > To me using offlineimap to sync my mailbox I much faster than doing > > IMAP over slow links. It also gives me a backup of my mailbox very > > easily. > > I'm thinking about using imapsync for a backup solution. I've moved by > Cyrus server to a hosted VM at linnode and I'm currently just rsync'ing > to a local physcial box for backup. But that kind of stinks. I used imapsync to upgrade cyrus (from 1.5 to 2.3), it seems like a pretty solid piece of software. At least it worked like a charm in my case. Xav 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: Exec'ing a script from Cyrus when imapd has a client
On Mon, 2009-10-26 at 10:07 -0700, David Lang wrote: > On Mon, 26 Oct 2009, Greg A. Woods wrote: > > > At Fri, 23 Oct 2009 13:37:30 -0700 (PDT), David Lang > > wrote: > > Subject: Re: Exec'ing a script from Cyrus when imapd has a client > >> > >> I possibly missed it, but I didn't see anything that said that fetchmail > >> was > >> grabbing things via IMAP. > > > > Yup, I think you missed it. > > > >> if you have intermittent/expensive-per-min internet connectivity doing > >> something > >> like this has value. > > > > Nope, not really. All modern useful IMAP clients can work offline too. > > > > All another IMAP server is doing is adding to the complexity _and_ > > decreasing, i.e. lowering, the robustness of the overall solution. > > > >> another reason to run your own server is just to be free from quotas. many > >> ISPs > >> have small mail quotas. > > > > All modern useful IMAP clients can also store message locally -- moving > > them from server to server, or server to local (or back), is as simple > > as selecting and saving/dragging messages between folders. > > in my mind, having the IMAP client copy all messages to the local drive goes > a > long way to defeating the benifits of using IMAP in the first place. The drive is not exactly local, it's on a separate server (which does mainly mail and file server), which is accessed remotely or not, depending on who uses it and when. > what do you consider a 'modern IMAP client' that is actually reasonably > efficiant to use? there are a lot of 'IMAP clients' out there that treat IMAP > as > if it was POP (downloading everything and then working on it locally, taking > _no_ advantage of the server capabilities) I am interested in finding such a > client because at the moment I am using pine and mulberry, both of which are > very good at using the server, but not exactly 'modern'. I admit I have yet to find the ideal IMAP client, efficiency-wise. But that's another problem. Xav 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: Exec'ing a script from Cyrus when imapd has a client
On Mon, 2009-10-26 at 12:36 -0400, Greg A. Woods wrote: > At Fri, 23 Oct 2009 13:37:30 -0700 (PDT), David Lang > wrote: > Subject: Re: Exec'ing a script from Cyrus when imapd has a client > > > > I possibly missed it, but I didn't see anything that said that fetchmail > > was > > grabbing things via IMAP. > > Yup, I think you missed it. > > > if you have intermittent/expensive-per-min internet connectivity doing > > something > > like this has value. > > Nope, not really. All modern useful IMAP clients can work offline too. > > All another IMAP server is doing is adding to the complexity _and_ > decreasing, i.e. lowering, the robustness of the overall solution. > > > another reason to run your own server is just to be free from quotas. many > > ISPs > > have small mail quotas. > > All modern useful IMAP clients can also store message locally -- moving > them from server to server, or server to local (or back), is as simple > as selecting and saving/dragging messages between folders. - not all mail providers do IMAP. - not all mail providers doing IMAP guarantee unlimited storage or lifelong mail availability. - some users have accumulated mail providers and want to centralize everything in a trusted server That's what I do with Cyrus: fetching mail from various POP3 sources, and having all where we can access it, from several IMAP clients. That you may find this solution not optimal isn't the question (nor really my problem, in fact), I just wanted my server to rest a bit when unused (spinning off the drives array has measurable power gains), so I wanted to be able to know when Cyrus has connected users. Thanks, Xav 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: Exec'ing a script from Cyrus when imapd has a client
Hi, Le mardi 20 octobre 2009 à 22:22 +0200, steff...@gmx.de a écrit : > maybe logsurfer (or something similar) would be of help, you could > monitor your cyrus logs with it and run fetchmail accordingly: > > http://www.crypt.gen.nz/logsurfer/ > http://sourceforge.net/projects/logsurfer/ That may be an answer, yes. However I'd have preferred if the signal came from Cyrus directly (I think it'sa more robust solution). Thanks, Xav 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: Exec'ing a script from Cyrus when imapd has a client
Le mardi 20 octobre 2009 à 13:00 -0700, David Lang a écrit : > On Tue, 20 Oct 2009, Greg A. Woods wrote: > > > At Tue, 20 Oct 2009 19:36:24 +0200, Xavier Bestel > > wrote: > > Subject: Exec'ing a script from Cyrus when imapd has a client > >> > >> I have a small install with cyrus-imapd 2.3.14, which reads some of its > >> mails with fetchmail. To limit the delay in mail delivery, fetchmail > >> awakes each minute to get mails. > >> What I would like is let fetchmail do that only when there's a client > >> actually reading its mails, i.e. an MUA actually connected to imapd. > > > > I don't get it. Are you saying you are using fetchmail to inject > > messages into a locally running Cyrus install which you then connect to > > with a locally running IMAP MUA? > > I think what he is saying is that he does not have a MTA. he uses fetchmail > to > download mail from elsewhere and put it in cyrus. > > currently he crons fetchmail to run once a min so that when people are logged > in > they see new mail with low latencies. > > however, if nobody is logged in to Cyrus, this is a waste of time, and he > would > be better off running fetchmail less frequently (or not at all). > > so he is asking if there is a way to tell if anyone is connected to Cyrus or > not, so that if not he can skip the fetchmail run. Yes, that's it, precisely. Xav 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
Exec'ing a script from Cyrus when imapd has a client
Hi, I have a small install with cyrus-imapd 2.3.14, which reads some of its mails with fetchmail. To limit the delay in mail delivery, fetchmail awakes each minute to get mails. What I would like is let fetchmail do that only when there's a client actually reading its mails, i.e. an MUA actually connected to imapd. So, my question: how to hook a script each time a client connects/disconnects from imapd ? Thanks, Xav 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