From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 12:41:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89E2916A41B for ; Mon, 28 Jan 2008 12:41:44 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (www.violetlan.net [80.81.242.8]) by mx1.freebsd.org (Postfix) with ESMTP id 470F413C461 for ; Mon, 28 Jan 2008 12:41:44 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (localhost [127.0.0.1]) by mail.violetlan.net (Postfix) with ESMTP id 49CEE11435 for ; Mon, 28 Jan 2008 12:03:32 +0000 (GMT) Received: by mail.violetlan.net (Postfix, from userid 65534) id 1296D11431; Mon, 28 Jan 2008 12:03:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on scurvy.violetlan.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=no version=3.2.4 Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id E3CF31142D for ; Mon, 28 Jan 2008 12:03:28 +0000 (GMT) Received: from 217.45.165.129 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Mon, 28 Jan 2008 13:06:44 +0100 (CET) Message-ID: <59675.217.45.165.129.1201522004.squirrel@www.violetlan.net> Date: Mon, 28 Jan 2008 13:06:44 +0100 (CET) From: "Reinhold" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: maildrop with mysql 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: Mon, 28 Jan 2008 12:41:44 -0000 Hi, I'm trying to setup maildrop to work with my postf, dovecot and mysql mail server. I installed maildrop successfully. This is what I used to install it cd /usr/ports/mail/maildrop; make WITH_AUTHLIB=yes WITH_MAILDIRQUOTA=yes install clean At the blue prompt I selected mysql and it installed with out any problems. I then edited the /usr/local/etc/authlib/authmysqlrc file and added my mysql info to it but when I run the following I get this error echo "test" | maildrop -V 5 -d user@example.com maildrop[44965]: Temporary authentication failure. This is what I see in my maillog file authdaemond: stopping authdaemond children authdaemond: modules="authmysql", daemons=5 authdaemond: Installing libauthmysql authdaemond: Installation complete: authmysql Temporary authentication failure. Here is the config files for authdaemonrc and authmysqlrc cat /usr/local/etc/authlib/authdaemonrc authmodulelist="authmysql" authmodulelistorig="authuserdb authvchkpw authpam authldap authmysql authpgsql" daemons=5 authdaemonvar=/var/run/authdaemond subsystem=mail DEBUG_LOGIN=0 DEFAULTOPTIONS="wbnodsn=1" LOGGEROPTS="" and autmysqlrc MYSQL_SERVER localhost MYSQL_USERNAME postuser MYSQL_PASSWORD changedpasswd MYSQL_PORT 3306 MYSQL_OPT 0 MYSQL_DATABASE postfix MYSQL_USER_TABLE mailbox MYSQL_CRYPT_PWFIELD MD5 MYSQL_CLEAR_PWFIELD clear MYSQL_UID_FIELD 125 MYSQL_GID_FIELD 125 MYSQL_LOGIN_FIELD username MYSQL_HOME_FIELD '/usr/local/virtual' MYSQL_NAME_FIELD name MYSQL_MAILDIR_FIELD maildir I want to use maildrop to move all the emails that gets flagged as spam to be moved into the Junk mail folder. Any help will be apeaciated Thanks Reinhold