dso> My script is multidomain aware. To do so, I create an addition table in
dso> dbmail database for Postfix to resolve transports and to dbmail.sh to
dso> distinguish system domains. To create the table you can use the
dso> following commands:

dso> USE dbmail;

dso> CREATE TABLE transport (
dso>   domain varchar(255) NOT NULL default '',
dso>   transport varchar(8) default NULL,
dso>   PRIMARY KEY  (domain)
dso> ) TYPE=MyISAM;

dso> INSERT INTO transport VALUES ('localhost','dbmail:');

If you want Postfix to fully utilize the transport table, don't limit
the transport column to 8 characters; Some transport methods can be
quite involved!

For example, you might want Postfix to forward "internal.domain.com"
mail to a server inside your firewall, possibly after running it
through some filtering. That isn't going to fit in 8 characters...

-- 
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