Alberto Mariani -Ad Glamor:
> Hi there,
> how can I chenge transport maps dynamically based on some rules via
> script (like PHP)

1) Use a MySQL or SQLite database.
   http://www.postfix.org/mysql_table.5.html
   http://www.postfix.org/sqlite_table.5.html

2) Update a textfile, then update the database with "postmap
   textfile". The updating part I will not explain here.

   To "postmap" Berkeley DB tables safely:

       http://www.postfix.org/DATABASE_README.html#safe_db

   Alternatively, use CDB or LMDB which "postmap" tables safely
   without dependencies on other tools.

        Wietse

Reply via email to