Once Postfix is built with mysql support, you can specify a
map type in
main.cf like this:
alias_maps =
mysql:/etc/postfix/mysql-aliases.cf
The file /etc/postfix/mysql-aliases.cf specifies lots of
information telling Postfix how to reference the mysql database.
For a complete description, see the
mysql_table(5) manual page.