Internet/Mail Connectivity

Seth Dimbert s.dimbert at fhmr.com
Tue May 7 20:42:22 CDT 2002


Duane,

I changed the file you spoke of (/etc/mail/sendmail.mc) then ran the mv
command it suggests. Now, how do I restart sendmail?

-SD

-----Original Message-----
From: Duane Attaway [mailto:dattaway at attaway.yi.org]
Sent: Tuesday, May 07, 2002 12:29 PM
To: Seth Dimbert
Subject: Re: Internet/Mail Connectivity

On Tue, 7 May 2002, Seth Dimbert wrote:

> I've asked questions like this one before, but never gotten a solid
answer.
> I installed RH7.2 on an old PC here at the office and I now use it as an
> IntraNet web server. It runs great. But, I can't get email off of it,
either

I'm using redhat 7.2 and had the same problems.  For the longest time, I
thought RR was blocking port 25 so I couldn't send mail.  Turns out this
seems to be another one of redhat's latest annoying configurations in
their releases.

You want to change /etc/mail/sendmail.mc and look for the comments
paragraph that states:

dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

and put the "dnl" in front of that last line like I did.  Why they put it
there is to lobotomize any chances of sending mail outside your machine.

Also, for the last line I changed my host to attaway.yi.org with the
following:

Cwattaway.yi.org

Be sure to enable the features that stop spam, such as the blacklists,
etc... just remove the "dnl" in front of them.

Once you are done editing this text file, follow the instructions at the
top to run the m4 macro processor on it.  Restart sendmail and port 25
will open up for business.

IF THAT DOESN'T GET IT, I remember a few other roadblocks that were also
kindly introduced in 7.1.  Iptables was kind enough to deny everything.
/etc/sysconfig/sendmail is a new file you might have to configure.

I guess this is why redhat is getting a sore reputation lately.  I tried
out the latest slackware a month ago...  Damn it looks nice.  All the
desktop features, no show stopping bugs, and a simple setup after the easy
installation.

--
Why drive a car when you can ride a bike?
http://attaway.yi.org                   http://counter.li.org   user #142150




More information about the Kclug mailing list