🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3780

Re: Telnet to sendmail

#3780
From: Jim Levie
Date: Fri, 08 Mar 2002 04:59
24 lines
2318 bytes
On Thu, 07 Mar 2002 20:44:37 -0600, Gary Wan wrote:

> How to edit sendmail.cf in order other machine can telnet port 25 of the
> sendmail machine?

Are we talking about RedHat 7.1 or 7.2? If so you need to modify
/etc/mail/sendmail.mc and comment out or remove the line that reads:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

Then you need to build a new sendmail.cf with:

# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

and restart sendmail (/etc/init.d/sendmail restart). Also note that for
either of those versions of Redhat the default installation will run a
firewall that will prevent access to the SMTP port. You can modify the
firewall rules to allow inbound SMTP or disable the firewall completely with:

# /etc/init.d/ipchains stop
# chkconfig --level 2345 ipchains off

-- 
The instructions said to use Windows 98 or better, so I installed RedHat.
Technical Details
Message-ID: <pan.2002.03.07.22.59.22.589127.32188@entrophy-free.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeeds-atl2!e3500-atl2.usenetserver.com.POSTED!53ab2750!not-for-mail
References: <a698jd$5b711@imsp212.netvigator.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f798d,4120568ab311539b
X-Google-Attributes: gidf798d,public
X-Google-Thread: fe2cf,4120568ab311539b
X-Google-Attributes: gidfe2cf,public
X-Google-Thread: f9382,4120568ab311539b
X-Google-Attributes: gidf9382,public
X-Google-Thread: 10de99,4120568ab311539b
X-Google-Attributes: gid10de99,public
X-Google-ArrivalTime: 2002-03-07 20:59:24 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeeds-atl2!e3500-atl2.usenetserver.com.POSTED!53ab2750!not-for-mail
From: Jim Levie <jim@entrophy-free.net>
Subject: Re: Telnet to sendmail
Newsgroups: comp.mail.sendmail,comp.os.linux,hk.comp.os.linux,linux.redhat
Followup-To: linux.redhat
Message-ID: <pan.2002.03.07.22.59.22.589127.32188@entrophy-free.net>
References: <a698jd$5b711@imsp212.netvigator.com>
User-Agent: Pan/0.11.2 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Gary Wan" <shung-wai.wan@pccw.com>
Lines: 24
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Thu, 07 Mar 2002 23:56:49 EST
Organization: Bellsouth.Net
Date: Thu, 07 Mar 2002 22:59:22 -0600