Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 16:05:58 +0100
From:      Gunnar Flygt <gunnar.flygt@sr.se>
To:        Scott Renna <srenna@d-a-s.com>
Cc:        stacey@vickiandstacey.com, "'Joachim =?iso-8859-1?Q?Str=F6mbergson'?=" <watchman@ludd.luth.se>, "'stable'" <stable@FreeBSD.ORG>
Subject:   Re: RE: sendmail_enable="NO" ignored in 4.7+?
Message-ID:  <20030305150558.GA58739@sr.se>
In-Reply-To: <000501c2e328$691eac10$1802a8c0@das.com>
References:  <1046761873.20729.223.camel@localhost> <000501c2e328$691eac10$1802a8c0@das.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: owner-freebsd-stable@FreeBSD.ORG
> [mailto:owner-freebsd-stable@FreeBSD.ORG] 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)
> > smmsp    109  0,0  0,3  3076 1404  ??  Is   11:04pm   0:00,01
> sendmail:
> > Queue runner@00: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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Gunnar Flygt, Postmaster SR

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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