From owner-freebsd-questions Thu Aug 21 11:49:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA11996 for questions-outgoing; Thu, 21 Aug 1997 11:49:09 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA11990 for ; Thu, 21 Aug 1997 11:49:03 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id OAA25992; Thu, 21 Aug 1997 14:08:04 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id NAA27317; Thu, 21 Aug 1997 13:50:17 -0500 Message-ID: <19970821135017.17289@right.PCS> Date: Thu, 21 Aug 1997 13:50:17 -0500 From: Jonathan Lemon To: balue@apolloi.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question: References: <33FC8377.559E@apolloi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <33FC8377.559E@apolloi.com>; from balue on Aug 08, 1997 at 11:05:43AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Aug 08, 1997 at 11:05:43AM -0700, balue wrote: > I am able to telnet into port 25, thus enabling me to view > all the subscribers in my list. How do I disable the ability > to telnet into port 25? The only way to disable the ability to telnet to port 25 is to turn off your mailer. I'm assuming that's not want you want - you just want to disallow the 'expn' command for sendmail, correct? In that case, add the following line to your .mc file: define(`confPRIVACY_FLAGS', `authwarnings,noexpn') Then rebuild and re-install your sendmail.cf file. This will disable the sendmail 'EXPN' command. Aternatively, if you prefer to hack your sendmail.cf file directly, add: O PrivacyOptions=authwarnings,noexpn -- Jonathan