From owner-freebsd-questions Fri Aug 3 12:54:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 13B2237B405 for ; Fri, 3 Aug 2001 12:54:27 -0700 (PDT) (envelope-from dfrazier@magpage.com) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.3/8.11.3) with ESMTP id f73JqfF98194; Fri, 3 Aug 2001 15:52:41 -0400 (EDT) Message-ID: <3B6B00D2.5080900@magpage.com> Date: Fri, 03 Aug 2001 15:51:46 -0400 From: Daniel Frazier User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.2) Gecko/20010702 X-Accept-Language: en-us MIME-Version: 1.0 To: Erin Fortenberry Cc: "'Fred Condo'" , "'questions@freebsd.org'" Subject: Re: sendmail References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RRT-Status: UNKNOWN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Erin Fortenberry wrote: > My goal is for sendmail to not listen to anyports, only on lo0 if needed. > This machine is a web server and I keep getting people attaching to ports 25 > to try and relay email. I could just block the port, but I would think > sendmail could be configured to shut off the port itself. > > ok, add this line to /etc/rc.conf: sendmail_enable="NO" and add this line to roots crontab: 0,30 * * * * /usr/sbin/sendmail -q this will effectivly disable the sendmail daemon(making port 25 unreachable) and cron will fire up sendmail every 30 minutes to process the queue. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message