My users like to keep 500 to 1000 messages in their mailboxes and average about 500K per message (we are a talent management company, so there is lots of multimedia being exchanged). So far I have been running whatever came stock with FC1, so I have Postfix with WU IMAP running in that standard UNIX mailbox mode.
Can I keep Postifix and just change it to Cyrus IMAP style mailboxes and install Cyrus IMAP? Or do I have to start from scratch? Fortunately I have only 10 users, so I will have to deal with about 10K in messages and about 150 sub folders.
On Wed, 2004-05-19 at 13:21, Apollo's list account wrote:
My users like to keep 500 to 1000 messages in their mailboxes and average about 500K per message (we are a talent management company, so there is lots of multimedia being exchanged). So far I have been running whatever came stock with FC1, so I have Postfix with WU IMAP running in that standard UNIX mailbox mode.
Can I keep Postifix and just change it to Cyrus IMAP style mailboxes and install Cyrus IMAP? Or do I have to start from scratch? Fortunately I have only 10 users, so I will have to deal with about 10K in messages and about 150 sub folders.
http://www.redhat.com/archives/fedora-test-list/2004-May/msg00688.html http://www.redhat.com/archives/fedora-test-list/2004-May/msg01286.html
Am Mi, den 19.05.2004 schrieb Apollo's list account um 19:21:
My users like to keep 500 to 1000 messages in their mailboxes and average about 500K per message (we are a talent management company, so there is lots of multimedia being exchanged). So far I have been running whatever came stock with FC1, so I have Postfix with WU IMAP running in that standard UNIX mailbox mode.
Can I keep Postifix and just change it to Cyrus IMAP style mailboxes and install Cyrus IMAP? Or do I have to start from scratch? Fortunately I have only 10 users, so I will have to deal with about 10K in messages and about 150 sub folders.
Of course you can keep Postfix to run it in conjunction with Cyrus-IMAPd. But be aware that migration from uw-imap is not that easy. In any way, either after a fresh new install of FC2 with Cyrus-IMAPd or after an upgrade, you will have to migrate the mbox format mails to the format that Cyrus-IMAPd uses (a Maildir format). Cyrus-IMAPd comes with a tool for that. You may alternatively go over a second IMAP server to which you move the IMAP folder contents and after the main server was migrated get back all the content.
Read the Cyrus-IMAPd documentation carefully. That daemon is much more powerful than uw-imap and therefor needs more setup steps and configurations.
Alexander
On Thu, 2004-05-20 at 02:39, Alexander Dalloz wrote:
Am Mi, den 19.05.2004 schrieb Apollo's list account um 19:21:
Can I keep Postifix and just change it to Cyrus IMAP style mailboxes and install Cyrus IMAP? Or do I have to start from scratch? Fortunately I have only 10 users, so I will have to deal with about 10K in messages and about 150 sub folders.
Of course you can keep Postfix to run it in conjunction with Cyrus-IMAPd. But be aware that migration from uw-imap is not that easy. In any way, either after a fresh new install of FC2 with Cyrus-IMAPd or after an upgrade, you will have to migrate the mbox format mails to the format that Cyrus-IMAPd uses (a Maildir format). Cyrus-IMAPd comes with a tool for that.
Cyrus comes with a tool for moving mbox files to maildir?? I didn't know about that! I was searching the net yesterday for it. All I found were solutions to using "formail" and one which uses a per-script which needs NetxAP (which I couldn't find a RPM for FC3)
What is the name of that tool?
Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 15:08:35 up 20 min, 6 users, load average: 0.08, 0.42,
On Mon, 27 Dec 2004, Ow Mun Heng wrote:
Cyrus comes with a tool for moving mbox files to maildir?? I didn't know about that! I was searching the net yesterday for it. All I found were solutions to using "formail" and one which uses a per-script which needs NetxAP (which I couldn't find a RPM for FC3)
What is the name of that tool?
I don't know about Cyrus. But I've used mb2md-3.20.pl... which works nicely for me. Just thought to share if you're looking :)
Regards,
.lzs -- Lai Zit Seng Email: lzs@thinkingfarm.com Web: http://thinkingfarm.com/
On Mon, 2004-12-27 at 18:14, Lai Zit Seng wrote:
On Mon, 27 Dec 2004, Ow Mun Heng wrote:
Cyrus comes with a tool for moving mbox files to maildir?? I didn't know about that! I was searching the net yesterday for it. All I found were solutions to using "formail" and one which uses a per-script which needs NetxAP (which I couldn't find a RPM for FC3)
What is the name of that tool?
I don't know about Cyrus. But I've used mb2md-3.20.pl... which works nicely for me. Just thought to share if you're looking :)
I am.. Where did you find it? Can you point the way?
Am Mo, den 27.12.2004 schrieb Ow Mun Heng um 12:15:
I don't know about Cyrus. But I've used mb2md-3.20.pl... which works nicely for me. Just thought to share if you're looking :)
I am.. Where did you find it? Can you point the way?
Ow Mun Heng
google brought me: http://rpm.pbone.net/index.php3/stat/4/idpl/1284283/com/mb2md-3.20-1.noarch....
Don't use it if you want to use Cyrus-IMAPd! It has it's own Maildir storage which is NOT the same as Maildir i.e. used by Dovecot or Courier.
Alexander
On Mon, 2004-12-27 at 19:25, Alexander Dalloz wrote:
Am Mo, den 27.12.2004 schrieb Ow Mun Heng um 12:15:
I don't know about Cyrus. But I've used mb2md-3.20.pl... which works nicely for me. Just thought to share if you're looking :)
I am.. Where did you find it? Can you point the way?
Ow Mun Heng
google brought me: http://rpm.pbone.net/index.php3/stat/4/idpl/1284283/com/mb2md-3.20-1.noarch....
But is it for FC3? I don't have a compiler on my FC3 box :-(
Don't use it if you want to use Cyrus-IMAPd! It has it's own Maildir storage which is NOT the same as Maildir i.e. used by Dovecot or Courier.
Then how do you suggest moving the mbox mails to maildir? Currently am Using a formail script I found which delivers it to cyrus's deliver program.
It works but it ain't "nice"
Alexander
Am Mo, den 27.12.2004 schrieb Ow Mun Heng um 13:16:
google brought me: http://rpm.pbone.net/index.php3/stat/4/idpl/1284283/com/mb2md-3.20-1.noarch....
But is it for FC3? I don't have a compiler on my FC3 box :-(
Don't use it. I just posted the link so that you can read the tools description. As said, Cyrus-IMAPd uses it's own Maildir storage format which is NOT compatible with the Maildir format known by Dovecot or Courier for example. So the above tool mb2md is USELESS for your purpose.
Don't use it if you want to use Cyrus-IMAPd! It has it's own Maildir storage which is NOT the same as Maildir i.e. used by Dovecot or Courier.
Then how do you suggest moving the mbox mails to maildir? Currently am Using a formail script I found which delivers it to cyrus's deliver program.
It works but it ain't "nice"
A "formail | deliver" pipe instruction is proper. Why isn't that "nice"? Or what about using the solution described on
http://www.oreilly.com/catalog/mimap/chapter/ch09.html#92594
(user2cyrus requires the NetxAP Perl module, which is freely available from CPAN.).
Alexander
On Mon, 2004-12-27 at 20:33, Alexander Dalloz wrote:
Am Mo, den 27.12.2004 schrieb Ow Mun Heng um 13:16:
google brought me: http://rpm.pbone.net/index.php3/stat/4/idpl/1284283/com/mb2md-3.20-1.noarch....
But is it for FC3? I don't have a compiler on my FC3 box :-(
Don't use it. I just posted the link so that you can read the tools description. As said, Cyrus-IMAPd uses it's own Maildir storage format which is NOT compatible with the Maildir format known by Dovecot or Courier for example. So the above tool mb2md is USELESS for your purpose.
Yeah.. I gather as much based on my "postfix - The definitive guide" by oreilly book.
But I will look at it for future use.
Then how do you suggest moving the mbox mails to maildir? Currently am Using a formail script I found which delivers it to cyrus's deliver program.
It works but it ain't "nice"
A "formail | deliver" pipe instruction is proper. Why isn't that "nice"?
Because I feel that it's Clunky? It's OK for migrating my 3 users with < 5 mails/mbox but what about for larger sites? Will it work? Will it overwhelm cyrus? Perhaps I can throttle it using sleep?
Or what about using the solution described on
http://www.oreilly.com/catalog/mimap/chapter/ch09.html#92594
(user2cyrus requires the NetxAP Perl module, which is freely available from CPAN.).
I did try that and I couldn't locate a RPM for the NetxAP module. (Note: I said RPM as opposed to using CPAN to install it) and thus it didn't work for me.
SInce we're talking about CPAN, once it's installed via CPAN, how does one remove it? 1 benefit of a packaging system is you can see what's installed and remove it when it's not wanted. How does this go for CPAN stuffs?
Alexander
Am Di, den 28.12.2004 schrieb Ow Mun Heng um 3:36:
Then how do you suggest moving the mbox mails to maildir? Currently am Using a formail script I found which delivers it to cyrus's deliver program.
It works but it ain't "nice"
A "formail | deliver" pipe instruction is proper. Why isn't that "nice"?
Because I feel that it's Clunky? It's OK for migrating my 3 users with < 5 mails/mbox but what about for larger sites? Will it work? Will it overwhelm cyrus? Perhaps I can throttle it using sleep?
I must confess that I don't understand that in any way. Aren't we speaking about a one time migration of existing mbox based mails from an old system over to Cyrus-IMAPd Maildir storage on the new system? Of course having just few users and few mail to migrate is less time consuming than to migrate thousands with gigabyte of mail. But in any case, you will have to do it just one time. And to use "formail" to read in the mboxes is nothing "clunky". What do you think the tool is for? What do you mean with the idea "to throttle using sleep"? I am really confused.
Or what about using the solution described on
http://www.oreilly.com/catalog/mimap/chapter/ch09.html#92594
(user2cyrus requires the NetxAP Perl module, which is freely available from CPAN.).
I did try that and I couldn't locate a RPM for the NetxAP module. (Note: I said RPM as opposed to using CPAN to install it) and thus it didn't work for me.
I am using cpan2rpm to instantly build RPMs from CPAN Perl modules. cpanflute is another tool for this.
SInce we're talking about CPAN, once it's installed via CPAN, how does one remove it? 1 benefit of a packaging system is you can see what's installed and remove it when it's not wanted. How does this go for CPAN stuffs?
Perl modules installed using CPAN aren't registered. You could locate and manually delete the files an additional Perl module is coming with.
Ow Mun Heng
Alexander
On Tue, 2004-12-28 at 18:27, Alexander Dalloz wrote:
Am Di, den 28.12.2004 schrieb Ow Mun Heng um 3:36:
Then how do you suggest moving the mbox mails to maildir? Currently am Using a formail script I found which delivers it to cyrus's deliver program.
It works but it ain't "nice"
A "formail | deliver" pipe instruction is proper. Why isn't that "nice"?
Because I feel that it's Clunky? It's OK for migrating my 3 users with < 5 mails/mbox but what about for larger sites? Will it work? Will it overwhelm cyrus? Perhaps I can throttle it using sleep?
I must confess that I don't understand that in any way. Aren't we speaking about a one time migration of existing mbox based mails from an old system over to Cyrus-IMAPd Maildir storage on the new system?
Yes.
And to use "formail" to read in the mboxes is nothing "clunky". What do you think the tool is for? What do you mean with the idea "to throttle using sleep"?
This is the script I use.
USER=$1 MAILBOX=$2 CYRUSFOLDER=$3 CYRDELIVER=/usr/lib/cyrus-imapd/deliver FORMAIL=/usr/bin/formail
if ! [ -x "$FORMAIL" ]; then echo "" echo "formail (from procmail) is required to run this script" echo "" exit 1 fi
if [ "$USER" = "" ]; then echo "" echo "syntax: $0 user [mbox] [cyrus folder]" echo "" echo "If no mbox is specified, the user and mbox name are taken to be the same" echo "If no cyrus folder is specified, the INBOX is used" echo "" exit 2 fi
if [ "$MAILBOX" == "" ]; then MAILBOX=$USER fi
if [ "$CYRUSFOLDER" == "" ]; then echo "Adding mailbox '$MAILBOX' to Cyrus INBOX of user '$USER'..." $FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER $USER else echo "Adding mailbox '$MAILBOX' to Cyrus folder '$CYRUSFOLDER' of user '$USER'..." $FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER -m $CYRUSFOLDER $USER fi
I am reallyconfused.
Sorry.
Or what about using the solution described on
http://www.oreilly.com/catalog/mimap/chapter/ch09.html#92594
(user2cyrus requires the NetxAP Perl module, which is freely available from CPAN.).
I did try that and I couldn't locate a RPM for the NetxAP module. (Note: I said RPM as opposed to using CPAN to install it) and thus it didn't work for me.
I am using cpan2rpm to instantly build RPMs from CPAN Perl modules. cpanflute is another tool for this.
Interesting. I just looked at the site and it looks _real_ cool actually. Saves the hassle. And it even can build right from the web-site!!
(unfortunately, the module I wanted, there was a MD5 sum error)
I just installed CPAN2RPM and tried to get it to make a RPM out of NetxAP. Guess what, I don't have a compiler in my FC3 Box. DUH!!
(if anyone has this as a RPM, can I trouble you to send it to me?? Offlist of course)
SInce we're talking about CPAN, once it's installed via CPAN, how does one remove it? 1 benefit of a packaging system is you can see what's installed and remove it when it's not wanted. How does this go for CPAN stuffs?
Perl modules installed using CPAN aren't registered. You could locate and manually delete the files an additional Perl module is coming with.
Yeah.. That's what I don't like. Not knowing whether this file is safe to delete or otherwise
Ow Mun Heng
Alexander
Hi Mun Heng,
Here's where I got it: http://batleth.sapienti-sat.org/projects/mb2md/
Hope it works well for you :)
-- Lai Zit Seng Email: lzs@thinkingfarm.com Web: http://thinkingfarm.com
On Mon, 27 Dec 2004, Ow Mun Heng wrote:
On Mon, 2004-12-27 at 18:14, Lai Zit Seng wrote:
On Mon, 27 Dec 2004, Ow Mun Heng wrote:
Cyrus comes with a tool for moving mbox files to maildir?? I didn't know about that! I was searching the net yesterday for it. All I found were solutions to using "formail" and one which uses a per-script which needs NetxAP (which I couldn't find a RPM for FC3)
What is the name of that tool?
I don't know about Cyrus. But I've used mb2md-3.20.pl... which works nicely for me. Just thought to share if you're looking :)
I am.. Where did you find it? Can you point the way?
-- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 19:14:53 up 4:27, 7 users, load average: 0.95, 0.59, 0.48