Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9669 - imtest segfaults on cyrus-imapd build
Summary: imtest segfaults on cyrus-imapd build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-25 16:27 UTC by Michael Farnbach
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Farnbach 2002-10-25 16:27:39 UTC
when connecting to the localhost cyrus imapd (2.1.9-r1) with...

imtest -u [user] localhost

it Segfaults.  No message put in the system logs.
Comment 1 Michael Farnbach 2002-10-29 13:51:22 UTC
USE="X -gnome -kde -arts \
	mms \
	ncurses readline \
	pam ssl sasl crypt socks5 imap ldap tcpd kerberos \
	guile java perl python ruby slang libwww libg++ pic \
	berkdb mysql postgres odbc -gdbm \
	gpm zlib"

gcc=3.2

using the -s (for ssl) option seems to alude the segfault, but it gets a
connection error before it can.  It segfaults against any imap server it tries
to log into.

cyrus-sasl v2.1.7-r3 and 1.5.7-r5, cyrus-imapd-v2.1.9-r1
Comment 2 Nick Hadaway 2002-11-22 15:41:23 UTC
Check your /var/log/imapd.log or syslog.

When running imtest put a -v in the command line switches to get verbose results... 

So you can see that the current version is working for me... 
I have just installed cyrus-imapd-2.1.9-r1, cyrus-sasl-2.1.7-r3, and
cyrus-imap-admin-2.1.9.

I added the user to sasl
saslpasswd2 cyrus

Started sasl
/etc/init.d/saslauthd start
Started cyrus
/etc/init.d/saslauthd start

 Then i ran imtest
___________________
blackiepagano root # imtest -p imaps -s -a cyrus -m login 10.0.0.100
verify error:num=20:unable to get local issuer certificate
verify error:num=27:certificate not trusted
verify error:num=21:unable to verify the first certificate
TLS connection established: TLSv1 with cipher DES-CBC3-SHA (168/168 bits)
S: * OK blackiepagano Cyrus IMAP4 v2.1.9 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=CRAM-MD5
AUTH=DIGEST-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=OTP LISTEXT LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
Please enter your password: 
C: L01 LOGIN cyrus {6}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 168
C: Q01 LOGOUT
Connection closed.
blackiepagano root #

If you have compiled cyrus with ssl support (which you probably did) plaintext
non-ssl imap connectiond will not be accepted by default. (for the obvious
security reasons)

Let me know if this helps you out at all...