>Assuming that you are an ISP,  what does an example config file look like
>for handling multiple virtual domains?

virtuals are well supported in postfix, even 1000's of them, address or 
domain level. virtuals are kept in an indexed file for fast access.


>I know each virtual's MX record would point to the new 'relay',

yes,

>  but on the relay, what needs to be added each time your company gets a 
> new client
>(virtual domain)?

as for the virtuals, there a two files that control relaying, also indexed 
for speed.

relayed_domains.map (table for mapping domains to actions) with lines like 
this:

dgsoft.com      RELAY

this line accepts dgsoft.com acceptable, and RELAY says relay it (could 
DEFER it, etc, etc)

transport.map  (table for mapping domains to transport protocols: smtp, 
uucp, etc)

dgsoft.com   smtp:[xxx.xxx.xxx.xxx]

This line says sen dgsoft.com traffic over smtp to the ip address, which 
for Imail people would be Imail ip's (avoids DNS lookups).  If you're 
client was a dedicated line client with his own mail host, then you'd point 
the smtp:[] to that client's mail host ip.

after these .map files are edited as text, postfix has a little ulitity 
that will produce the accompanying index file.

So each new virtual requires a new line in the relayd_domains and transport 
files.

Len

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to