Moving cyrus from one machine to another

Su Li sli at rim.net
Mon Sep 16 11:33:03 EDT 2002


Thanks Euquene,

I tried "saslpasswd cyrus". I got the following messages:

Sep 16 11:29:55 bwc-imap-01 saslpasswd: PLAIN: set secret for cyrus
Sep 16 11:29:56 bwc-imap-01 saslpasswd: DIGEST-MD5: set secret for cyrus
Sep 16 11:29:56 bwc-imap-01 saslpasswd: CRAM-MD5: set secret for cyrus

But when I try "telnet localhost imap". Then "login cyrus password". I got
the error:
Sep 16 11:30:46 bwc-imap-01 imapd[6641]: badlogin: web4[127.0.0.1] plaintext
cyrus SASL(-13): user not found: checkpass failed


My /etc/imapd.conf is:

configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus root
srvtab: /var/imap/srvtab
allowanonymouslogin: no
sasl_password_check: shadow
mailnotifier: log

Any thing else I should do?

Su


-----Original Message-----
From: Eugene Chow [mailto:xyrik at ecentrenet.com]
Sent: September 16, 2002 11:24 AM
To: Su Li
Cc: info-cyrus at andrew.cmu.edu
Subject: Re: Moving cyrus from one machine to another


To create or reset the password for the user cyrus, just type 'saslpasswd
cyrus'.

-- 
 << Eugene  Chow >>
     ==--==--==
-=ecentrenet dot kom=-
http://www.ecentrenet.com


************************
Su Li wrote:

>Hi Andy,
>
>I saw the discussion and knew that you have solved the problem. What I did
>is mirror the disk and put the mirrored disk on the new machine and change
>the IP address and host name to the new machine. It looks simple.
>
>But I couldn't login as cyrus in the new machine any more. It seems the
>sasl2.db doesn't have a user named cyrus. Is that because I changes IP and
>host name? Do you know how to recreate the cyrus user? I tried to remove
the
>sasl2.db and rerun Cyrus Imap, the system said, failed to locate sasl2.db.
>Do you know how to recreate a sasl2.db? 
>
>Thanks,
>
>Su
>




More information about the Info-cyrus mailing list