formail not parsing folder
I'm trying to convert email from our U Wash IMAP server over to Cyrus, using several Perl utilities mentioned in the O'Reilly IMAP book. One of these, folderxfer, uses formail to split the U Wash mbox file into separate messages. This is working fine, except for a couple of people's "Sent Items" folders, which formail doesn't seem to be able to parse into messages. Apparently, "Sent Items" is created by our Horde/IMP webmail software. Has anyone seen this? Any solutions? I've tried various combinations of formail switches, but nothing seems to split these folders correctly. Thanks. -- 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) 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: formail not parsing folder
Hi, Try to use imapsync, I'd suggest you to use the following options with imapsync tool: --include '^Sent' --subscribe Regards, Leon Kolchinsky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Boyken Sent: Monday, October 03, 2005 5:45 PM To: info-cyrus@lists.andrew.cmu.edu Subject: formail not parsing folder I'm trying to convert email from our U Wash IMAP server over to Cyrus, using several Perl utilities mentioned in the O'Reilly IMAP book. One of these, folderxfer, uses formail to split the U Wash mbox file into separate messages. This is working fine, except for a couple of people's "Sent Items" folders, which formail doesn't seem to be able to parse into messages. Apparently, "Sent Items" is created by our Horde/IMP webmail software. Has anyone seen this? Any solutions? I've tried various combinations of formail switches, but nothing seems to split these folders correctly. Thanks. -- 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) 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: formail not parsing folder
Thanks, Leon. It looks to me like either I'd need to know our users' passwords, or have them transfer their own mail folders, if I use imapsync. Is this correct? Or is there a way to use imapsync to transfer our users' mail folders without knowing their passwords? Have you used imapsync to transfer folders for several hundred users? Karl Boyken Hi, Try to use imapsync, I'd suggest you to use the following options with imapsync tool: --include '^Sent' --subscribe Regards, Leon Kolchinsky -- 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) 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: formail not parsing folder
Hi, You have to know your users passwords, but.. I've implemented web-cyradm solution(users in MySQL+Cyrus+virt. domains) and moved users mail and folders this way (from UW-IMAP). 1) I've changed all users passwords in shadow file to one I know. 2) I've changed all users passwords in MySQL to the same one I know, and did the syncronisation with imapsync. 3) Restored all passwords back. Should work fine even with several hundred users. Note: I've used "crypt" in user passwords so there was no problem to transfer DES passwords from shadow file to MySQL. Regards, Leon Kolchinsky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Boyken Sent: Wednesday, October 05, 2005 9:05 PM To: info-cyrus@lists.andrew.cmu.edu Subject: RE: formail not parsing folder Thanks, Leon. It looks to me like either I'd need to know our users' passwords, or have them transfer their own mail folders, if I use imapsync. Is this correct? Or is there a way to use imapsync to transfer our users' mail folders without knowing their passwords? Have you used imapsync to transfer folders for several hundred users? Karl Boyken > Hi, > > Try to use imapsync, > I'd suggest you to use the following options with imapsync tool: > --include '^Sent' --subscribe > > Regards, > Leon Kolchinsky -- 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) 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: formail not parsing folder
Karl Boyken wrote: Thanks, Leon. It looks to me like either I'd need to know our users' passwords, or have them transfer their own mail folders, if I use imapsync. Is this correct? Or is there a way to use imapsync to transfer our users' mail folders without knowing their passwords? Have you used imapsync to transfer folders for several hundred users? I've never used imapsync, but if it supports either the PLAIN or DIGEST-MD5 SASL mechs, then you should be able to proxy authenticate as your users (authenticate using an admin password, but act on behalf of a user). -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp 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