Re: RE: sendmail_enable=NO ignored in 4.7+?
On Wed, Mar 05, 2003 at 10:03:35AM -0500, Scott Renna wrote: Hello all, I had a question in regards to this post about sendmail. I noticed the same problem on my system: How come this is so hard. Just do a grep for sendmail in /etc/defaults/rc.conf and you get: 2$ grep sendmail /etc/defaults/rc.conf mta_start_script=/etc/rc.sendmail # Settings for /etc/rc.sendmail: sendmail_enable=YES # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server) sendmail_submit_enable=YES# Start a localhost-only MTA for mail submission sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost sendmail_outbound_enable=YES # Dequeue stuck mail (YES/NO). sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound only) sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m # Flags for sendmail_msp_queue daemon. And the read the lines about sendmail_enable! Due to my less than perfect memory I can't pinpoint exactly when, but after upgrading my 4.x-system it seems like the sendmail_enable=NO in /etc/rc.conf is being ignored and sendmail gets started anyway. Is there any reason why even if you put NO sendmail still starts up? It seems kind of weird that it would start. Scott Renna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stacey Roberts Sent: Tuesday, March 04, 2003 2:11 AM To: Joachim Strömbergson Cc: stable Subject: Re: sendmail_enable=NO ignored in 4.7+? Hello, On Tue, 2003-03-04 at 07:06, Joachim Strömbergson wrote: Aloha! Due to my less than perfect memory I can't pinpoint exactly when, but after upgrading my 4.x-system it seems like the sendmail_enable=NO in /etc/rc.conf is being ignored and sendmail gets started anyway. AFAIK, this happened after upgrading from 4.6 to 4.7. I'm currently at 4.8-RC and the same behaviour is present. Checking processes after boot I see: root 106 0,0 0,3 3196 1788 ?? Ss 11:04pm 0:00,97 sendmail: accepting connections (sendmail) smmsp109 0,0 0,3 3076 1404 ?? Is 11:04pm 0:00,01 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail) What have I missed? Why is the setting in rc.conf being ignored. Where/what is starting sendmail? To completely disable sendmail on startup, use: sendmail_enable=NONE Regards, Stacey Any pointers and help greatly appreciated. -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message -- Gunnar Flygt, Postmaster SR ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
On Tue, 3 Jan 2006, Vivek Khera wrote: On Dec 31, 2005, at 6:56 PM, security wrote: And the rc.sendmail(8) under 5.4 stable says that NONE is deprecated and will be removed in a future release. According to the man page, It says that in 6.0 also, so it will probably be at least until 7.0 that it continues to work. Personally, I think having to set a bazillion variables to turn off sendmail in rc.conf and periodic.conf is just a pain (and probably a Strongly seconded. There should be one knob to disable the entire thing. SENDMAIL_ENABLE=NO should disable *everything* without touching any other knobs. wrong design as it totally violates POLA), but at least it is just a cut/paste everytime I set up a new server. -- DE ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
Daniel Eischen wrote: On Tue, 3 Jan 2006, Vivek Khera wrote: On Dec 31, 2005, at 6:56 PM, security wrote: And the rc.sendmail(8) under 5.4 stable says that NONE is deprecated and will be removed in a future release. According to the man page, It says that in 6.0 also, so it will probably be at least until 7.0 that it continues to work. Personally, I think having to set a bazillion variables to turn off sendmail in rc.conf and periodic.conf is just a pain (and probably a Strongly seconded. There should be one knob to disable the entire thing. SENDMAIL_ENABLE=NO should disable *everything* without touching any other knobs. First, rc.conf and periodic.conf are totally separate, so having just one knob for both isn't practical now, but might be an interesting project down the road. Second, IIRC the first implementation of sendmail_enable=no did actually disable all of sendmail, but since people could not send mail locally that turned out to be a POLA violation itself, so the current two-stage system was developed. It's impossible to make everyone happy here, so I think the current system is a reasonable compromise. Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
On Tue, 3 Jan 2006, Doug Barton wrote: First, rc.conf and periodic.conf are totally separate, so having just one knob for both isn't practical now, but might be an interesting project down the road. Second, IIRC the first implementation of sendmail_enable=no did actually disable all of sendmail, but since people could not send mail locally that turned out to be a POLA violation itself, so the current two-stage system was developed. It's impossible to make everyone happy here, so I think the current system is a reasonable compromise. No, you can still have *one* overriding knob to turn off everything. If folks want to enable/disable different parts of sendmail, they can do that with the other knobs. POLA says the one overriding sendmail knob should be sendmail_enable. -- DE ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail_enable=NO
Isn't this supposed to tell FreeBSD not to start up the sendmail daemon processes? It doesn't on my system, just confirmed this via a new system build. FYI. FreeBSD-6.0 _F ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
Forrest Aldrich wrote: Isn't this supposed to tell FreeBSD not to start up the sendmail daemon processes? It doesn't on my system, just confirmed this via a new system build. FYI. FreeBSD-6.0 Try sendmail_enable=NONE and see what happens. Using just NO will still start a sendmail process, so you can send mail (but it won't start an SMTP server). NONE doesn't start any sendmail processes at all. -jav ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: sendmail_enable=NO
On Saturday, December 31, 2005 10:38 PM when we last met our heroes, [EMAIL PROTECTED] was heard to say: Isn't this supposed to tell FreeBSD not to start up the sendmail daemon processes? You want NONE. This isn't documented in the defaults file, but is apparent when you look at the startup script. I've a feeling it's documented somewhere else, but can't remember right now. -- Rob | Oh my God! They killed init! You bastards! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
I've a feeling it's documented somewhere else, but can't remember right now. The rc.conf(5) man page points to rc.sendmail(8) man page. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable=NO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Dec 31, 2005 at 10:46:37PM +, Rob MacGregor wrote: On Saturday, December 31, 2005 10:38 PM when we last met our heroes, [EMAIL PROTECTED] was heard to say: Isn't this supposed to tell FreeBSD not to start up the sendmail daemon processes? You want NONE. This isn't documented in the defaults file, but is apparent when you look at the startup script. I've a feeling it's documented somewhere else, but can't remember right now. I'm almost sure it was somewhere in /usr/src/UPDATING, but I just did a quick search (through CURRENT's UPDATING) and don't see it. It was quite awhile ago though. - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Oh, look at my poor neck... all bare and tender and exposed. All that blood, just pumping away. Giles: Oh, please. Spike: Giles, make her stop! Giles: If those two don't kill each other, I might lend a hand. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDtxHB+lTVdes0Z9YRAp1UAKCvu7pMv4x7eqqOdu4GdLYfIh7F8wCePdpE 27jndz4zVHkbT/heLBJYUmY= =dVxU -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail_enable NONE
David O'Brien wrote: | When was the last time you used jot(1)? Do you also want it removed from | your installed system? Speaking for myself only, I use it nearly every day and I certainly don't want to see suggestions of removing it. Greg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message