* Differentiated Software Solutions Pvt. Ltd., [linux-india] <12/06/01 15:53 +0530>:
> I did 2 things
> made an entry in sendmail.cw for xyz.com. This didn't work.
That is, xyz.com or diffsoft.com is to be treated as local by the server
On your local machine at least - that should work - assuming all the users on
diffsoft.com are defined as local users on that machine (using useradd - if
you dont want them to have shell access give them a bogus shell like
/bin/false)
> Then I went to /etc/mail/access. Added an entry here for xyz.com
Why are you doing this?
> Recreated access.db by running make.
> Both did not work.
> I don't want to touch DNS and make entry for diffsoft.com, as we are also
> using this mail server as a dial-up gateway. When we surf I want http
> requests to still go to the actual site.
Heard of MX records? And you dont want to touch external dns for this - if
you are running a local dns server, create an mx record for this if need be.
It won't affect traffic to your website.
In fact you dont need dns if your users use the dialup gateway for pop and
smtp purposes as well. In my office we separate the pop and smtp servers, so
we just use a mailertable on the smtp server, to redirect mail for domain.com
to the pop server, instead of going all the way through the internet and
back.
Read what I wrote below again please ... ask if you have any specific
questions.
> ----- Original Message -----
> From: Suresh Ramasubramanian <[EMAIL PROTECTED]>
> >
> > * [EMAIL PROTECTED] [linux-india] <11/06/01 10:54 +0530>:
> >
> > > We have a web site xyz.com. All our mail ids are also hosted there.
> which
> > > means we get [EMAIL PROTECTED] as mail id.
> >
> > Fine.
> >
> > > Now we connect to the net using a linux machine which has a domain name
> of
> > > abc. When I write internal mail to [EMAIL PROTECTED] this mail goes to
> abc
> > > which relays it to xyz.com and then fetches it back to the internal
> user.
> >
> > Oh I see. Have sendmail on your machine masquerade as xyz.com, and also
> > treat xyz.com as local (in /etc/sendmail.cw, /etc/mail/local-host-names
> or
> > whatever)
> >
> > --
> > Suresh Ramasubramanian <--> mallet <at> efn <dot> org
> > EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
> >
> >
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/linux-india-help
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help