1 message in net.sourceforge.lists.courier-maildrop[maildropl] mysql_select_clause
FromSent OnAttachments
Leander SukovMar 10, 2008 3:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] mysql_select_clauseActions...
From:Leander Sukov (lean@leander-sukov.de)
Date:Mar 10, 2008 3:42:16 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I need help to setup the mysql_select_clause in /etc/courier. I understood that in debian etch maildrop uses /etc/courier/couriermysqlrc to connect to the database.

This file looks as follows:

/etc/courier/authmysqlrc MYSQL_SERVER 127.0.0.1 MYSQL_USERNAME syscp MYSQL_PASSWORD ********** MYSQL_PORT 0 MYSQL_DATABASE syscp MYSQL_USER_TABLE mail_users MYSQL_CRYPT_PWFIELD password_enc MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD username MYSQL_HOME_FIELD homedir MYSQL_MAILDIR_FIELD maildir

but: username is not an e-mail-adresse, the username has nothing to do with any part of the e-mail-adress. This brings trouble. The result is "invalid user specified". I therefore need to make an select clause. But I did not found anything that shows me, how to set it up.

Infomations: Distri: Debian etch Postfix, courier-imap, courier-pop, maildrop (in /etc), syscp, spamassassin, clamav.

Structure of the maildirs:

/var/kunden/mail/user/mailaddress/

Leander