Re: Migrating from BSD style mailbox to Cyrus v2

2002-11-13 Thread Mike Brodbelt
[EMAIL PROTECTED] wrote:

> We currently tested mbxcvt and mailutil from the UW-IMAP utils to
> copy/transfer all the mails to the new Cyrus mail server but the problem
> that we've encoutered is that using for example:
> 
> mailutil transfer '{oldmailserver/imap}' '{newmailserver/imap}'
> 
> is that we need to enter the user's name and password. This gives us
> problems because:
> 
> 1) we don't know the user's password
> 2) we have a LOT of users to migrate

Why don't you change your authentication method to temporarily use
sasldb. It would then be pretty easy to script adding your user list to
sasldb with a known password and then running mailutil over their mail.
Once done, just delete the sasldb, and revert to your previous
authentication method.

HTH,

Mike.




Re: Migrating from BSD style mailbox to Cyrus v2

2002-11-12 Thread marc . bigler

Thanks for the tip that's already half of the work done, now there is still
the password from the source (UW-IMAP) IMAP server...

Also how will Cyrus know which user I am copying the folders to ? Will it
still prompt for a username and then simply skip the password ?

Regards
Marc




|+->
|| |
||  Henrique de Moraes Holschuh|
||  <[EMAIL PROTECTED]>   |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  11/12/02 05:09 PM  |
|| |
|+->
  
>---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: [EMAIL PROTECTED]   
   |
  |      Subject:     Re: Migrating from BSD style mailbox to Cyrus v2 
   |
  
>---|




On Tue, 12 Nov 2002, [EMAIL PROTECTED] wrote:
> The best would be to somehow fully automate this withtout requiring
> passwords and such, does someone have any experience doing that, I am
sure
> it is somehow possible to do that but how ? We are surely not the only
ones
> migrating to the great Cyrus.

1. lock down the network
2. set sasl_pwcheck_method: alwaystrue  in imapd.conf

That will turn off all password verification.

You may try to do a direct conversion, though. Good luck there...

--
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh







Re: Migrating from BSD style mailbox to Cyrus v2

2002-11-12 Thread Henrique de Moraes Holschuh
On Tue, 12 Nov 2002, [EMAIL PROTECTED] wrote:
> The best would be to somehow fully automate this withtout requiring
> passwords and such, does someone have any experience doing that, I am sure
> it is somehow possible to do that but how ? We are surely not the only ones
> migrating to the great Cyrus.

1. lock down the network
2. set sasl_pwcheck_method: alwaystrue  in imapd.conf

That will turn off all password verification.

You may try to do a direct conversion, though. Good luck there...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Migrating from BSD style mailbox to Cyrus v2

2002-11-12 Thread marc . bigler
Hello,

We are currently going to migrate from our current mail server, an OpenBSD
box running UW-IMAP and therfore having BSD style mailboxes to a Cyrus v2
mail server.

We currently tested mbxcvt and mailutil from the UW-IMAP utils to
copy/transfer all the mails to the new Cyrus mail server but the problem
that we've encoutered is that using for example:

mailutil transfer '{oldmailserver/imap}' '{newmailserver/imap}'

is that we need to enter the user's name and password. This gives us
problems because:

1) we don't know the user's password
2) we have a LOT of users to migrate

The best would be to somehow fully automate this withtout requiring
passwords and such, does someone have any experience doing that, I am sure
it is somehow possible to do that but how ? We are surely not the only ones
migrating to the great Cyrus.

It would be possible for us to copy all the users mailboxes to the new
mailserver if that helps. The user's INBOX is in /var/mail and the user's
folders are in /home/username

Regards
Marc