![]() Query = SELECT 1 FROM virtual_domains WHERE name='%s' Password = fLxsWdf5ABLqwhZr <- use your own database password here ![]() Start by creating a file called /etc/postfix/mysql-virtual-mailbox-domains.cf for the virtual_mailbox_domains mapping that contains: user = mailuser To make Postfix use MySQL we need to create a ‘cf’ file ( configuration file). virtual_mailbox_domainsĪs described earlier a mapping in Postfix is just a table that contains a left-hand side (LHS) and a right-hand side (RHS). First let’s tell it how to find out if a certain domain is a vaild email domain. ![]() So we need to tell Postfix how to get the information from the database. The entry point for all email on your system is Postfix. In the previous chapter you have created the MySQL database schema and inserted some data to play with.
0 Comments
Leave a Reply. |