I have 2 cyrus servers. The first one is on line the second one is for 
the backup. Every night I stop the server on line, I tar all the files 
and copy them on the other server with the same protection/owner/group

When I try to make a connection on the backup server I can't :

telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK lituf8.tuf.telintrans.fr Cyrus IMAP4 v2.0.11 server ready
. login cyrus passwd
. NO Login failed: user not found.

If I change the password, it's good I can read all my mail.

I suppose I forget to make something but I don't know what ?

Thks for yr help.

Jean-Marc

PS : this my script :

#!/bin/sh
# sauve-imap.sh

# stop servers
/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/cyrus stop

# tar imap
/bin/tar cvzf /var/tmp/var-imap.tgz /var/imap/
/bin/tar cvzf /var/tmp/spool-imap.tgz /var/spool/imap/

# copy files
/usr/bin/rcp /etc/cyrus.conf lituf8.tlt:/etc/cyrus.conf
/usr/bin/rcp /etc/imapd.conf lituf8.tlt:/etc/imapd.conf
/usr/bin/rcp /etc/mail/sendmail.cf lituf8.tlt:/etc/mail/sendmail.cf
/usr/bin/rcp /etc/mail/sendmail.mc lituf8.tlt:/etc/mail/sendmail.mc
/usr/bin/rcp /etc/sasldb lituf8.tlt:/etc/sasldb
/rcp/bin/rcp /usr/lib/sasl/cyrus.conf lituf8.tlt:/usr/lib/sasl/cyrus.conf

# start sendmail/cyrus
/etc/rc.d/init.d/sendmail start
/etc/rc.d/init.d/cyrus start

Reply via email to