Bluehost.com Web Hosting $6.95

[courier-users] Problem using disableimap and Thunderbird 2.0.6

This is a discussion on [courier-users] Problem using disableimap and Thunderbird 2.0.6 within the Courier-Imap forums, part of the Mail Servers and Related category; Hello, i want to use Courier-Imap with authdaemon to authenticate against an Openldap-Directory. Everything works fine, but not ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-01-2007
Marco Nietz
 
Posts: n/a
Default [courier-users] Problem using disableimap and Thunderbird 2.0.6

Hello,

i want to use Courier-Imap with authdaemon to authenticate against an
Openldap-Directory. Everything works fine, but not the Feature to
Disableimap Access for certain Accounts with Thunderbird 2.0.6. Other
Clients (Telnet, Windows-Mail or Pegasus) works fine.

Im am Using Debian Etch 4.01 and this are the installed Courier-Packages:

dpkg -l | grep courier | awk -F" " '{print $2 " - " $3}'
courier-authdaemon - 0.58-4
courier-authlib - 0.58-4
courier-authlib-ldap - 0.58-4
courier-authlib-userdb - 0.58-4
courier-base - 0.53.3-5
courier-doc - 0.53.3-5
courier-imap - 4.1.1.20060828-5
courier-imap-ssl - 4.1.1.20060828-5
courier-maildrop - 0.53.3-5
courier-pop - 0.53.3-5
courier-pop-ssl - 0.53.3-5
courier-ssl - 0.53.3-5

/etc/courier/authldaprc:

LDAP_AUXOPTIONS disableimap=3Ddisableimap,disablepop3=3Ddisablepop 3

This is my Ldap-Account f=FCr Testing

# info@test.local, test.local, Kunden, hosting, de
dn: cn=3Dinfo@test.local,ou=3Dtest.local,ou=3DKunden,d c=3Dhosting,c=3Dde
cn: info@test.local
sn: info@test.local
objectClass: vuser
objectClass: top
accountstatus: active
vmailstore: /srv/mail/test.local/info/
valias: support@test.local
quota: 51200000S
disableimap: 1

When I Use Telnet to test the Connection i get the expected
Error-Message: * BYE IMAP access disabled for this account.

But when i use Thunderbird, the Login goes into an endless Loop and me
syslog looks like that Client tries to authenticate over and over again:

Oct 1 21:28:53 hos01 imapd: Connection, ip=3D[::ffff:80.136.158.146]
Oct 1 21:29:23 hos01 authdaemond: received auth request, service=3Dimap, =

authtype=3Dlogin
Oct 1 21:29:23 hos01 authdaemond: authldap: trying this module
Oct 1 21:29:23 hos01 authdaemond: selected ldap protocol version 3
Oct 1 21:29:23 hos01 authdaemond: binding to LDAP server as DN =

'cn=3Dadmin, dc=3Dhosting, c=3Dde', password '<pw>'
Oct 1 21:29:23 hos01 authdaemond: using search filter: =

(&(objectClass=3Dvuser)(cn=3Dinfo@test.local))
Oct 1 21:29:23 hos01 authdaemond: one entry returned, DN: =

cn=3Dinfo@test.local,ou=3Dtest.local,ou=3DKunden,d c=3Dhosting,c=3Dde
Oct 1 21:29:23 hos01 authdaemond: raw ldap entry returned:
Oct 1 21:29:23 hos01 authdaemond: | cn: info@test.local
Oct 1 21:29:23 hos01 authdaemond: | vmailstore: /srv/mail/test.local/info/
Oct 1 21:29:23 hos01 authdaemond: | userPassword: =

{MD5}4QrcOUm6Wau+VuBX8g+IPg=3D=3D
Oct 1 21:29:23 hos01 authdaemond: | quota: 51200000S
Oct 1 21:29:23 hos01 authdaemond: | disableimap: 1
Oct 1 21:29:23 hos01 authdaemond: authldaplib: sysusername=3D<null>, =

sysuserid=3D5000, sysgroupid=3D5000, homedir=3D///srv/mail/test.local/info/=
, =

address=3Dinfo@test.local, fullname=3Dinfo@test.local, =

maildir=3D/srv/mail/test.local/info/, quota=3D51200000S, options=3Dd
isableimap=3D1
Oct 1 21:29:23 hos01 authdaemond: authldaplib: clearpasswd=3D<null>, =

passwd=3D{MD5}4QrcOUm6Wau+VuBX8g+IPg=3D=3D
Oct 1 21:29:23 hos01 authdaemond: password matches successfully
Oct 1 21:29:23 hos01 authdaemond: Authenticated: sysusername=3D<null>, =

sysuserid=3D5000, sysgroupid=3D5000, homedir=3D///srv/mail/test.local/info/=
, =

address=3Dinfo@test.local, fullname=3Dinfo@test.local, =

maildir=3D/srv/mail/test.local/info/, quota=3D51200000S, options
=3Ddisableimap=3D1
Oct 1 21:29:23 hos01 authdaemond: Authenticated: clearpasswd=3D123456, =

passwd=3D{MD5}4QrcOUm6Wau+VuBX8g+IPg=3D=3D
Oct 1 21:29:23 hos01 imapd: Connection, ip=3D[::ffff:80.136.158.146]
Oct 1 21:29:23 hos01 authdaemond: received auth request, service=3Dimap, =

authtype=3Dlogin
Oct 1 21:29:23 hos01 authdaemond: authldap: trying this module

and so on. So long until i close my Mail-Client.

Thanks for your help.


Regards
Marco


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0