public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Unable to submit PR
@ 2001-05-16 18:38 Lakshmi Narayanan
  2001-05-16 19:20 ` Rick Macdonald
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lakshmi Narayanan @ 2001-05-16 18:38 UTC (permalink / raw)
  To: gnats-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hi,
 
   Recently I have installed Gnats 
3.113 in Red Hat Linux release 6.2.
And I face the following problems:
 
   1. Running gnatsd says '520 You are not in the 
host access list' error.
   2. I could not submit PR.  The 
PR is stored as a mail with the following
error msg.
   ----- The following addresses had permanent fatal 
errors ----- "| /usr/local/gnats/libexec/gnats/queue-pr 
-q"     (expanded from: bug-q)
 
   ----- Transcript of session follows ----- sh: 
queue-pr not available for sendmail programs 554 "| 
/usr/local/gnats/libexec/gnats/queue-pr -q"... Service 
unavailable
 
   
    Pl. Tell me what settings do I have to 
do.  Your
help is greatly appreciated.
 
    Thanks in advance.
 
LakshmiNarayanan V
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to submit PR
  2001-05-16 18:38 Unable to submit PR Lakshmi Narayanan
@ 2001-05-16 19:20 ` Rick Macdonald
  2001-05-17  1:18 ` Yngve Svendsen
  2001-05-17  2:14 ` Hans-Albert Schneider
  2 siblings, 0 replies; 4+ messages in thread
From: Rick Macdonald @ 2001-05-16 19:20 UTC (permalink / raw)
  To: Lakshmi Narayanan; +Cc: gnats-devel

On Thu, 17 May 2001, Lakshmi Narayanan wrote:

> Hi,
> 
>    Recently I have installed Gnats 3.113 in Red Hat Linux release 6.2.
> And I face the following problems:
> 
>    1. Running gnatsd says '520 You are not in the host access list' error.
>    2. I could not submit PR.  The PR is stored as a mail with the following
> error msg.
>    ----- The following addresses had permanent fatal errors -----
> "| /usr/local/gnats/libexec/gnats/queue-pr -q"
>     (expanded from: bug-q)
> 
>    ----- Transcript of session follows -----
> sh: queue-pr not available for sendmail programs
> 554 "| /usr/local/gnats/libexec/gnats/queue-pr -q"... Service unavailable

This is a sendmail security feature, but I've forgotten the name of the
program/config where you have to "register" queue-pr so that sendmail will
allow it to be executed. The name of this program usually appears in the
error message, but it doesn't seem to be in yours. I think it's 3 letters.
Hopefully somebody will jump in with the name...

...RickM...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to submit PR
  2001-05-16 18:38 Unable to submit PR Lakshmi Narayanan
  2001-05-16 19:20 ` Rick Macdonald
@ 2001-05-17  1:18 ` Yngve Svendsen
  2001-05-17  2:14 ` Hans-Albert Schneider
  2 siblings, 0 replies; 4+ messages in thread
From: Yngve Svendsen @ 2001-05-17  1:18 UTC (permalink / raw)
  To: Lakshmi Narayanan, gnats-devel

At 10:38 17.05.2001 +0900, Lakshmi Narayanan wrote:
>Hi,
>
>    Recently I have installed Gnats 3.113 in Red Hat Linux release 6.2.
>And I face the following problems:
>
>    1. Running gnatsd says '520 You are not in the host access list' error.
>    2. I could not submit PR.  The PR is stored as a mail with the following
>error msg.
>    ----- The following addresses had permanent fatal errors -----
>"| /usr/local/gnats/libexec/gnats/queue-pr -q"
>     (expanded from: bug-q)
>
>    ----- Transcript of session follows -----
>sh: queue-pr not available for sendmail programs
>554 "| /usr/local/gnats/libexec/gnats/queue-pr -q"... Service unavailable

You have a secured sendmail installation, and in order for sendmail to 
invoke a program from a mail alias, you need to tell sendmail that the 
program is safe. This is done by symbolically linking from the directory 
/etc/smrsh to the program you want to have sendmail start. Do as follows if 
your sendmail and GNATS installations are fairly standard:

cd /etc
mkdir smrsh (if the smrsh dir isn't already there)
cd smrsh
Then make a symbolic link "queue-pr" from the smrsh dir to the queue-pr 
program:
ln -s /path to/queue-pr queue-pr

That should do it.

Yngve Svendsen
IS Engineer
Clustra AS, Trondheim, Norway
yngve.svendsen@clustra.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to submit PR
  2001-05-16 18:38 Unable to submit PR Lakshmi Narayanan
  2001-05-16 19:20 ` Rick Macdonald
  2001-05-17  1:18 ` Yngve Svendsen
@ 2001-05-17  2:14 ` Hans-Albert Schneider
  2 siblings, 0 replies; 4+ messages in thread
From: Hans-Albert Schneider @ 2001-05-17  2:14 UTC (permalink / raw)
  To: Lakshmi Narayanan; +Cc: gnats-devel

>>>>> "LN" == Lakshmi Narayanan <narayanan@simplex-tech.co.jp> writes:

    LN> Hi, Recently I have installed Gnats 3.113 in Red Hat
    LN> Linux release 6.2.  And I face the following problems:

    LN>    1. Running gnatsd says '520 You are not in the host
    LN> access list' error.

gnatsd looks in a file named gnatsd.access to check which hosts
are allowed access.  As your gnats installation seems to be in
/usr/local/gnats/..., it must be somewhere below that directory
(my first guess is /usr/local/gnats/etc/gnatsd.access).  The
format is explained in the file.

If the message appears when starting gnatsd from the command
line, this probably means that localhost (IP 127.0.0.1) is not
listed in that file.  Unless you explicitely use localhost as
your gnats server, you can ignore that message.  Explicitely
having localhost as the gnats server is, in general, not what you
want, as then no other host can access the gnatsd.

I am starting gnatsd with an entry like this in /etc/inetd.conf:

support    stream  tcp     nowait  gnats   /usr/local/gnats/libexec/gnats/gnatsd gnatsd

Make sure that the first field (in this example: "support") is a
known port, i.e., /etc/services (or the corresponding NIS map)
should map it to a port number.  the fifth field ("gnats") is the
user id under which the gnatsd should be running.

Note that this is not under the protection of TCP wrapper or
something similar, as gnatsd has got its own access control
mechanism (namely the gnatsd.access file).


Your second problem has already been competently answered, I
think (at least, smrsh is what I would think of, too).


Hans-Albert

-- 
Hans-Albert Schneider		<Hans-Albert.Schneider@mchp.siemens.de>
Siemens AG			phone:	(+49) 89 636 45445
Corporate Technology		fax:	(+49) 89 636 42284
Munich, Germany
 -- To get my public PGP key, send me a mail with subject "send key" --

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-17  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16 18:38 Unable to submit PR Lakshmi Narayanan
2001-05-16 19:20 ` Rick Macdonald
2001-05-17  1:18 ` Yngve Svendsen
2001-05-17  2:14 ` Hans-Albert Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).