I've been trying to get maildrop to use mysql for user account without
any luck. I always seem to get Invalid user specified. When I compiled
maildrop I used these options:
./configure --prefix=/usr --without-db --enable-maildropmysql
--with-mysqlconfig=/etc/maildrop/maildropmysql.config
--with-etcdir=/etc/maildrop
my maildropmysql.conf file looks like this:
hostname localhost
port 3306
socket /var/lib/mysql/mysql.sock
database maildb
dbuser mail
dbpw *****
dbtable users
#timeout 5
default_uidnumber 1000
default_gidnumber 1000
uid_field id
uidnumber_field uid
gidnumber_field gid
maildir_field maildir
homedirectory_field home
#quota_field quota
mailstatus_field imapok
#where_clause ""
both courier-imap and postfix are pulling from the same MySQL database
without any problems. Strace I can see some (Resource temporarily
unavailable) messages but I'm not very good at reading strace output
yet.
System specs:
RH 7.3
MySQL rpms (from mysql.com)
courier-imap 1.5.3 (built rpm)
maildrop 1.4.0 (built from tar.gz)
postfix 1.1.11 (built from postfix.org srpm)
Any ideas?
TIA
ethan