From owner-freebsd-questions@FreeBSD.ORG Fri Jun 24 13:42:45 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 8E3E616A41C for ; Fri, 24 Jun 2005 13:42:45 +0000 (GMT) (envelope-from mkyaqoob2005@yahoo.com) Received: from web32013.mail.mud.yahoo.com (web32013.mail.mud.yahoo.com [68.142.207.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C50943D58 for ; Fri, 24 Jun 2005 13:42:45 +0000 (GMT) (envelope-from mkyaqoob2005@yahoo.com) Received: (qmail 42478 invoked by uid 60001); 24 Jun 2005 13:42:44 -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=ayfblClt4Gp4FxK/DZULdc505GMnB+brh52DAYjLiCh0IOxwYRx1Ogza/uQPqiTl0zXMKc4ss8t+Gpkf15t9jXuPILEYD2BXj9kZpim5uP8+9BfucmDNcYkjFWwSyq20Jl0W5C7ElvKPA3VoCgm/yqAPeX0ThVPvTzuLIRDAanI= ; Message-ID: <20050624134244.42476.qmail@web32013.mail.mud.yahoo.com> Received: from [202.141.239.6] by web32013.mail.mud.yahoo.com via HTTP; Fri, 24 Jun 2005 06:42:44 PDT Date: Fri, 24 Jun 2005 06:42:44 -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: courier-imap authenticate mysqk user 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: Fri, 24 Jun 2005 13:42:45 -0000 Dear Sir, I am working on postfix Mailserver at freebsd.and install the courier Imap and courier-authlib-mysql .and also Configuration the setting of courier-imap with mysql.When i authenticate the mysql pop user with courier-imap.Following error message occour. Part of my maillog: Jun 24 22:44:44 post-4 authdaemond.mysql: modules="authmysql", daemons=5 Jun 24 22:48:20 post-4 authdaemond.mysql: modules="authmysql", daemons=5 Jun 24 22:48:43 post-4 pop3d: LOGIN FAILED, ip=[::1] Jun 24 22:58:21 post-4 pop3d: LOGIN FAILED, ip=[::1] 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com