What tutorial (URL) did you use to set up the system? Is it one of the Postfix + MySQL tutorials? If so, did you exclude Postfix from updates? Because the standard Postfix packages for CentOS 5.x don't have MySQL support compiled in.