From owner-freebsd-questions Mon Jun 24 2:11:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from www.kozubik.com (www.kozubik.com [198.78.70.162]) by hub.freebsd.org (Postfix) with ESMTP id 2190837B401 for ; Mon, 24 Jun 2002 02:11:13 -0700 (PDT) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id g5O963k21348; Mon, 24 Jun 2002 02:06:03 -0700 (PDT) (envelope-from john@kozubik.com) Date: Mon, 24 Jun 2002 02:06:03 -0700 (PDT) From: John Kozubik X-Sender: john@www To: Paul Everlund Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Syslog and sendmail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hello, Yes, if you want sendmail turned off, you need only add one entry to /etc/rc.conf, and that is: sendmail_enable="NO" Once you have placed that entry into /etc/rc.conf, run the command `ps auxw | grep sendmail` and if it is running, look at the PID and then run `kill -9 (sendmail PID)` Now you know that sendmail is not running, because `ps auxw | grep sendmail` will not show any sendmail processes running. By killing the running sendmail (if there is indeed one running) you remove the need to reboot to have that new value in /etc/rc.conf apply. On future reboots, sendmail will not start. However, you should continue to get your `periodic` emails. ----- John Kozubik - john@kozubik - http://www.kozubik.com On Mon, 24 Jun 2002, Paul Everlund wrote: > Hi! > > In 4.6 quite much, when it comes to sendmail, has changed. Did > read the handbook, but I unfortunately did not find what I was > looking. (Probably looking in the wrong place.) > > As I do not use any mail from my FreeBSD computer, I did put > sendmail_enable="NONE". But it seems that did prevent me from > getting mail from periodic. In 4.5 I had sendmail_enable="NO" > and it did work. > > Should I change it to sendmail_enable="NO" in 4.6 to recieve > these mails? Without changing anything else, can I be sure > no one can use my server as a relay or sending me mail from > the outside? > > Am a bit confused so I hope someone can help me out! > > Thanks in advance. > > Best regards, > Paul > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message