From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 13:15:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B84EA16A420 for ; Wed, 29 Jun 2005 13:15:41 +0000 (GMT) (envelope-from mkyaqoob2005@yahoo.com) Received: from web32012.mail.mud.yahoo.com (web32012.mail.mud.yahoo.com [68.142.207.109]) by mx1.FreeBSD.org (Postfix) with SMTP id 22FAE43D48 for ; Wed, 29 Jun 2005 13:15:39 +0000 (GMT) (envelope-from mkyaqoob2005@yahoo.com) Received: (qmail 86119 invoked by uid 60001); 29 Jun 2005 13:15:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OYQvLm10HlZ0DoHwnK5FcHkbgbz9VqOryMF8vyKKkOtvDRPUY9QyDZGS+JgeFOrLOSDwaFhlovP2hu+8uqWHhFgBPkkQzgfBoIjlceklpMkqR2IJS8NyV7aZpRXV3BzN+wKQD0SqY+MQ9O2dfA8pB2ZNkqgoK8bCEpaoZ6OEHdE= ; Message-ID: <20050629131539.86117.qmail@web32012.mail.mud.yahoo.com> Received: from [202.176.229.116] by web32012.mail.mud.yahoo.com via HTTP; Wed, 29 Jun 2005 06:15:39 PDT Date: Wed, 29 Jun 2005 06:15:39 -0700 (PDT) From: Muhammad Kashif Yaqoob To: courier-imap@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, B.Candler@pobox.com Subject: mysql user did not authenticate by courier-imap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 13:15:41 -0000 Dear Sir, I am working on postfix Mailserver at freebsd.and install the courier Imap (courier-imap-4.0.2,1) and courier-authlib-0.55 in the system.and also Configuration the setting of courier-imap with mysql.When i authenticate the mysql pop user with courier-imap. And run the following for authenticating mysql user #/usr/local/sbin/authdaemond start #/usr/lib/courier-imap/libexec/pop3d.rc start #postfix start #telnet localhost 110 >connected to localhost >+ok Hello there. and now check pop mysql user >USER atif@kashif.net >PASS atif Following error message occour Part of my maillog: Jun 29 21:13:36 post-4 postfix/master[498]: daemon started -- version 2.2.2, configuration /etc/postfix Jun 29 21:14:01 post-4 authdaemond: modules="authmysql", daemons=5 Jun 29 21:14:01 post-4 authdaemond: Installing libauthmysql Jun 29 21:14:01 post-4 authdaemond: Installation complete: authmysql Jun 29 22:52:52 post-4 pop3d: LOGIN FAILED, user=atif@kashif.net, ip=[127.0.0.1] Jun 29 22:52:52 post-4 pop3d: authentication error: Input/output error Define the configuration setting in detail for courier imap given below authdaemonrc ========= authmodulelist="authmysql" daemons=5 version="" -------------------------------------------------------- authmysqlr ========== MYSQL_SERVER 127.0.0.1 MYSQL_USERNAME vmailuser MYSQL_PASSWORD vmailuser MYSQL_PORT 3306 MYSQL_OPT 0 MYSQL_DATABASE provider MYSQL_USER_TABLE users MYSQL_CRYPT_PWFIELD crypt MYSQL_CLEAR_PWFIELD password MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD email MYSQL_HOME_FIELD homedir MYSQL_NAME_FIELD name MYSQL_MAILDIR_FIELD maildir +.......................................... ------------------------------------------------------------------------------- How can i authenticate the mysql user by using courier-imap.? Hope somebody here can help? Best Regards, Muhammad kashif --------------------------------- Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out!