yeah you can definately do this with sendmail, here is a classic
example...
say you had two mail servers A and B and you had half your users
distributed accross each server, so at a fundamental address space you
could have say...
and
however you still want all users that are sending and reciving to be
and
so there is some server thats talking between the internet and these
other two servers with is acting as your mail relay (could be your
firewall, could be another server). First you have to have MX records
of which points to the approriate machine.
how you have it set up...if this relay is tottaly in the LAN, then your
LAN DNS entries should reflect this, while your external MX records
should point to your internet gateway/firewall. if the gateway is the
relay, then both internal and external address will point to the same
machine, just different ethernet interfaces on that machine)
now you want this relay machine to actually do what its meant to. So
what we want is this. someone from the outside sends email to say
relay, we then want the relay to say "ok we have recieved mail for
"user-a" for our global domain...ok when i look this up it translates to
for that address space". it then does a dns lookup, finds the machine
send email out, to send it out with a From and return address header
so first get your sendmail relay set up with xaliases, which will do all
create a sendmail.cf file that will masquerade the entire mail envolope,
then set your A and B machines to forward all external mail or mail
client the sendmail relay machine.
> Hi,
> I currently have one e-mail server for my students which has now reach
> 3000+ users. My plan now is to balance the load of the server by
> creating another server as we are looking at almost 6000+ users in the
> near future.
> Server 1 - 123.abc.domain.my with user e-mail will be
> Since the new server will be for the same group, i would like to
> maintain the e-mail address as the same.
> Server 1 - A123.abc.domain.my with user e-mail as
> Server 2 - B123.abc.domain.my with user e-mail as
> is this possible? does it involved sendmail or DNS or both? what
> about Samba and domain logon?
> Thanks.