Hi, I suggest you take my RPMs at http://home.teleport.ch/simix/ as a starting point. They should build and run out of the box, using PAM for auth. It is easier to upgrade/modify a running system than to get it work for the first time.
-Simon Mathias Koerber schrieb: > > I just installed SASL-2.1.2 and IMAPD-2.1.3 from the source RPMS which > were mentioned here yesterday on my RH-7.2 system.. > > (I had to modify the IMAPD SPEC file somewhat to avoid configure > complaining about missing des libraries (where can I get those??) > # cd /usr/src/redhat/SRPMS > # rpm -i cyrus-imapd-2.1.3-1.src.rpm > # cd ../SPECS > # vi cyrus-imapd.spec > - remove --with-kerberos=/usr/kerberos > - add --with-auth-unix --with-pam > # rpm -bb cyrus-imapd.spec > > # cd ../RPMS/i386 > # rpm -Uvh cyrus-imapd-2.1.3-1.rpm > > My problem is that wbe I try creting my first mailboxes using cyradm, > I get: > > [mathias@noisy mathias]$ cyradm > cyradm> server localhost > IMAP Password: > noisy.koerber.org> cm user.mathias > createmailbox: System I/O error > noisy.koerber.org> ver > name : Cyrus IMAPD > version : v2.1.3 2002/03/07 20:00:42 > vendor : Project Cyrus > support-url: http://asg.web.cmu.edu/cyrus > os : Linux > os-version : 2.4.17 > environment: Cyrus SASL 2.1.2 > Sleepycat Software: Berkeley DB 3.2.9: (January 24, 2001) > OpenSSL 0.9.6b [engine] 9 Jul 2001 > CMU Sieve 2.1 > TCP Wrappers > lock = flock > auth = unix > idle = poll > mboxlist.db = db3 > subs.db = flat > seen.db = flat > duplicate.db = db3-nosync > tls.db = db3-nosync > noisy.koerber.org> > > In Syslog, I get: > > Apr 10 16:00:29 noisy master[3321]: process started > Apr 10 16:00:29 noisy master[3322]: about to exec /usr/cyrus/bin/ctl_cyrusdb > Apr 10 16:00:29 noisy ctl_cyrusdb[3322]: recovering cyrus databases > Apr 10 16:00:29 noisy ctl_cyrusdb[3322]: done recovering cyrus databases > Apr 10 16:00:29 noisy master[3323]: about to exec /usr/cyrus/bin/ctl_deliver > Apr 10 16:00:29 noisy master[3321]: unable to bind imap socket: Address > already in use > Apr 10 16:00:29 noisy master[3321]: ready for work > Apr 10 16:00:29 noisy master[3324]: about to exec /usr/cyrus/bin/ctl_cyrusdb > Apr 10 16:00:29 noisy ctl_cyrusdb[3324]: checkpointing cyrus databases > Apr 10 16:00:29 noisy ctl_cyrusdb[3324]: archiving database file: > /var/imap/mailboxes.db > Apr 10 16:00:29 noisy ctl_cyrusdb[3324]: archiving log file: > /var/imap/db/log.0000000001 > Apr 10 16:00:29 noisy ctl_cyrusdb[3324]: archiving log file: > /var/imap/db/log.0000000001 > Apr 10 16:00:29 noisy ctl_cyrusdb[3324]: done checkpointing cyrus databases > Apr 10 16:00:29 noisy master[3321]: process 3324 exited, status 0 > Apr 10 16:00:37 noisy imapd[30965]: unable to tell master 2: Broken pipe > Apr 10 16:00:37 noisy imapd[30965]: accepted connection > Apr 10 16:00:37 noisy imapd[30965]: unable to tell master 3: Broken pipe > Apr 10 16:00:40 noisy imapd[30965]: login: noisy.koerber.org[127.0.0.1] > mathias plaintext > Apr 10 16:00:45 noisy imapd[30965]: DBERROR: error beginning txn (myfetch): > DB_RUNRECOVERY: Fatal error, run database recovery > Apr 10 16:00:45 noisy imapd[30965]: DBERROR: error fetching user.mathias: > cyrusdb error > Apr 10 16:00:49 noisy imapd[30965]: unable to tell master 1: Broken pipe > > /var/spool/imap seems to be ok: > > [root@noisy imap]# ls -laR . > .: > total 12 > drwxr-x--- 3 cyrus mail 4096 Apr 10 16:00 . > drwxr-xr-x 16 root root 4096 Apr 10 16:00 .. > drwxr-x--- 2 cyrus mail 4096 Apr 10 15:53 stage. > > ./stage.: > total 8 > drwxr-x--- 2 cyrus mail 4096 Apr 10 15:53 . > drwxr-x--- 3 cyrus mail 4096 Apr 10 16:00 .. > > The config.log, config.cache and config.status files for both SASL and IMAPD > indicate > it used the db-3.2 libs etc... > > Any help is appreciated. > > -- > Mathias Körber