Upgrade from FC-1 to FC-2: Cyrus POP3/IMAP won't

Mike Watson mikew at crucis.net
Sat Dec 18 16:37:52 UTC 2004


authenticate
X-BeenThere: fedora-list at redhat.com
X-Mailman-Version: 2.1.5
Precedence: junk
Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
List-Id: For users of Fedora Core releases <fedora-list.redhat.com>
List-Unsubscribe: <http://www.redhat.com/mailman/listinfo/fedora-list>,
	<mailto:fedora-list-request at redhat.com?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/fedora-list>
List-Post: <mailto:fedora-list at redhat.com>
List-Help: <mailto:fedora-list-request at redhat.com?subject=help>
List-Subscribe: <http://www.redhat.com/mailman/listinfo/fedora-list>,
	<mailto:fedora-list-request at redhat.com?subject=subscribe>
X-List-Received-Date: Sat, 18 Dec 2004 16:37:48 -0000

On Saturday 18 December 2004 12:07 am, fedora-list-request at redhat.com wrote:
Snipped...

> ------------------------------
> 
> Message: 4
> Date: Fri, 17 Dec 2004 21:22:50 -0600
> From: Mike Watson <mikew at crucis.net>
> Subject: Upgrade from FC-1 to FC-2: Cyrus POP3/IMAP won't authenticate
> To: fedora-list at redhat.com
> Message-ID: <200412172122.54230.mikew at crucis.net>
> 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 at uni-x.org>
> Subject: Re: Upgrade from FC-1 to FC-2: Cyrus POP3/IMAP won't
>  authenticate
> To: For users of Fedora Core releases <fedora-list at redhat.com>
> Message-ID: <1103341035.25494.267.camel at serendipity.dogma.lan>
> 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 at localhost.localdomain>
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.




More information about the fedora-list mailing list