Am Tuesday 03 October 2006 11:40 schrieb [EMAIL PROTECTED]: > After inserting: > sasl_mech_list: plain login > > this is my telnet session: > 0a010 login cyrus cyrus > 0a010 NO Login failed: authentication failure > 0a011 logout > * BYE LOGOUT received > 0a011 OK Completed > Connection closed by foreign host. > > I can correctly login as other users that worked before the line you > suggested me.
You didn't answer how do you start saslauthd. # ps aux|grep saslauthd for example. > Another problem: I would make a backup of mails. I've made a copy of: > /var/spool/imap > /var/lib/imap > /var/lib/sieve > according to my /etc/inid.conf and also made a ctl_cyrusdb -d mb.txt as > cyrus user. > When I try to recover mailboxes.db with: > cvt_cyrusdb mb.txt flat mailboxes.db.stefano berkeley "cvt_" = Convert. To restore mailboxes.db use "ctl_mboxlist". $ man ctl_mboxlist ... -u Load the contents of the database from standard input. The input MUST be in the format output using the -d option. NOTE: Both the old and new formats can be loaded, but the old format will break remote mailboxes. ... > I receive: > Sorry, you cannot use this tool with relative path names. > This is because some database backends (mainly berkeley) do not > always do what you would expect with them. > > Please use absolute pathnames instead. > > > Where I'm going wrong? > > Thanks a lot in advance > > Stefano C. > > > Am Tuesday 03 October 2006 00:06 schrieb [EMAIL PROTECTED]: > >> My imapd.conf is: > >> > >> configdirectory: /var/lib/imap > >> partition-default: /var/spool/imap > >> sievedir: /var/lib/sieve > >> admins: cyrus > >> allowanonymouslogin: no > >> autocreatequota: 10000 > >> reject8bit: no > >> quotawarn: 90 > >> timeout: 30 > >> poptimeout: 10 > >> dracinterval: 0 > >> drachost: localhost > >> sasl_pwcheck_method: saslauthd > >> lmtp_overquota_perm_failure: no > >> lmtp_downcase_rcpt: yes > > > > sasl_mech_list: plain login > > > > is missing. Then test again with cyrus and "other" users. Do "other" > > users work anymore? > > > > Then show how you start saslauthd. > > > >> I think I understand what you mean, but I've always used saspasswd2 -c > >> username, where username is an existing linux user, to create account > >> for > >> Cyrus and it has always worked. > >> > >> Stefano C. > >> > >> > Am Monday 02 October 2006 18:36 schrieb [EMAIL PROTECTED]: > >> >> I was trying to make some test over backing up and recovery a simple > >> >> IMAP > >> >> server inside a LAN. > >> >> First I have uninstalled cyrus-imapd and cyrus-sasl-saslathd RPMs > >> > >> from > >> > >> >> my > >> >> SuSE 10.1. > >> >> > >> >> Second I've deleted cyrus user from my system. > >> >> > >> >> I overrided the folowing directories: > >> >> /var/spool/imap > >> >> /var/lib/imap > >> >> /var/lib/sieve > >> >> with the ones of te system I would recover. > >> >> > >> >> Then I've created a plaintext backup of mailboxes.db using (as root): > >> >> su -cyrus -c "ctl_mailboxlist -d" > mailboxlist.txt > >> >> > >> >> I've build a database from the plaintext using: > >> >> cvt_cyrusdb mailboxlist.txt > >> >> > >> >> Now I can connect to Cyrus with: > >> >> telnet localhost 143 > >> >> as every user listed with: > >> >> sasldblistusers > >> >> except as cyrus. > >> >> > >> >> My server IMAP can receive mails from inside and outside the LAN. > >> >> Anyway, it's unconfortable I receive: > >> >> 0: NO "authentication failed" > >> >> > >> >> for the command: > >> >> testsaslauthd -u cyrus -p cyrus > >> > > >> > Above you tell something about sasldb, here you test with saslauthd. > >> > >> How > >> > >> > did > >> > you configure saslauthd? Is it really configured to use sasldb? > >> > > >> > Show your imapd.conf. > > > > -- > > Andreas > > ---- > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Andreas ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html