From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 14:19:27 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 5FA5A16A420 for ; Mon, 28 Jan 2008 14:19:27 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (ns2.violetlan.net [80.81.242.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF6413C469 for ; Mon, 28 Jan 2008 14:19:27 +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 4B8E11142D for ; Mon, 28 Jan 2008 14:19:52 +0000 (GMT) Received: by mail.violetlan.net (Postfix, from userid 65534) id BE91511436; Mon, 28 Jan 2008 14:19:51 +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 27A851142D; Mon, 28 Jan 2008 14:19:48 +0000 (GMT) Received: from 217.45.165.129 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Mon, 28 Jan 2008 15:23:03 +0100 (CET) Message-ID: <57072.217.45.165.129.1201530183.squirrel@www.violetlan.net> In-Reply-To: <59675.217.45.165.129.1201522004.squirrel@www.violetlan.net> References: <59675.217.45.165.129.1201522004.squirrel@www.violetlan.net> Date: Mon, 28 Jan 2008 15:23:03 +0100 (CET) From: "Reinhold" To: "Reinhold" 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 Cc: freebsd-questions@freebsd.org Subject: Re: 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 14:19:27 -0000 To answer my own question, I had the authmysqlrc file set up wrong. Its working now On Mon, January 28, 2008 13:06, Reinhold wrote: > 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 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >