PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > imapsync from courier to cyrus
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

imapsync from courier to cyrus

Réponse
 
LinkBack Outils de la discussion
Vieux 27/08/2006, 16h28   #1 (permalink)
FCOJ
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut imapsync from courier to cyrus

I would like to migrate about 600 mailboxes from a debian box running
courier-imapd to another debian box running cyrus 2.2.

On the source machine the passwords of users are stored in
/etc/shadow, so I have no way of knowing the password for every user. I
would like to authenticate as an admin user with --authuser1 option of
imapsync to be authorized as any user, so I try this:

max-test:/# imapsync --host1 source.host.com --user1 a_username
--authuser1 root --host2 dest.host.com --user2
a_username@dest.host.com --authuser2 cyrus
$RCSfile: imapsync,v $ $Revision: 1.182 $ $Date: 2006/08/01 23:07:42 $
Mail::IMAPClient version used here is 2.2.9
will try to use PLAIN authentication on host1
will try to use PLAIN authentication on host2
>From imap server [source.host.com] port [143] user [a_username]

To imap server [dest.host.com] port [143] user [a_user@dest.host.com]
What's the password for root@source.host.com? xxxxxx
What's the password for cyrus@dest.host.com? xxxxxx
Banner : * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]
Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See
COPYING for distribution information.
source.host.com: no support for AUTHENTICATE PLAIN, using LOGIN
Error login : [source.host.com] with user [a_user] : 3 NO Login failed.


When prompted, I inserted the passwords for root and cyrus
respectively, and authentication fails. If, on the other hand, I insert
the password for the users (--user1 and --user2) everything works
nicely.

My questions are as follows.

1. How can I authenticate to courier as an admin user?
2. How do I authenticate to cyrus as an admin user
3. How do I get authorization as any user when authenticated as a
privileged user, such as root or cyrus
4. Am I misunderstanding something horribly?

  Réponse avec citation
Vieux 21/09/2006, 18h23   #2 (permalink)
kqueue
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: imapsync from courier to cyrus

I am facing the exact same problem. Does anyone have an answer for
this? I would be much appreciated.


FCOJ wrote:
> I would like to migrate about 600 mailboxes from a debian box running
> courier-imapd to another debian box running cyrus 2.2.
>
> On the source machine the passwords of users are stored in
> /etc/shadow, so I have no way of knowing the password for every user. I
> would like to authenticate as an admin user with --authuser1 option of
> imapsync to be authorized as any user, so I try this:
>
> max-test:/# imapsync --host1 source.host.com --user1 a_username
> --authuser1 root --host2 dest.host.com --user2
> a_username@dest.host.com --authuser2 cyrus
> $RCSfile: imapsync,v $ $Revision: 1.182 $ $Date: 2006/08/01 23:07:42 $
> Mail::IMAPClient version used here is 2.2.9
> will try to use PLAIN authentication on host1
> will try to use PLAIN authentication on host2
> >From imap server [source.host.com] port [143] user [a_username]

> To imap server [dest.host.com] port [143] user [a_user@dest.host.com]
> What's the password for root@source.host.com? xxxxxx
> What's the password for cyrus@dest.host.com? xxxxxx
> Banner : * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]
> Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See
> COPYING for distribution information.
> source.host.com: no support for AUTHENTICATE PLAIN, using LOGIN
> Error login : [source.host.com] with user [a_user] : 3 NO Login failed.
>
>
> When prompted, I inserted the passwords for root and cyrus
> respectively, and authentication fails. If, on the other hand, I insert
> the password for the users (--user1 and --user2) everything works
> nicely.
>
> My questions are as follows.
>
> 1. How can I authenticate to courier as an admin user?
> 2. How do I authenticate to cyrus as an admin user
> 3. How do I get authorization as any user when authenticated as a
> privileged user, such as root or cyrus
> 4. Am I misunderstanding something horribly?


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h31.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08483 seconds with 10 queries