Hello,

I am currently setting up a mail server with virtual domains support, using
qmail+vpopmail+courier-authlib+courier-imap. The qmail/vpopmail part seems to 
be ok (all tests
successfull).
I'm using courier-authlib-0.52 and courier-imap-4.0.1. When i use authtest i 
can authenticate a
user:

[EMAIL PROTECTED]:/package# authtest postmaster
Authentication FAILED: Operation not permitted

[EMAIL PROTECTED]:/package# authtest [EMAIL PROTECTED]
Authentication succeeded.

     Authenticated: [EMAIL PROTECTED]  (uid 40, gid 40)
    Home Directory: /home/vpopmail/domains/edited.com/postmaster
           Maildir: (none)
             Quota: (none)
Encrypted Password: $1$----EDITED----.
Cleartext Password: (none)
           Options: disablewebmail=0,disablepop3=0,disableimap=0
[EMAIL PROTECTED]:/package#

So i assume the link between courier-authlib and vpopmail + the mysql backend 
is ok.

But, when i use courier-imap, there doesn't seem to be a valid link for the 
authentication.
Whenever i try to use a webmail linked to courier-imap or any regular imap 
client, it says the
server had a problem. I enabled debugging and here is what i have in my logs 
when i try to log in:

==> /var/log/debug <==
Feb 24 15:21:16 mushroom imapd-ssl: Connection, ip=[::ffff:192.168.1.110]
Feb 24 15:21:42 mushroom imapd: Connection, ip=[::ffff:192.168.1.110]


Folowwing the documenation/faq/any doc i could find, i tried to telnet the 
server, first trying
POP3 (handled by qmail) and then imap (courier-imap):

[EMAIL PROTECTED]:/package/fam-2.7.0# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass EDITED
+OK
stat
+OK 1 5947
quit
+OK
Connection closed by foreign host.

[EMAIL PROTECTED]:/package/fam-2.7.0# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT
QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 
Double Precision, Inc.
 See COPYING for distribution information.
a login [EMAIL PROTECTED] EDITED
* BYE Temporary problem, please try again later
Connection closed by foreign host.

And nothing more in the logs that what i pasted above.
I'm really lost because i don't really see how i can check where is the problem 
exactly. IS there
any way to have more debugging options to trace the calls between impad and the 
authdaemon ?

I compiled and installed courier-authlib without any noticable problem with:
./configure --without-authpam --without-authldap --without-authpwd 
--without-authmysql
--without-authpgsql --without-authshadow --without-authuserdb 
--without-authcustom
--without-authcram --without-authdaemon --with-authvchkpw

and then i compiled and installed courier-imap without any problem (at least 
nothing which made it
stop or even warning):
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"
./configure --prefix=/usr/local/courier-imap


Thanks for any help you could provide.

Arnauld





        

        
                
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to