Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 1997 13:50:17 -0500
From:      Jonathan Lemon <jlemon@americantv.com>
To:        balue@apolloi.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question:
Message-ID:  <19970821135017.17289@right.PCS>
In-Reply-To: <33FC8377.559E@apolloi.com>; from balue on Aug 08, 1997 at 11:05:43AM -0700
References:  <33FC8377.559E@apolloi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970821135017.17289>