On Thu, Aug 24, 2000 at 02:27:34AM +0300, [EMAIL PROTECTED] wrote:
>   is it necessay to define smtproute for foo.example.com on bar.example.com
> , 
> 
> my incoming is        bar.example.com 
> out going is  foo.example.com 
> 
> 
>  if i define DNS MX bar.example.com 
> 
> and tell my users to rerlay through  foo.example.com  
>  then will it work  , 

That works for most cases, but keep in mind that bar.example.com might
generate its own outgoing mail. In that case you want bar.example.com
to relay the message through foo.example.com, which the smptroutes
entry achieves.

> and how do i load balance if i need to have more then one incoming and more
> then one outgoing  qmail smtp servers 

You must be expecting a LOT of mail to anticipate the need for load
balancing. Remember that qmail is not a resource hog, you should be
able to serve thousands of users with one Pentium Pro/Pentium II class
machine.

The quickest way to load balance is to use DNS round-robin entries for
both foo.example.com and bar.example.com. Remember that all machines
that receive mail as bar.example.com should have access to the same
spool directories, so a user gets messages regardless of which machine
the message came through.

PGP signature

Reply via email to