Node:Aliases, Next:Installing the daemon, Previous:Setting up periodic jobs, Up:Installation
The following mail aliases must be added on the machine where the
GNATS server is installed. The instructions below are for Sendmail
or Sendmail-like mail systems. If these instructions don't fit your
system, particularly if you do not have an
aliases file, ask your
mail administrator for advice.
The following aliases should be placed in the file
/etc/aliases. Yoy may need
root access to add these
queue-pr -q. For example, if Problem Reports coming to your site are to arrive at the address
firstname.lastname@example.org, create an alias to the effect of:
bugs: "| exec-prefix/libexec/gnats/queue-pr -q"
This places incoming Problem Reports in
gnats-queue directory of your database. Remember to
fill in the full path of the
queue-pr command as appropriate for
bug-q: "| exec-prefix/libexec/gnats/queue-pr -q" bug-log: /some/path/bugs.log bugs: bug-q, bug-log
This configuration archives incoming Problem Reports in the file
bug.log, and also feeds them to the program
bug.log needs to be world-writable, and should be
pruned regularly; see GNATS Administration.) In
order for the log file to protect fully against data loss in case a disk
runs full, try to place it on a different disk volume than the
query-pr: "| exec-prefix/libexec/gnats/mail-query"
mail-query program uses
--restricted to search on the
database, and by default only searches for PRs that aren't closed
(see Querying the database).