Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 12:26:38 -0400 (EDT)
From:      "David A. Panariti" <davep@meduseld.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Request for micro patch to /etc/defaults/rc.conf
Message-ID:  <20020812.122638.115901950.davep@meduseld.net>

next in thread | raw e-mail | index | archive | help
----Next_Part(Mon_Aug_12_12:26:38_2002_563)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In /etc/defaults/rc.conf, the variants of sendmail are started up with
differing -L <log-label> options for easy log-file identification.

However, both sendmail_submit and regular sendmail use -L sm-mta.
This reduces the usefulness of -L, since two variants use the same
label.

I know I can change this in my /etc/rc.conf, but I believe this is
universally useful. (If not, I feel it is at least not harmful), and
removes the headache of watching sendmail_submit_flags for changes.

In the patch, I use `sm-lmta' for the local mta label.  However, any
unique, informative label would be useful. `sm-submit' is another
obvious choice.

I'm cvsupping the security branch, so if this has been changed in
stable please excuse the interruption.

thanks,

davep


----Next_Part(Mon_Aug_12_12:26:38_2002_563)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="rc.conf.diff"

--- rc.conf.orig2	Mon Aug 12 12:03:28 2002
+++ rc.conf	Mon Aug 12 12:03:53 2002
@@ -329,7 +329,7 @@
 			# 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_submit_flags="-L sm-lmta -bd -q30m -ODaemonPortOptions=Addr=localhost"
 				# Flags for localhost-only MTA
 sendmail_outbound_enable="YES"	# Dequeue stuck mail (YES/NO).
 sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only)

----Next_Part(Mon_Aug_12_12:26:38_2002_563)----

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?20020812.122638.115901950.davep>