make is your friend:

/etc/postfix/Makefile:

virtual.cf.db: virtual.cf
     postmap virtual.cf
     /etc/init.d/postfix reload

After edit, run make in /etc/postfix. Add extra targets as desired.
NOTE: make sure those indents are TABS, not spaces! Makefile 101!