Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2008 15:23:03 +0100 (CET)
From:      "Reinhold" <freebsd@violetlan.net>
To:        "Reinhold" <freebsd@violetlan.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: maildrop with mysql
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57072.217.45.165.129.1201530183.squirrel>