On Saturday 18 December 2004 12:07 am, fedora-list-request@xxxxxxxxxx wrote: Snipped... > ------------------------------ > > Message: 4 > Date: Fri, 17 Dec 2004 21:22:50 -0600 > From: Mike Watson <mikew@xxxxxxxxxx> > Subject: Upgrade from FC-1 to FC-2: Cyrus POP3/IMAP won't authenticate > To: fedora-list@xxxxxxxxxx > Message-ID: <200412172122.54230.mikew@xxxxxxxxxx> > Content-Type: text/plain; charset="us-ascii" > > I finally upgraded my mail server that had been running FC1. I use sendmail > and other remote users used POP3 to fetch their mail. IMAP was also used by > SquirrelMail for some web users. All worked well. > > After the upgrade, the old POP and IMAP progs were gone and Cyrus was > installed. Now when a user attempts to pull mail using IMAP or POP, they get > authenticate errors. > > I ran IMTEST and this was the result. > > /usr/lib/cyrus-imapd/imtest -m login -a user localhost > S: * OK localhost.localdomain Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-3.fc2 > server ready > C: C01 CAPABILITY > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE > UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT > THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT > LIST-SUBSCRIBED X-NETSCAPE > S: C01 OK Completed > Please enter your password: > C: L01 LOGIN user {7} > S: + go ahead > C: <omitted> > S: L01 NO Login failed: generic failure > Authentication failed. generic failure > Security strength factor: 0 > > I get similar results with pop3test. > > Here is imapd.conf > > configdirectory: /var/lib/imap > partition-default: /var/spool/imap > admins: cyrus root > sievedir: /var/lib/imap/sieve > sendmail: /usr/sbin/sendmail > hashimapspool: true > sasl_pwcheck_method: saslauthd > sasl_mech_list: PLAIN > tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem > tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem > tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt > > > Straight out of the RPM. The old IMAP and POP3 progs worked right out of the > box. I've been running through the archives, google, the "HOW-TO" and > nothing I've found fixes this problem. I've check DB4 and that appears OK > too. > > Pointer or tips anyone? > > Mike W > > -- > This message has been scanned for viruses and > dangerous content by F-Prot and MailScanner, > and is believed to be clean. > > > > ------------------------------ > > Message: 5 > Date: Sat, 18 Dec 2004 04:37:16 +0100 > From: Alexander Dalloz <ad+lists@xxxxxxxxx> > Subject: Re: Upgrade from FC-1 to FC-2: Cyrus POP3/IMAP won't > authenticate > To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> > Message-ID: <1103341035.25494.267.camel@xxxxxxxxxxxxxxxxxxxxx> > Content-Type: text/plain; charset="us-ascii" > > Am Sa, den 18.12.2004 schrieb Mike Watson um 4:22: > > > After the upgrade, the old POP and IMAP progs were gone and Cyrus was > > installed. Now when a user attempts to pull mail using IMAP or POP, they get > > authenticate errors. > > > > I ran IMTEST and this was the result. > > > > /usr/lib/cyrus-imapd/imtest -m login -a user localhost > > S: * OK localhost.localdomain Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-3.fc2 > > server ready > > C: C01 CAPABILITY > > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE > > UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT > > THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT > > LIST-SUBSCRIBED X-NETSCAPE > > S: C01 OK Completed > > Please enter your password: > > C: L01 LOGIN user {7} > > S: + go ahead > > C: <omitted> > > S: L01 NO Login failed: generic failure > > Authentication failed. generic failure > > Security strength factor: 0 > > > > I get similar results with pop3test. > > > > Here is imapd.conf > > > sasl_pwcheck_method: saslauthd > > sasl_mech_list: PLAIN > > > Straight out of the RPM. The old IMAP and POP3 progs worked right out of the > > box. I've been running through the archives, google, the "HOW-TO" and > > nothing I've found fixes this problem. I've check DB4 and that appears OK > > too. > > > Mike W > > The saslauthd is running? > > service saslauthd start > chkconfig saslauthd on > > Alexander > > > -- > Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773 > legal statement: http://www.uni-x.org/legal.html > Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp > Serendipity 04:30:55 up 7 days, 23:11, load average: 0.50, 1.15, 1.25 > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 189 bytes > Desc: Dies ist ein digital signierter Nachrichtenteil > Url : https://www.redhat.com/archives/fedora-list/attachments/20041218/cdd5d456/attachment.bin > Alexander, no saslauthd wasn't running. I started it and imtest now succeeds. However, imapd now reports no mailboxes exists. I've read that I will have to re-create all the imap mailboxes. Can I simply copy the old mailboxes to the new locattion in /var? Pop3 still fails with authentication errors. Here's the run after I ran pop3test on a user. pop3test -m user -u aabbcc WARNING: no hostname supplied, assuming localhost S: +OK localhost.localdomain Cyrus POP3 v2.2.10-Invoca-RPM-2.2.10-3.fc2 server ready <3120002169.1103387002@xxxxxxxxxxxxxxxxxxxxx> C: CAPA S: +OK List of capabilities follows S: STLS S: EXPIRE NEVER S: LOGIN-DELAY 0 S: TOP S: UIDL S: PIPELINING S: RESP-CODES S: AUTH-RESP-CODE S: USER S: IMPLEMENTATION Cyrus POP3 server v2.2.10-Invoca-RPM-2.2.10-3.fc2 S: . Please enter your password: C: USER root S: +OK Name is a valid mailbox C: PASS <omitted> S: -ERR [AUTH] Invalid login Authentication failed. generic failure Security strength factor: 0 Any pointers from here? snipped Mike W -- -- This message has been scanned for viruses and dangerous content by F-Prot and MailScanner, and is believed to be clean.