Hi

I am running Mac OS Tiger with the built in postfix.

This is my first time with dbmail. Downloaded the source and compiled
it accordingly.

./configure --with-mysql
make all
sudo make install

All the binaries got installed /usr/local/dbmail and libraries got
installed in /usr/local/lib/dbmail

Now I changed the master.cf as described at:
http://www.dbmail.org/dokuwiki/doku.php?id=setup_postfix with LMTP
support.

Restarted postfix:

# postmap /etc/postfix/transport
# postfix reload

Went of well.

Now I went to creating user stage. According to
http://www.dbmail.org/dokuwiki/doku.php?id=manage_users, I did:

dbmail-users -a ritesh -w ritesh

gave an error that dbmail.conf was not found in /etc. I dont know why
it was not created nor anything was written in the docs. So I created
it by hand with details similar to:

http://www.mail-archive.com/dbmail%40dbmail.org/msg12080.html

Executing the command again gave me:

May 23 22:47:42 Debug:[db] dbmodule.c,db_load_driver(+53): no value
for library_directory, using default [/usr/lib/dbmail]
M

Now I remember that while building it copied to
/usr/local/lib/dbmail...so I copied the complete folder from there
/usr/lib/dbmail

Executing the command again gave me:

May 23 22:48:45 Debug:[db] dbmodule.c,db_load_driver(+53): no value
for library_directory, using default [/usr/lib/dbmail]
May 23 22:48:45 Debug:[db] dbmodule.c,db_load_driver(+69): looking for
mysql as /usr/lib/dbmail/libmysql.so
May 23 22:48:45 Debug:[sql] dbmysql.c,db_query(+290): query [SHOW
VARIABLES LIKE 'collation_%']
May 23 22:48:45 Debug:[sql] dbmysql.c,db_mysql_check_collations(+120):
does [collation_database:latin1_swedish_ci] match
[collation_connection:latin1_swedish_ci]?
May 23 22:48:45 Debug:[auth] authmodule.c,auth_load_driver(+48): no
value for library_directory, using default [/usr/lib/dbmail]
May 23 22:48:45 Debug:[auth] authmodule.c,auth_load_driver(+64):
looking for auth_sql as /usr/lib/dbmail/libauth_sql.so
May 23 22:48:45 Debug:[user] dbmail-user.c,do_add(+68): Adding user
ritesh with password type ,0 bytes mailbox limit and clientid 0...
May 23 22:48:45 Debug:[sql] dbmysql.c,db_query(+290): query [SELECT
user_idnr FROM dbmail_users WHERE lower(userid) = lower('ritesh')]
May 23 22:48:45 Error:[sql] dbmysql.c,db_query(+292): [No database
selected] [SELECT user_idnr FROM dbmail_users WHERE lower(userid) =
lower('ritesh')]
May 23 22:48:45 Error:[db] db.c,db_user_exists(+4649): could not
select user information
Failed: check logs for details
Command failed.

Now I am stuck? What should I do?

--
Ritesh
http://www.riteshn.com
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to