Imtest failure

Rajeev rajeev at cracknell.com
Mon Dec 5 10:43:46 EST 2005


Hi

 

I have done a cyrus installation with tls support and I am not able to send
messages through the Outlook or Outlook express. But I can send it with web
mail (Open Xchange webmail). When I tried to do the following command I get
the result as below:-

 

Imtest -t ""  -a user-name -p imap localhost  -- gives a success 

 

Imtest -a user-name -p imap localhost   - gives no authentication 

 

 

The first one shows 256 bit encryption and the later shows 128 bit
encryption 

 

Flowing lines shows the screen shots

 

 

[root at mail imap]# imtest -a rajeev -p imap localhost

S: * OK mail.cracknell.com Cyrus IMAP4

v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1 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
AUTH=DIGEST-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE

S: C01 OK Completed

C: A01 AUTHENTICATE DIGEST-MD5

S: +

bm9uY2U9IjVkeGNEL045bmR0NDZtY1luUFllYkpGZG9ZYktYQ0ZaZXJvNzhYZUlOWEk9IixyZWFs
bT0ibWFpbC5jcmFja25lbGwuY29tIixxb3A9ImF1dGgsYXV0aC1pbnQsYXV0aC1jb25mIixjaXBo
ZXI9InJjNC00MCxyYzQtNTYscmM0LGRlcywzZGVzIixtYXhidWY9NDA5NixjaGFyc2V0PXV0Zi04
LGFsZ29yaXRobT1tZDUtc2Vzcw==

Please enter your password:

C:

dXNlcm5hbWU9InJhamVldiIscmVhbG09Im1haWwuY3JhY2tuZWxsLmNvbSIsbm9uY2U9IjVkeGNE
L045bmR0NDZtY1luUFllYkpGZG9ZYktYQ0ZaZXJvNzhYZUlOWEk9Iixjbm9uY2U9ImdCYSs4V2hs
bmdDMTZWT2dyOWM5UkN2RDlvU2JERzloaFgvbmgyV0JpUUU9IixuYz0wMDAwMDAwMSxxb3A9YXV0
aC1jb25mLGNpcGhlcj1yYzQsbWF4YnVmPTEwMjQsZGlnZXN0LXVyaT0iaW1hcC9sb2NhbGhvc3Qu
bG9jYWxkb21haW4iLHJlc3BvbnNlPWNmYWRkNTk4ZmFjMTZjYmRkYWQwZTY1ZGFkNjhiY2I4

S: A01 NO One time use of a plaintext password will enable requested
mechanism for user Authentication failed. generic failure Security strength
factor: 128

 

[root at mail imap]# imtest -t "" -a rajeev -p imap localhost

S: * OK mail.cracknell.com Cyrus IMAP4

v2.2.12-Invoca-RPM-2.2.12-3.RHEL4.1 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
AUTH=DIGEST-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE

S: C01 OK Completed

C: S01 STARTTLS

S: S01 OK Begin TLS negotiation now

verify error:num=18:self signed certificate TLS connection established:
TLSv1 with cipher AES256-SHA (256/256 bits)

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 AUTH=PLAIN
AUTH=DIGEST-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED X-NETSCAPE

S: C01 OK Completed

Please enter your password:

C: A01 AUTHENTICATE PLAIN AHJhamVldgBha2NydnI=

S: A01 OK Success (tls protection)

Authenticated.

Security strength factor: 256

 

Following shows my /etc/imapd.conf

 

configdirectory: /var/lib/imap

defaultpartition: default

partition-default: /var/spool/imap

lmtp_downcase_rcpt: yes

admins: mailadmin cyrus

quotawarn: 90

reject8bit: no

lmtp_overquota_perm_failure: no

virtdomains: userid

defaultdomain: cracknell.com

sendmail: /usr/sbin/sendmail

allowanonymouslogin: no

popminpoll: 1

autocreatequota: 0

umask: 077

sieveusehomedir: false

sievedir: /var/spool/sieve

hashimapspool: true

allowplaintext: yes

sasl_pwcheck_method: saslauthd

sasl_mech_list: PLAIN DIGEST-MD5

sasl_auto_transition: yes

sasl_minimum_layer: 0

tls_ca_path: /var/lib/imap/

tls_cert_file: /var/lib/imap/server.pem

tls_key_file:  /var/lib/imap/server.pem

tls_session_timeout: 1440

tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH

lmtpsocket: /var/run/imap/socket/lmtp

lmtpunix:/var/run/imap/socket/lmtp

idlesocket: /var/run/imap/socket/idle

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20051205/5513ed8a/attachment.html


More information about the Info-cyrus mailing list