Updating database tables

Of course typing such commands becomes boring quickly, and this is why people use "make" instead, as shown below. # Note 2: use postalias(1) for local aliases, postmap(1) for the rest.

aliases.db: postalias mv db access.db: postmap mv db virtual.db: postmap mv db ...etcetera... # make postmap mv db # The "make" command updates only the files that have changed.

Each time you do "postfix reload" Postfix loses a lot of performance.

If you change a network database such as LDAP, NIS or SQL, there is no need to execute "postfix reload".

You can use Berkeley DB files with fixed lookup strings for simple address rewriting operations and you can use regular expression tables for the more complicated work.

Last modified 29-Jun-2017 14:32