Re: Formatting Messages
David Blewett wrote: I've tested out several different IMAP servers in the last few years (Courier, DBMail, now Cyrus). All my personal mail is currently in DBMail, and I'm trying to migrate it to Cyrus. I've got archives of a few mailing lists that run to the thousands of messages. Interspersed throughout these are random messages that apparently have bare newlines or invalid headers. When trying to move the entire folder, I'll get these often reported errors. Is there a way to move the messages that do not have malformed headers, and leave the rest? I want to move as much as I can to Cyrus, but I really don't want to have to try each message seperately. Alternatively, is there a tool to repair the messages with errors? I've tried having 2 IMAP accounts in Thunderbird, and moving from one to the other. I've tried mailutil, offlineimap, and mbsync with no luck. Any tips would be appreciated! David Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Try, http://freshmeat.net/projects/imapsync/ /Casper Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: Formatting Messages
Try imapsync - http://www.linux-france.org/prj/imapsync/README Here is an example of the syntax: imapsync --host1 198.74.48.3 --user1 username1 --password1 secret1 --host2 198.74.48.10 --user2 username2 --password2 secret2 --noauthmd5 --include '^ANYFOLDERNAME' --subscribe Regards, Leon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Blewett Sent: Wednesday, November 02, 2005 9:40 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Formatting Messages I've tested out several different IMAP servers in the last few years (Courier, DBMail, now Cyrus). All my personal mail is currently in DBMail, and I'm trying to migrate it to Cyrus. I've got archives of a few mailing lists that run to the thousands of messages. Interspersed throughout these are random messages that apparently have bare newlines or invalid headers. When trying to move the entire folder, I'll get these often reported errors. Is there a way to move the messages that do not have malformed headers, and leave the rest? I want to move as much as I can to Cyrus, but I really don't want to have to try each message seperately. Alternatively, is there a tool to repair the messages with errors? I've tried having 2 IMAP accounts in Thunderbird, and moving from one to the other. I've tried mailutil, offlineimap, and mbsync with no luck. Any tips would be appreciated! David Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Implementing shared folders and bulletin boards ala O'Reilly's Managing IMAP
Hi List- I feel like I should know the answer to this/these questions after having read as much documentation as I now have, but I don't. I've also carefully searched the mailing list archives for answers to these questions but don't see them there either. I have checked the documentation included with my cyrus package, but it's not specific enough to help me past this point. I'm using cyrus imap 2.2.12 on a gentoo system for virtual domains and everything works fine. I'd like to implement some shared folders and bulletin boards (using the meanings of those concepts from O'Reilly's Managing IMAP book which I realize is out of date but seems to be the most complete documentation available for IMAP in general if not the most accurate because of its age). As I said, everything works fine for individual private mail boxes for me in multiple hosted domains. Specific questions: 1) Is it possible to make a bulletin board folder (with a per-user seen state) that is accessible to only those users with accounts in the same virtual domain as the bulletin board? 2) Is it possible to make a bulletin board folder (with a per-user seen state) that is accessible to only a subset of those users? 3) If yes, exactly how does one go about doing so? I've read about the postuser setting in imapd.conf. I'm thinking that I'll leave this at the default empty string value. I've read about how to post messages to such a bulletin board in list archives, but not how to create the bulletin board in the first place. O'Reilly's book explains the difference between Shared Folders and Bulletin Boards as follows: from page 167: Shared folders and bulletin boards are ordinary Cyrus mailboxes with ACLs that allow more than one user access to the mailbox. There is really not much difference between shared folders and bulletin boards: they are both Cyrus mailboxes, and both allow users other than the mailbox owner to access the mailbox with the permissions defined in the mailbox's ACL. But... Shared Folders: ...owned by an individual user who wants to allow other users access to the mailbox. An additional feature of a shared folder is that, other than the read flag, it does not retain message state information that is unique per user. Message information like deleted and important is global to all users. That feature could be useful if it is desirable to preserve state information across accesses by different users. If you use a shared folder for a group of users, such as a Helpdesk, chances are you will want to preserve the seen and answered states across sessions, to provide a sort of work flow for the Helpdesk employees. Bulletin Boards: A Cyrus mailbox that is owned by the system, rather than by an individual user. Bulletin boards are generally used when it is desirable to maintain a per-user seen state. Good uses for bulletin boards are forums such as Usenet groups and Internet mailing lists. I'd like to experiment with both of these concepts and I think I know how to do so with shared folders (create a user.joesharedfolder type top-level mailbox, then create any desired sub-folders under it like user.joesharedfolder.public and then adjust folder ACLs accordingly) but I have no clue for how to do so with bulletin boards. O'Reilly's book spends about a page and a half describing how to implement shared folders and it seems clear enough. However, it devotes only a third of a page to implementing bulletin boards and there is nothing specific in that section at all about creating the mailbox. I've seen hints in the list archives about creating a mailbox called bb.bulletinboard. Is this user.X and bb.X syntax important to Cyrus imapd? I've always created mailboxes with user. as the prefix to any user's inbox and whatever follows the dot is the username and email address (without the @domain.com of course). Never tried anything else because I've never seen that described in any other way. Can someone give me some specific detailed information on creating a bulletin board (rather than a shared folder as defined herein)? Maybe even including cyradm commands? Along the same lines, could folks share examples of how they are using these two different concepts in their organizations? I want to make a public folder (or several; either shared folders or bulletin boards) for a number of different uses, and I may want per-user state information or I may not want per-user state information depending on which use I have in mind, but the implications of that distinction seem at least a little bit subtle to me. When O'Reilly says that shared folders have message states (like deleted or important) that are global to all users, I wonder what else is global. Is it only the seen message state that is different for each user with shared folders or some other states as well? I realize that specific answer is addressed by the book (and included above) but that's also five years old now. I can't help but wonder if these
How to fully enable those last mulberry binaries
Hi All- I just noticed that Cyrusoft went bankrupt. I saw the last copies of Mulberry on their website and noticed that they were up to version 4. I've been running version 3 for a long time and am not sure if I would need new licenses and serial numbers for enabling the software in v4 or if my s/n for version 3 will work with the v4 software. Can anyone comment on this or does anyone know how to reach the folks at Cyrusoft now given their financial filings? I'd really like to have fully functional version 4 of that MUA. Very nice. What a shame that they're going away... TIA. -Kevin Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: How to fully enable those last mulberry binaries
On Thu, Nov 03, 2005 at 09:18:43AM -0500, Kevin wrote: Hi All- I just noticed that Cyrusoft went bankrupt. I saw the last copies of Mulberry on their website and noticed that they were up to version 4. I've been running version 3 for a long time and am not sure if I would need new licenses and serial numbers for enabling the software in v4 or if my s/n for version 3 will work with the v4 software. Can anyone comment on this or does anyone know how to reach the folks at Cyrusoft now given their financial filings? I'd really like to have fully functional version 4 of that MUA. Very nice. What a shame that they're going away... And what a shame that mulberry has to go down with them. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
mailbox listed twice
For some of our users I see the following when listing their mailboxes. user.des2004.Professors and Faculty (\HasNoChildren) user.des2004.Professors and Faculty (\Noselect \HasChildren) The mailbox is listed twice. Sometimes clients (Apple Mail) get confused by this (sometime you can store messages in the folder, and other times you can't) Mailbox is only listed once in the mailboxes.db Anyone know why this happens? Using cyrus 2.3. thanks, Patrick Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyrus, procmail and postfix
Hi all, I know that this subject has been discussed before, but i can't find a solution and i am struggling with this problem. I am using cyrus and postfix for a while now but i want to start using $HOME/.procmailrc and /etc/procmailrc. I started with /etc/procmailrc but i don't get it to work. This is what my config files look like: /etc/postfix/main.cf mailbox_command = /usr/bin/procmail -a $EXTENSION /etc/postfix/master.cf procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} /etc/procmailrc DELIVER=/usr/lib/cyrus/bin/deliver LOGFILE=/tmp/proclog LOGABSTRACT=all :0 c | $DELIVER -a mailings -m user.mailings Does anyone have a clue how to get this (and $HOME/.procmailrc) working? Thanks in advance. -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus SML ACAP Server
Are there any browswers that actually support using this yet? Firefox does not - I posted a question a while back on the Firefox forums, suggesting this functionality would be very good to have. _F Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyrus, procmail and postfix
I tried going down this road as well. Then I realized I should just use sieve which is the part of Cyrus and works very well. /Paul On Nov 3, 2005, at 9:49 AM, Johan Barelds wrote: Hi all, I know that this subject has been discussed before, but i can't find a solution and i am struggling with this problem. I am using cyrus and postfix for a while now but i want to start using $HOME/.procmailrc and /etc/procmailrc. I started with /etc/procmailrc but i don't get it to work. This is what my config files look like: /etc/postfix/main.cf mailbox_command = /usr/bin/procmail -a $EXTENSION /etc/postfix/master.cf procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} /etc/procmailrc DELIVER=/usr/lib/cyrus/bin/deliver LOGFILE=/tmp/proclog LOGABSTRACT=all :0 c | $DELIVER -a mailings -m user.mailings Does anyone have a clue how to get this (and $HOME/.procmailrc) working? Thanks in advance. -- Kind Regards / Met vriendelijke groet, Johan Barelds Good-IT! Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyrus, procmail and postfix
Johan Barelds wrote: Hi all, I know that this subject has been discussed before, but i can't find a solution and i am struggling with this problem. I am using cyrus and postfix for a while now but i want to start using $HOME/.procmailrc and /etc/procmailrc. I started with /etc/procmailrc but i don't get it to work. This is what my config files look like: /etc/postfix/main.cf mailbox_command = /usr/bin/procmail -a $EXTENSION /etc/postfix/master.cf procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} /etc/procmailrc DELIVER=/usr/lib/cyrus/bin/deliver LOGFILE=/tmp/proclog LOGABSTRACT=all :0 c | $DELIVER -a mailings -m user.mailings Does anyone have a clue how to get this (and $HOME/.procmailrc) working? Thanks in advance. In procmail rc look for the includerc option. Example from master procmailrc /etc/procmailrc DELIVER=/usr/lib/cyrus/bin/deliver LOGFILE=/tmp/proclog LOGABSTRACT=all INCLUDERC=/home/$user/.procmailrc ## - :0: | $DELIVER $user Just a start, but look in this direction and find what setup you need and works for you. /Casper Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus SML ACAP Server
Are there any browswers that actually support using this yet? Firefox does not - I posted a question a while back on the Firefox forums, suggesting this functionality would be very good to have. I don't believe anything usefully supports ACAP, and the server project is essentially dead. -jeaton -- Jeffrey T. Eatonesp [EMAIL PROTECTED] Research Systems Programmer Carnegie-Mellon University Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: Formatting Messages
Thanks, Leon and Chad for pointing this program out. It worked much better! I was able to copy all the good messages fine with it. I was able to track down the cause of the Invalid Header as well. For some reason, I have a bunch of messages with this header: From XXX Tue Feb 22 20: 16:15 2005 I'm not sure where they came from; possibly an error in migrating between servers. Now the question is, how do I remove these? There is always the From XXX, but the date after changes. Any ideas? David Quoting [EMAIL PROTECTED]: Try imapsync - http://www.linux-france.org/prj/imapsync/README Here is an example of the syntax: imapsync --host1 198.74.48.3 --user1 username1 --password1 secret1 --host2 198.74.48.10 --user2 username2 --password2 secret2 --noauthmd5 --include '^ANYFOLDERNAME' --subscribe Regards, Leon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Blewett Sent: Wednesday, November 02, 2005 9:40 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Formatting Messages I've tested out several different IMAP servers in the last few years (Courier, DBMail, now Cyrus). All my personal mail is currently in DBMail, and I'm trying to migrate it to Cyrus. I've got archives of a few mailing lists that run to the thousands of messages. Interspersed throughout these are random messages that apparently have bare newlines or invalid headers. When trying to move the entire folder, I'll get these often reported errors. Is there a way to move the messages that do not have malformed headers, and leave the rest? I want to move as much as I can to Cyrus, but I really don't want to have to try each message seperately. Alternatively, is there a tool to repair the messages with errors? I've tried having 2 IMAP accounts in Thunderbird, and moving from one to the other. I've tried mailutil, offlineimap, and mbsync with no luck. Any tips would be appreciated! David Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: Formatting Messages
If I recall correctly, you can remove that line entirely. Lines beginning with From datestring are used as the message delimiter in mbox format. A real From header would be From: xxx (note the colon). Cyrus doesn't need that header to separate messages since it has one file per message. For the record, that is also why Pine always inserts a in front of any lines beginning with From in the message body as well. Andy On Thu, 3 Nov 2005, David Blewett wrote: Thanks, Leon and Chad for pointing this program out. It worked much better! I was able to copy all the good messages fine with it. I was able to track down the cause of the Invalid Header as well. For some reason, I have a bunch of messages with this header: From XXX Tue Feb 22 20: 16:15 2005 I'm not sure where they came from; possibly an error in migrating between servers. Now the question is, how do I remove these? There is always the From XXX, but the date after changes. Any ideas? David Quoting [EMAIL PROTECTED]: Try imapsync - http://www.linux-france.org/prj/imapsync/README Here is an example of the syntax: imapsync --host1 198.74.48.3 --user1 username1 --password1 secret1 --host2 198.74.48.10 --user2 username2 --password2 secret2 --noauthmd5 --include '^ANYFOLDERNAME' --subscribe Regards, Leon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Blewett Sent: Wednesday, November 02, 2005 9:40 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Formatting Messages I've tested out several different IMAP servers in the last few years (Courier, DBMail, now Cyrus). All my personal mail is currently in DBMail, and I'm trying to migrate it to Cyrus. I've got archives of a few mailing lists that run to the thousands of messages. Interspersed throughout these are random messages that apparently have bare newlines or invalid headers. When trying to move the entire folder, I'll get these often reported errors. Is there a way to move the messages that do not have malformed headers, and leave the rest? I want to move as much as I can to Cyrus, but I really don't want to have to try each message seperately. Alternatively, is there a tool to repair the messages with errors? I've tried having 2 IMAP accounts in Thunderbird, and moving from one to the other. I've tried mailutil, offlineimap, and mbsync with no luck. Any tips would be appreciated! David Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: mailbox listed twice
On Nov 3, 2005, at 1:57 PM, Ken Murchison wrote: For some of our users I see the following when listing their mailboxes. user.des2004.Professors and Faculty (\HasNoChildren) user.des2004.Professors and Faculty (\Noselect \HasChildren) The mailbox is listed twice. Sometimes clients (Apple Mail) get confused by this (sometime you can store messages in the folder, and other times you can't) Mailbox is only listed once in the mailboxes.db Anyone know why this happens? Can you capture the actual LIST/LSUB command? Same deal with mailbox listed twice imtest -t -a cyrus -u des2004 localhost Authenticated. Security strength factor: 256 c list P% * LIST (\HasNoChildren) . Professors and Faculty * LIST (\HasNoChildren) . Professors and Faculty Fall 03 * LIST (\Noselect \HasChildren) . Professors and Faculty c OK Completed (0.000 secs 4 calls) c list P%.% * LIST (\HasNoChildren) . Professors and Faculty.Professors and Faculty Spring 04 c OK Completed (0.000 secs 2 calls) from the mailbox list (mailbox is listed only once) [EMAIL PROTECTED] ctl_mboxlist -d | grep user.des2004.P user.des2004.Professors and Faculty 3 des2004 lrswipcda user.des2004.Professors and Faculty Fall 03 3 des2004 lrswipcda user.des2004.Professors and Faculty.Professors and Faculty Spring 043 des2004 lrswipcda -Patrick Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: mailbox listed twice
Patrick Radtke wrote: On Nov 3, 2005, at 1:57 PM, Ken Murchison wrote: For some of our users I see the following when listing their mailboxes. user.des2004.Professors and Faculty (\HasNoChildren) user.des2004.Professors and Faculty (\Noselect \HasChildren) The mailbox is listed twice. Sometimes clients (Apple Mail) get confused by this (sometime you can store messages in the folder, and other times you can't) Mailbox is only listed once in the mailboxes.db Anyone know why this happens? Can you capture the actual LIST/LSUB command? Same deal with mailbox listed twice imtest -t -a cyrus -u des2004 localhost Authenticated. Security strength factor: 256 c list P% * LIST (\HasNoChildren) . Professors and Faculty * LIST (\HasNoChildren) . Professors and Faculty Fall 03 * LIST (\Noselect \HasChildren) . Professors and Faculty c OK Completed (0.000 secs 4 calls) c list P%.% * LIST (\HasNoChildren) . Professors and Faculty.Professors and Faculty Spring 04 c OK Completed (0.000 secs 2 calls) This is a problem with ' ' sorting before '.'. There is a known problem in that Cyrus uses the ASCII sort order to compare mailbox names, but wants the hierarchysep character to sort first, which it doesn't in ASCII. This is something that I need to fix. The sort-term solution is to tell your users to not use spaces in mailbox names. -- Kenneth Murchison Systems Programmer Carnegie Mellon University Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
deliver mails to user's Bulk folder
hi all I got postfix-amavisd(with ClamAV and SpamAssasin)-postfix-cyrus-imapd22 already running smoothly, question now is, i want that the spam mails (already tagged in the MIME headers) get delivered to the user's Bulk folder? Ive already set autocreateinbox and autosubscribe for each user. also how do automated clean up per user's bulk messages for emails delivered 30 days. something like yahoo mail, yes. can anyone give me some leads to this? thanks Ivan Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html