s> my transport maps are in a mysql table, not in a dbm or hash, so i
s> don't use the postmap command. i just add the entry to the
s> transport table in mysql and run "postfix reload".

Actually, when using an SQL table for mydestination and transport, you
don't have to reload postfix... postfix looks at the destination SQL
table each time a message arrives to see if it is the destination for
a particular domain, then it looks at the transport table to see how
it should handle it. If you change the table, the next time postfix
handles an inbound message, the change is in place...

The same thing happens when it's a hash or other *external* table
(i.e., not a list held within main.cf). The "postmap" just generates
the hash table from a source text file. You COULD build an external
application that manages the hash table directly; I looked at doing
that in PHP, prior to moving ALL the non-REGEXP postfix tables to
MySQL...

-- 
Jeff Brenton
President,
Engineered Software Products, Inc
http://espi.com
Questionable web page: http://dididahdahdidit.com

Liberalism grants you the freedom to advocate any idea*.
 * Please see http://www.dididahdahdidit.com/except.php for a
   current list of exceptions

Reply via email to