Node:send-pr.conf file, Next:Admin files, Previous:Other config files, Up:Management
send-pr.conf
fileThis file contains some default values that need to be known in order
for send-pr
to work properly. This file needs to be copied to
all hosts where send-pr
will be used.
If GNATS was built with default options, the send-pr.conf
file should be placed in the /usr/local/etc/gnats
directory.
However, if the option --sysconfdir
was used during building of
GNATS, the send-pr.conf
file resides at the location
given to this option.
Entries in this file are on the format
variable=value
The valid variables are:
SUBMITTER
send-pr
is invoked.
DEFAULT_RELEASE
dbconfig
file.
DEFAULT_ORGANIZATION
dbconfig
file.
MAILPROG
send-pr
can be set up
to submit Problem Reports by e-mail. This is done by setting the
MAILPROG
variable to point to a mailer such as Sendmail. If
MAILPROG
needs to have the address that the mail is being sent
to specified on the command line, it should be specified here as well
(for example, MAILPROG=''mail bugs@foo.bar.com''
should work).
If Sendmail is used, use MAILPROG=''/usr/lib/sendmail -oi
-t''
. See also MAILADDR
and TEMPLATE
below.
MAILADDR
TEMPLATE
send-pr
communicates directly over the network
with the GNATS server to determine what fields to include in a
correctly formatted Problem Report so that it can present the user
with a template. If the GNATS server can't be reached directly
over the network, a template must be provided. Set the
TEMPLATE
variable to point to a template file created on the
GNATS server by using the command send-pr -p
.
See Installing the user tools.