TU> I was thinking it might be possible to write triggers to TU> manipulate the postfix text files but I did not know you could TU> have postfix read the database directly that's great.
If you have configured postfix to use the pbsp for authentication, you can use it for virtually ANY table within postfix. I use MySQL to maintain a transport/destination table, so domains can be added without restarting postfix; postfix checks MySQL tables for both access-by-mailfrom and access-by-IP. In fact, only the regular expression filters aren't in SQL tables. Making it work with PostGRES is not quit as easy as doing it with MySQL, because PG support isn't in the main postfix CVS tree or distribution, but it DOES exist. -- 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