Since I can never find my notes on compiling Postfix, I'm making an entry here to document my compile options.
The command below will configure the build for 64bit, and include Dovecot SASL support, MySql support, and PCRE support.
make -f Makefile.init makefiles \ CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \ -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ -DHAS_PCRE -I/usr/local/include \ -DHAS_SSL -I/usr/include/openssl \ -DHAS_MYSQL -I/usr/local/mysql/include' \ AUXLIBS='-L/usr/lib -llber -lresolv -L/usr/local/lib \ -L/usr/local/lib -lpcre -lssl -L/usr/local/mysql/lib \ -lmysqlclient -lz -lm'
