View Single Post
  #7  
Old 2nd April 2009, 17:24
deconectat deconectat is offline
Junior Member
 
Join Date: Feb 2009
Location: Romania
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to deconectat
Default

Can you give more details?

Try:
Code:
mysql -u root -p
to see if you cam connect to mysql (you'll have to enter mysql's root password)
In mysql type
Code:
use mail;
If you get a "database changed" message, then your database exists.

If everything is ok, type quit to exit mysql, then try:
Code:
mysql -u mail_admin -p
to see if the user you created for postfix works (you'll have to enter the password you set in the postfix configuration).

Quote:
Apr 1 07:34:22 lightondesigns postfix/trivial-rewrite[25734]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
This probably means there-s something wrong with the tables in your database. You could try to drop your database and redo the 4th chapter from the tutorial (Create The MySQL Database For Postfix/Courier).
To drop your database:
Code:
mysqladmin -u root -p drop mail
Reply With Quote