public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
From: Andrew.Gray@platypuspartners.com
To: pdm-gnats@zamazal.org,gnats-prs@gnu.org,bug-gnats@gnu.org
Subject: gnats/355: Mail agent output is forwarded by gnatsd
Date: Mon, 04 Mar 2002 01:24:00 -0000	[thread overview]
Message-ID: <E16hog0-0005FG-00@fencepost.gnu.org> (raw)

>Number:         355
>Category:       gnats
>Synopsis:       Mail agent output is forwarded by gnatsd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 04 04:22:36 -0500 2002
>Originator:     Andrew Gray
>Release:        3.999.1
>Organization:

>Environment:
Intel, Linux 2.4.2-2
>Description:
If the mail agent used to send notification of edits to a
PR generates output then that output is forwarded to the
gnatsd client. This output is not expected by the client.
(For example, Gnatsweb returns to the user a page headed "Error" with the text "Unparseable reply from gnatsd".)
>How-To-Repeat:
Add or edit the following line to the categories file:
test:*Test Category:gnats-admin:userone
Add the following lines to the responsible file:
userone:User number one:<bad email address>
Submit a PR in the test category.
Connect to the gnatsd server using a telnet client and perform any necessary authentication.
Issue the following commands:
repl <pr_number> State
212 Ok.
closed
.
213 Ok, now send the field change reason.
Testing.
.
/home/gnats/dead.letter... Saved message in /home/gnats/dead.letter
210 Ok.
>Fix:
Change the gnats/mail-agent.sh source file to redirect
the standard output of the mail agent to /dev/null:

Index: mail-agent.sh
===================================================================
RCS file: /cvsroot/gnats/gnats/gnats/mail-agent.sh,v
retrieving revision 1.1
diff -u -p -r1.1 mail-agent.sh
--- mail-agent.sh       22 Dec 1999 04:44:38 -0000      1.1
+++ mail-agent.sh       4 Mar 2002 09:21:03 -0000
@@ -25,4 +25,4 @@

 MAIL_AGENT="xDEFAULT_MAIL_AGENTx"

-exec $MAIL_AGENT $@
+exec $MAIL_AGENT $@ > /dev/null

>Unformatted:
 

_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


                 reply	other threads:[~2002-03-04  9:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16hog0-0005FG-00@fencepost.gnu.org \
    --to=andrew.gray@platypuspartners.com \
    --cc=bug-gnats@gnu.org \
    --cc=gnats-prs@gnu.org \
    --cc=pdm-gnats@zamazal.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).