Date: Sun, 24 Sep 2006 15:16:03 -0700 From: Pete Slagle <freebsd-questions@voidcaptain.com> To: Rob Gabaree <lists@rawb.net> Cc: questions@freebsd.org Subject: Re: Do I need to completely disable sendmail? Message-ID: <451703A3.6030000@voidcaptain.com> In-Reply-To: <E6429B1C-2FD8-4B84-95D5-04A3D492C970@rawb.net> References: <E6429B1C-2FD8-4B84-95D5-04A3D492C970@rawb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Rob Gabaree wrote: > I have a remote server that I don't plan on using for email as I have > another server to handle that. My question is.. is it a bad idea to > _completely_ disable sendmail on that machine? Yes. You probably want to allow the server to send you administrative mail that it generates itself, but not let it receive any from outside. To do that: (1) Use the default settings for sendmail by not specifying any . Delete all lines containing "sendmail" from /etc/rc.conf. This will allow outgoing mail only. (2) Put a line in /etc/aliases that defines who receives root's e-mail for the server. Point it to your actual e-mail address. For example, root: my_addy@example.com (3) Reboot. That's it. Now the box can send you it's status information, but it won't listen for any incoming mail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?451703A3.6030000>