[NTLUG:Discuss] basic sendmail question/help
m m
llliiilll at hotmail.com
Tue Sep 7 18:21:30 CDT 1999
Hi MadHat:
>m m wrote:
> >
> > Hi All:
> >
> > Could anyone help me to set up sendmail?
> > my question is pretty simple:
> > I have two Linux box connected.
> > A) hostname: aaa.my.com ip: 192.168.0.1
> > B) hostname: bbb.my.com ip: 192.168.0.2
> > I set gateway ip 192.168.0.1 (aaa box)
> > it is ok on telnet, Apache server...
> > For configuring sendmail, I
> > 1. add "smtp stream ...." in the etc/inetd on both boxes.
>
>are you running sendmail from inetd or trying to run smtpd from inetd,
>these are 2 completely different programs. I usually run Sendmail as a
>standalone daemon (and depending on the distro comes set up that way),
>but...
this is what I added in inetd.conf on both boxes:
"smtp stream tcp nowait root /usr/bin/tcpd sendmail -v"
I do not know which way i did, I just follow the book.
would you tell me the difference between two different
programs?
I think that I do not care which way to, as long as it works,
either one is ok to me.
>
> > 2. add aaa.my.com bbb.my.com to Cwlocalhost in etc/sendmail.cf
>
>to which box? If you did this on both boxes, it will be dilivered
>locally. (I am assuming that you didn't just add those 2 to the end of
>localhost).
unfortunately, I did. i just add those 2 to the end of localhost, of course,
there space in between. I have try add on both host names on both boxes or
aaa.my.com on A box, bbb.my.com on B box)
>
> > 3. add aaa.my.com to DM in etc/sendmail.cf
>
>This is masquerading and wouldn't need to be done, unless aaa.my.com is
>not the name of the box. I am not sure if you did this to both boxes or
>not...
again, I did lik I put the host name on buth boxes. likeaaa.my.com on A box,
bbb.my.com on B box
> > 4. add aaa.my.com to DS in etc/sendmail.cf
> > (actually it does not work whether I do 2. 3. 4. or not)
> >
> > but I can not send mail from
> > xxx at aaa.my.com to yyy at bbb.my.com
> > How do I achieve it?
> >
> > Any suggestion?
>
>More details might be needed. What distro? Which files on which boxes
>were edited?..
yeh, I should provide more detail.
The only 2 files I have edited are /etc/sendmail.cf and /etc/inetd.conf, I
did the same on bothe machines.
I think after installing the Linux (RH6.0), almost basic settings was
done/configurated automatically. since the sendmail.cf also been generated,
I just ignore the m4 part, think edit sendmail.cf will do
basic work. am i wrong?
>
>--
>MadHat
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
More information about the Discuss
mailing list