Subject: misc/33701: mailer.conf(5) lies
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2006.salmi.ch>
List: netbsd-bugs
Date: 06/11/2006 17:15:00
>Number:         33701
>Category:       misc
>Synopsis:       mailer.conf(5) lies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 11 17:15:00 +0000 2006
>Originator:     Jukka Salmi
>Release:        NetBSD 3.99.21
>Environment:
System: NetBSD moray.salmi.ch 3.99.21 NetBSD 3.99.21 (MORAY.APM) #0: Sun Jun 11 18:21:07 CEST 2006 build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/MORAY.APM i386
Architecture: i386
Machine: i386
>Description:
Sine revision 1.13 src/etc/mailer.conf contains the following comment:

 This file configures /usr/sbin/mailwrapper, which selects the MTA
 (Mail Transport Agent) that is is invoked when programs like
 /usr/libexec/postfix/sendmail are executed.

However, /usr/libexec/postfix/sendmail does not even read
/etc/mailer.conf, but /usr/sbin/sendmail is a symlink to
/usr/sbin/mailwrapper which does - thus this comment should be reverted.
>How-To-Repeat:
n/a
>Fix:
Index: etc/mailer.conf
===================================================================
RCS file: /cvsroot/src/etc/mailer.conf,v
retrieving revision 1.15
diff -u -p -r1.15 mailer.conf
--- etc/mailer.conf	4 Jun 2006 05:22:32 -0000	1.15
+++ etc/mailer.conf	11 Jun 2006 17:04:06 -0000
@@ -2,7 +2,7 @@
 #
 # This file configures /usr/sbin/mailwrapper, which selects the MTA
 # (Mail Transport Agent) that is is invoked when programs like
-# /usr/libexec/postfix/sendmail are executed.
+# /usr/sbin/sendmail are executed.
 # 
 # See mailwrapper(8) and mailer.conf(5) for an explanation of how this works.
 # See also rc.conf(5) and afterboot(8) for more details on setting up an MTA.