Go to the first, previous, next, last section, table of contents.


Handling incoming traffic

The program queue-pr handles traffic coming into GNATS. queue-pr queues incoming Problem Reports in the directory `GNATS_ROOT/gnats-queue', and then periodically (via cron) passes them on to file-pr to be filed in the GNATS database. See section Installing GNATS.

The usage for queue-pr is as follows:

queue-pr [ -q | --queue ] [ -r | --run ]
         [ -f filename | --file=filename ]
         [ -d directory | --directory=directory ]

One of `-q' or `-r' (or their longer-named counterparts) must be present upon each call to queue-pr. These options provide different functions, as described below.

-q
--queue
Accepts standard input as an incoming mail message, placing this message in an incrementally numbered file in the `gnats-queue' directory under GNATS_ROOT (see section Where GNATS lives).
-r
--run
Redirects files in the `gnats-queue' directory into the program file-pr one by one.
-f filename
--file=filename
Used with `-q' (or `--queue'), accepts the file denoted by filename as input rather than reading from standard input.
-d directory
--directory=directory
Resets the default directory value, which is by default `GNATS_ROOT/gnats-queue'. When `-d directory' is used in conjunction with the `-q' (or `--queue') option, queue-pr files incoming messages into directory rather than the `gnats-queue' directory. When `-d directory' is used in conjunction with the `-r' (or `--run') option, queue-pr redirects into file-pr files from directory rather than from the `gnats-queue' directory.


Go to the first, previous, next, last section, table of contents.