Hello !
Sorry for the delay in posting the summary.
My problem was not yet solved.
Thanks to all those who gave me informative replys.
Iam adding the original query and
answers below.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original Query:
Hello Managers !I think this is a basic question on sendmail.but iam sorry i dont have any other way.
Please help me out.
Iam having a combination of 1.x and 2.x machines.
All my 1.x machines use sendmail 4.1.
2.x machines are with SMI-8.6
It is NIS environment.(No DNS)
All the 1.x machines use NIS sendmail.cf
but 2.x(2.5.1)uses its own sendmail.cf.
How to change this and make it use the NIS .cf
file ?
Even the outgoing mail header is different.
i.e > in 1.x it is user@domainname.com
in 2.5.1 it is user@hostname.domainname.com
iam planning to upgrade the mailserver but it will
take time and so not a immediate soln.
Thanks in advance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ANswers:
---Bismark Espinoza <bismark@alta.Jpl.Nasa.Gov> wrote:
>
> To make 2.x computers use the NIS .cf file, you
> need to have the NIS map available to the 2.x computers.
>
> To have the domain name appear, edit the 2.x cf file to:
>
> Dmdomain_name
> Cmdomain_name
>
---Luciana Pinheiro Solano <lsolano@lafex.cbpf.br> wrote:
>
> Hi Jeany,
>
> > Even the outgoing mail header is different.
> > i.e > in 1.x it is user@domainname.com
> > in 2.5.1 it is user@hostname.domainname.com
> Well, to change the header:
>
> # If you want the gateway machine to appear to be INSIDE the domain, use:
> #Dj$w.$m
> # Unless you are using sendmail.mx (or have a fully-qualified hostname), use:
> Dj$m <========
>
> Hope it helps.
>
> regards,
>
> Luciana Solano
>
---Claus Assmann <ca@informatik.uni-kiel.de> wrote:
>
> > Even the outgoing mail header is different.
> > i.e > in 1.x it is user@domainname.com
> > in 2.5.1 it is user@hostname.domainname.com
>
> Look for a rule (should be in ruleset 22) like
> R$+<@$+>$* $@$1<@$2.$m>$3 tack on our domain
> and change it to
> R$+<@$+>$* $@$1<@$m>$3 tack on our domain
> if you have correctly defined $m.
>
> If you have SunOS 5.x (with x < 5; aka Solaris 2.x) you also have to
> change the following rule:
> R$+ $@$1<@$w.$m> tack on our full name
> into:
> R$+ $@$1<@$m> tack on our domain
>
>
> Hope this helps,
>
> Claus Assmann
>
---Shobhit Kapoor <shobhit@mtcts1.mt.lucent.com> wrote:
>
> not an advisable thing to do but you could modify your /etc/nsswitch.conf file - the sendmailvars parameter to nis
> instead of files make sure you list nis in the hosts lookup too.
>
>
> good luck,
> Shobhit.
---------------------------------------------------
Get free personalized email at http://www.iname.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:37 CDT