Hi,

I have a very well configured qmail running on our webserver. It checks
POP3 requests through vchkpw for our virtual domains, and it has SMTP
after POP enabled. This works just great!
Now we have decided to offer our customers a webmail service with their
own folders. So we need IMAP.
Webmail should go through a PHP written interface, so I compile it with
the --enable-imap option which is the first messy point, because I have
to get the WU-Imap libs. Can't I compile it somehow that it looks for
Courier?
Anyway, I have installed these WU libs and got PHP compiled.
Next I tried a few basic things like imap_open(...blablabla...) and here
is where I get really stuck, because sometimes it refuses the
connection, even though the username and password is right!
I noticed that this happens mostly after I entered a wrong user/pass at
first and then a right one after. It is not ease to explain, but here is
what my logs say:


Jun 24 21:53:25 california imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 21:53:30 california imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Jun 24 21:53:40 california last message repeated 2 times
Jun 24 21:53:40 california imapd: LOGOUT, ip=[::ffff:127.0.0.1]
Jun 24 21:53:59 california imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 21:53:59 california imapd: LOGIN, [EMAIL PROTECTED],
ip=[::ffff:127.0.0.1]
Jun 24 21:53:59 california imapd: LOGOUT, [EMAIL PROTECTED],
ip=[::ffff:127.0.0.1], headers=0, body=0
Jun 24 21:54:01 california imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 21:54:01 california imapd: LOGIN, [EMAIL PROTECTED],
ip=[::ffff:127.0.0.1]
Jun 24 21:54:01 california imapd: LOGOUT, [EMAIL PROTECTED],
ip=[::ffff:127.0.0.1], headers=0, body=0
Jun 24 21:54:01 california imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 21:54:06 california imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]


The first Connection failed is due to a wrong username.
Then I log in with valid settings and do a refresh in the browser, and
the first refresh goes, the second refresh screws it up.
When I restart IMAP, it seems to work as if nothing had ever happened.
So I guess there is something not right in the configuration.

Does anyone know how to set up Courier-IMAP working correctly with PHP
and Vpopmail and SMTP after POP/IMAP?

This drives me nuts, and I'be be very grateful if I could get help on
this.

Thanks a lot,

Andy


������ /'"`\ zzzZ | Globi aka Andy Bierlair
����� ( - - )���� | <http://www.root.lu/>
--oooO--(_)--Oooo----------------------------- 




-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to