Hi So I worked a little more to get dbmail working on MacBook.
Since dbmail-users was not reading my mysql details from /etc/dbmail.conf, I patched modules/dbmysql.c with hardcoded value in mysql_real_connect()..... Here are my conf file: http://cs.uiowa.edu/~rnadhani/main.cf http://cs.uiowa.edu/~rnadhani/master.cf http://cs.uiowa.edu/~rnadhani/dbmail.err.tar.gz Without the dbmail entries in main.cf and master.cf, the postfix was running properly and if I sent a mail to [EMAIL PROTECTED] it was correctly getting assigned /var/mail/acidity so I believe Postfix installation is correct. Added a user acidity to mysql db too. aciditys-computer:/var/log acidity$ mysql -u dbmail -p dbmail Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 18 to server version: 5.0.24a-max-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select * from dbmail_users; +-----------+--------------------------------+--------+-------------+--------------+--------------+---------------+---------------+-----------------+---------------------+ | user_idnr | userid | passwd | client_idnr | maxmail_size | curmail_size | maxsieve_size | cursieve_size | encryption_type | last_login | +-----------+--------------------------------+--------+-------------+--------------+--------------+---------------+---------------+-----------------+---------------------+ | 1 | [EMAIL PROTECTED]@__ | | 0 | 0 | 0 | 0 | 0 | md5 | 1979-11-03 22:05:58 | | 2 | anyone | | 0 | 0 | 0 | 0 | 0 | md5 | 1979-11-03 22:05:58 | | 3 | __public__ | | 0 | 0 | 0 | 0 | 0 | md5 | 1979-11-03 22:05:58 | | 4 | acidity | secret | 0 | 26214400 | 0 | 0 | 0 | | 2007-05-27 22:10:40 | +-----------+--------------------------------+--------+-------------+--------------+--------------+---------------+---------------+-----------------+---------------------+ 4 rows in set (0.00 sec) Then I execute the following commnds... sudo postfix stop sudo dbmail-lmtpb -v sudo dbmail-pop3d -v Everything seems to be working (complete log attached in the link given). So I send a mail to [EMAIL PROTECTED] Mail sends it without any problem but when I check: mysql> select * from dbmail_messages; Empty set (0.00 sec) So apparantly the mail didnt get through. Also, even if I start the pop3d server and its running on port 110, when I use Mail or Thunderbird to access the server, it never connects. Both fail with could not connect server on localhost error. Any idea? I am going to do it all over again tomorrow on an Ubuntu server but am I doing anything wrong? Let me know if you require anything else. I have time this weekend to get this thing running otherwise my internshit is on fire :( -- Ritesh http://www.riteshn.com _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
