Subject: Re: RFC: mailwrapper argument handling reversed
To: None <tech-userlevel@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-userlevel
Date: 02/15/2003 22:39:35
--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
it has been brought to my attention that the passing of additional arguments
from mailer.conf wasn't documented up to now. Here's my quick try to add
this:
Index: mailer.conf.5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/usr.sbin/mailwrapper/mailer.conf.5,v
retrieving revision 1.9
diff -u -r1.9 mailer.conf.5
--- mailer.conf.5 2002/12/01 11:35:33 1.9
+++ mailer.conf.5 2003/02/15 21:37:00
@@ -50,7 +50,15 @@
.Xr mailq 1
would be set up this way.)
The second member of each pair is the name of the program to
-actually execute when the first name is invoked. The file may also
+actually execute when the first name is invoked.
+.Pp
+If more words follow on the same line, they are inserted as arguments
+after the name the program is called as, and before the arguments passed t=
o=20
+.Xr mailwrapper 8
+from the command line. This is useful to add debugging, or to
+add private configuration options needed by the sendmail replacement.
+.Pp
+The file may also
contain comments, denoted by a # mark in the first column of any line.
.Sh FILES
/etc/mailer.conf
-is
--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+TrOWPCRcZ/VMtk4RAuG0AJ4/+MQkMc6jzaKuBB8EoFmNOt5HAACfY7k/
WKTvMTpnrLEGTjbDBwA7SJ4=
=634C
-----END PGP SIGNATURE-----
--Y5rl02BVI9TCfPar--